Home
last modified time | relevance | path

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

/drivers/gpio/
Dgpiolib-cdev.c198 struct gpiohandle_data ghd; in linehandle_ioctl() local
215 memset(&ghd, 0, sizeof(ghd)); in linehandle_ioctl()
217 ghd.values[i] = test_bit(i, vals); in linehandle_ioctl()
219 if (copy_to_user(ip, &ghd, sizeof(ghd))) in linehandle_ioctl()
231 if (copy_from_user(&ghd, ip, sizeof(ghd))) in linehandle_ioctl()
236 __assign_bit(i, vals, ghd.values[i]); in linehandle_ioctl()
1607 struct gpiohandle_data ghd; in lineevent_ioctl() local
1619 memset(&ghd, 0, sizeof(ghd)); in lineevent_ioctl()
1624 ghd.values[0] = val; in lineevent_ioctl()
1626 if (copy_to_user(ip, &ghd, sizeof(ghd))) in lineevent_ioctl()