Home
last modified time | relevance | path

Searched refs:ghd (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpiolib-cdev.c249 struct gpiohandle_data ghd; in linehandle_ioctl_unlocked() local
266 memset(&ghd, 0, sizeof(ghd)); in linehandle_ioctl_unlocked()
268 ghd.values[i] = test_bit(i, vals); in linehandle_ioctl_unlocked()
270 if (copy_to_user(ip, &ghd, sizeof(ghd))) in linehandle_ioctl_unlocked()
282 if (copy_from_user(&ghd, ip, sizeof(ghd))) in linehandle_ioctl_unlocked()
287 __assign_bit(i, vals, ghd.values[i]); in linehandle_ioctl_unlocked()
2145 struct gpiohandle_data ghd; in lineevent_ioctl_unlocked() local
2157 memset(&ghd, 0, sizeof(ghd)); in lineevent_ioctl_unlocked()
2162 ghd.values[0] = val; in lineevent_ioctl_unlocked()
2164 if (copy_to_user(ip, &ghd, sizeof(ghd))) in lineevent_ioctl_unlocked()