Lines Matching +full:in +full:- +full:line
1 .. SPDX-License-Identifier: GPL-2.0
11 gpio-v2-get-line-ioctl.rst.
16 GPIO_GET_LINEHANDLE_IOCTL - Request a line or lines from the kernel.
38 Request a line or lines from the kernel.
41 lines in the request.
43 On success, the requesting process is granted exclusive access to the line
44 value and write access to the line configuration.
46 The state of a line, including the value of output lines, is guaranteed to
48 file descriptor is closed, the state of the line becomes uncontrolled from
51 Requesting a line already in use is an error (**EBUSY**).
53 Closing the ``chip_fd`` has no effect on existing line handles.
55 .. _gpio-get-linehandle-config-rules:
58 -------------------
65 line is requested "as-is" to allow reading of the line value without altering
71 If none are set then the line is assumed push-pull.
80 .. _gpio-get-linehandle-config-support:
83 ---------------------
88 - reject the request
89 - emulate the feature in software
90 - treat the feature as best effort
93 in software, and the impact on the hardware and userspace if the feature is not
108 Worst case the line floats rather than being biased as expected.
110 Drive is emulated by switching the line to an input when the line should not
113 In all cases, the configuration reported by gpio-get-lineinfo-ioctl.rst
115 Userspace cannot determine if a feature is supported in hardware, is
124 On error -1 and the ``errno`` variable is set appropriately.
125 Common error codes are described in error-codes.rst.