Lines Matching +full:gpio +full:- +full:key
1 /* SPDX-License-Identifier: GPL-2.0 */
22 * struct gpiod_lookup - lookup table
23 * @key: either the name of the chip the GPIO belongs to, or the GPIO line name
24 * Note that GPIO line names are not guaranteed to be globally unique,
26 * @chip_hwnum: hardware number (i.e. relative to the chip) of the GPIO, or
27 * U16_MAX to indicate that @key is a GPIO line name
28 * @con_id: name of the GPIO from the device's point of view
29 * @idx: index of the GPIO in case several GPIOs share the same name
36 const char *key; member
50 * struct gpiod_hog - GPIO line hog table
51 * @chip_label: name of the chip the GPIO belongs to
52 * @chip_hwnum: hardware number (i.e. relative to the chip) of the GPIO
55 * @dflags: GPIO flags used to specify the direction and value
67 * Simple definition of a single GPIO under a con_id
74 * Each GPIO needs to use a different index and can be accessed using
79 .key = _key, \
87 * Simple definition of a single GPIO hog in an array.