Lines Matching +full:p +full:- +full:state
1 .. SPDX-License-Identifier: GPL-2.0
9 .. _gpio-errors:
11 .. tabularcolumns:: |p{2.5cm}|p{15.0cm}|
13 .. flat-table:: Common GPIO error codes
14 :header-rows: 0
15 :stub-columns: 0
18 - - ``EAGAIN`` (aka ``EWOULDBLOCK``)
20 - The device was opened in non-blocking mode and a read can't
23 - - ``EBADF``
25 - The file descriptor is not valid.
27 - - ``EBUSY``
29 - The ioctl can't be handled because the device is busy. Typically
35 - - ``EFAULT``
37 - There was a failure while copying data from/to userspace, probably
40 - - ``EINVAL``
42 - One or more of the ioctl parameters are invalid or out of the
45 - - ``ENODEV``
47 - Device not found or was removed.
49 - - ``ENOMEM``
51 - There's not enough memory to handle the desired operation.
53 - - ``EPERM``
55 - Permission denied. Typically returned in response to an attempt
59 - - ``EIO``
61 - I/O error. Typically returned when there are problems communicating
66 - - ``ENXIO``
68 - Typically returned when a feature requiring interrupt support was
76 assume that the device is in a bad state.
78 #. Request-specific error codes are listed in the individual