Lines Matching +full:buffer +full:- +full:size
1 .. SPDX-License-Identifier: GPL-2.0
12 GPIO_V2_LINEINFO_CHANGED_READ - Read line info changed events for watched
27 The buffer to contain the :c:type:`events<gpio_v2_line_info_changed>`.
30 The number of bytes available in ``buf``, which must be at least the size
43 not its value. Use gpio-v2-line-event-read.rst to receive events when a
46 A line must be watched using gpio-v2-get-lineinfo-watch-ioctl.rst to generate
50 The kernel timestamps events when they occur and stores them in a buffer
53 The size of the kernel event buffer is fixed at 32 events per ``chip_fd``.
55 The buffer may overflow if bursts of events occur quicker than they are read
59 Events read from the buffer are always in the same order that they were
65 copied is the lower of the number available in the kernel buffer and the
66 number that will fit in the userspace buffer (``buf``).
77 On success the number of bytes read, which will be a multiple of the size
80 On error -1 and the ``errno`` variable is set appropriately.
81 Common error codes are described in error-codes.rst.