Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/gpio/
Dgpiolib-cdev.c243 struct gpiohandle_data ghd; in linehandle_ioctl_unlocked() local
260 memset(&ghd, 0, sizeof(ghd)); in linehandle_ioctl_unlocked()
262 ghd.values[i] = test_bit(i, vals); in linehandle_ioctl_unlocked()
264 if (copy_to_user(ip, &ghd, sizeof(ghd))) in linehandle_ioctl_unlocked()
276 if (copy_from_user(&ghd, ip, sizeof(ghd))) in linehandle_ioctl_unlocked()
281 __assign_bit(i, vals, ghd.values[i]); in linehandle_ioctl_unlocked()
1965 struct gpiohandle_data ghd; in lineevent_ioctl_unlocked() local
1977 memset(&ghd, 0, sizeof(ghd)); in lineevent_ioctl_unlocked()
1982 ghd.values[0] = val; in lineevent_ioctl_unlocked()
1984 if (copy_to_user(ip, &ghd, sizeof(ghd))) in lineevent_ioctl_unlocked()