Lines Matching +full:gpio +full:- +full:lines
1 .. SPDX-License-Identifier: GPL-2.0
12 GPIO_V2_GET_LINE_IOCTL - Request a line or lines from the kernel.
25 The file descriptor of the GPIO character device returned by `open()`.
28 The :c:type:`line_request<gpio_v2_line_request>` specifying the lines
37 :ref:`gpio-v2-line-request`.
39 A number of lines may be requested in the one line request, and request
40 operations are performed on the requested lines by the kernel as atomically
41 as possible. e.g. gpio-v2-line-get-values-ioctl.rst will read all the
42 requested lines at once.
44 The state of a line, including the value of output lines, is guaranteed to
53 .. _gpio-v2-get-line-config-rules:
56 -------------------
63 and the line is requested "as-is" to allow reading of the line value
69 If none are set then the line is assumed push-pull.
87 be applied to lines with ``GPIO_V2_LINE_FLAG_INPUT`` set. When set, debounce
88 applies to both the values returned by gpio-v2-line-get-values-ioctl.rst and
89 the edges returned by gpio-v2-line-event-read.rst. If not
97 .. _gpio-v2-get-line-config-support:
100 ---------------------
105 - reject the request
106 - emulate the feature in software
107 - treat the feature as best effort
140 In all cases, the configuration reported by gpio-v2-get-lineinfo-ioctl.rst
151 On error -1 and the ``errno`` variable is set appropriately.
152 Common error codes are described in error-codes.rst.