Lines Matching refs:an
26 With the descriptor-based interface, GPIOs are identified with an opaque,
36 device that displays digits), an additional index argument can be specified:
51 Both functions return either a valid GPIO descriptor, or an error code checkable
54 other error codes are used for cases where a GPIO has been assigned but an error
56 errors and an absence of GPIO for optional GPIO parameters. For the common
76 This function returns a struct gpio_descs which contains an array of
122 For an array of GPIOs this function can be used:
128 from an array acquired with gpiod_get_array().
175 Use the following calls to access GPIOs from an atomic context:
181 of an output pin, the value returned should be what's seen on the pin. That
189 (see below) is an error.
242 The following functions set the output values of an array of GPIOs:
257 The array can be an arbitrary set of GPIOs. The functions will try to set
265 * desc_array - an array of GPIO descriptors
266 * value_array - an array of values to assign to the GPIOs
293 It will return an IRQ number, or an negative errno code if the mapping can't be
294 done (most likely because that particular GPIO cannot be used as IRQ). It is an
295 unchecked error to use a GPIO that wasn't set up as an input using
296 gpiod_direction_input(), or to use an IRQ number that didn't originally come
311 connection IDs (names) for GPIOs, so it is necessary to use an additional
339 Freeing a GPIO obtained by one API with the other API is forbidden and an