Searched refs:ghd (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/drivers/gpio/ |
D | gpiolib-cdev.c | 206 struct gpiohandle_data ghd; in linehandle_ioctl() local 225 memset(&ghd, 0, sizeof(ghd)); in linehandle_ioctl() 227 ghd.values[i] = test_bit(i, vals); in linehandle_ioctl() 229 if (copy_to_user(ip, &ghd, sizeof(ghd))) in linehandle_ioctl() 241 if (copy_from_user(&ghd, ip, sizeof(ghd))) in linehandle_ioctl() 246 __assign_bit(i, vals, ghd.values[i]); in linehandle_ioctl() 2047 struct gpiohandle_data ghd; in lineevent_ioctl() local 2061 memset(&ghd, 0, sizeof(ghd)); in lineevent_ioctl() 2066 ghd.values[0] = val; in lineevent_ioctl() 2068 if (copy_to_user(ip, &ghd, sizeof(ghd))) in lineevent_ioctl()
|