Home
last modified time | relevance | path

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

/linux/Documentation/userspace-api/gpio/
H A Dchardev.rst60 Get Line Info <gpio-v2-get-lineinfo-ioctl>
61 Watch Line Info <gpio-v2-get-lineinfo-watch-ioctl>
62 Unwatch Line Info <gpio-get-lineinfo-unwatch-ioctl>
63 Read Line Info Changed Events <gpio-v2-lineinfo-changed-read>
H A Dgpio-get-lineinfo-unwatch-ioctl.rst36 This is the reverse of gpio-v2-get-lineinfo-watch-ioctl.rst (v2) and
37 gpio-get-lineinfo-watch-ioctl.rst (v1).
H A Dchardev_v1.rst57 Get Line Info <gpio-get-lineinfo-ioctl>
58 Watch Line Info <gpio-get-lineinfo-watch-ioctl>
59 Unwatch Line Info <gpio-get-lineinfo-unwatch-ioctl>
60 Read Line Info Changed Events <gpio-lineinfo-changed-read>
H A Dgpio-get-lineinfo-watch-ioctl.rst11 gpio-v2-get-lineinfo-watch-ioctl.rst.
59 gpio-lineinfo-changed-read.rst.
H A Dgpio-lineinfo-changed-read.rst11 gpio-v2-lineinfo-changed-read.rst.
50 A line must be watched using gpio-get-lineinfo-watch-ioctl.rst to generate
H A Dgpio-get-lineinfo-ioctl.rst11 gpio-v2-get-lineinfo-ioctl.rst.
H A Dgpio-v2-get-lineinfo-watch-ioctl.rst54 gpio-v2-lineinfo-changed-read.rst.
H A Dgpio-v2-lineinfo-changed-read.rst46 A line must be watched using gpio-v2-get-lineinfo-watch-ioctl.rst to generate
H A Dgpio-get-linehandle-ioctl.rst113 In all cases, the configuration reported by gpio-get-lineinfo-ioctl.rst
H A Dgpio-v2-get-line-ioctl.rst140 In all cases, the configuration reported by gpio-v2-get-lineinfo-ioctl.rst
/linux/drivers/gpio/
H A Dgpiolib-cdev.c2373 struct gpioline_info lineinfo; in lineinfo_get_v1() local
2376 if (copy_from_user(&lineinfo, ip, sizeof(lineinfo))) in lineinfo_get_v1()
2380 desc = gpio_device_get_desc(cdev->gdev, lineinfo.line_offset); in lineinfo_get_v1()
2388 if (test_and_set_bit(lineinfo.line_offset, cdev->watched_lines)) in lineinfo_get_v1()
2393 gpio_v2_line_info_to_v1(&lineinfo_v2, &lineinfo); in lineinfo_get_v1()
2395 if (copy_to_user(ip, &lineinfo, sizeof(lineinfo))) { in lineinfo_get_v1()
2397 clear_bit(lineinfo.line_offset, cdev->watched_lines); in lineinfo_get_v1()
2409 struct gpio_v2_line_info lineinfo; in lineinfo_get() local
2411 if (copy_from_user(&lineinfo, ip, sizeof(lineinfo))) in lineinfo_get()
2414 if (!mem_is_zero(lineinfo.padding, sizeof(lineinfo.padding))) in lineinfo_get()
[all …]