Lines Matching +full:in +full:- +full:line
1 .. SPDX-License-Identifier: GPL-2.0
11 gpio-v2-line-event-read.rst.
16 GPIO_LINEEVENT_DATA_READ - Read edge detection events from a line event.
27 The file descriptor of the GPIO character device, as returned in the
28 :c:type:`request.fd<gpioevent_request>` by gpio-get-lineevent-ioctl.rst.
34 The number of bytes available in ``buf``, which must be at
40 Read edge detection events for a line from a line event.
42 Edge detection must be enabled for the input line using either
45 the input line.
47 Edges are defined in terms of changes to the logical line value, so an inactive
53 occurrence and stores them in a buffer from where they can be read by
58 ``CLOCK_REALTIME``. There is no indication in the :c:type:`gpioevent_data`
62 Events read from the buffer are always in the same order that they were
73 copied is the lower of the number available in the kernel buffer and the
74 number that will fit in the userspace buffer (``buf``).
88 On error -1 and the ``errno`` variable is set appropriately.
89 Common error codes are described in error-codes.rst.