Lines Matching +full:has +full:- +full:chip +full:- +full:id
1 /* SPDX-License-Identifier: GPL-2.0-only WITH Linux-syscall-note */
3 * <linux/gpio.h> - userspace ABI for the GPIO character devices
21 * Must be a multiple of 8 to ensure 32/64-bit alignment of structs.
26 * struct gpiochip_info - Information about a certain GPIO chip
27 * @name: the Linux kernel name of this GPIO chip
28 * @label: a functional name for this GPIO chip, such as a product
30 * @lines: number of GPIO lines on this chip
41 * Must be no greater than 64, as bitmaps are restricted here to 64-bits
42 * for simplicity, and a multiple of 2 to ensure 32/64-bit alignment of
54 * enum gpio_v2_line_flag - &struct gpio_v2_line_attribute.flags values
65 * @GPIO_V2_LINE_FLAG_BIAS_PULL_UP: line has pull-up bias enabled
66 * @GPIO_V2_LINE_FLAG_BIAS_PULL_DOWN: line has pull-down bias enabled
67 * @GPIO_V2_LINE_FLAG_BIAS_DISABLED: line has bias disabled
86 * struct gpio_v2_line_values - Values of GPIO lines
99 * enum gpio_v2_line_attr_id - &struct gpio_v2_line_attribute.id values
112 * struct gpio_v2_line_attribute - a configurable attribute of a line
113 * @id: attribute identifier with value from &enum gpio_v2_line_attr_id
115 * @flags: if id is %GPIO_V2_LINE_ATTR_ID_FLAGS, the flags for the GPIO
120 * @values: if id is %GPIO_V2_LINE_ATTR_ID_OUTPUT_VALUES, a bitmap
124 * @debounce_period_us: if id is %GPIO_V2_LINE_ATTR_ID_DEBOUNCE, the
128 __u32 id; member
138 * struct gpio_v2_line_config_attribute - a configuration attribute
151 * struct gpio_v2_line_config - Configuration for GPIO lines
162 * first occurrence (i.e. lowest index) has precedence.
173 * struct gpio_v2_line_request - Information about a request for GPIO lines
175 * associated GPIO chip
177 * "my-bitbanged-relay"
205 * struct gpio_v2_line_info - Information about a certain GPIO line
207 * the chip, a rail or a pin header name on a board, as specified by the
208 * GPIO chip, may be empty (i.e. name[0] == '\0')
212 * @offset: the local offset on this GPIO chip, fill this in when
233 * enum gpio_v2_line_changed_type - &struct gpio_v2_line_changed.event_type
235 * @GPIO_V2_LINE_CHANGED_REQUESTED: line has been requested
236 * @GPIO_V2_LINE_CHANGED_RELEASED: line has been released
237 * @GPIO_V2_LINE_CHANGED_CONFIG: line has been reconfigured
246 * struct gpio_v2_line_info_changed - Information about a change in status
258 /* Pad struct to 64-bit boundary and reserve space for future use. */
263 * enum gpio_v2_line_event_id - &struct gpio_v2_line_event.id values
273 * struct gpio_v2_line_event - The actual event being pushed to userspace
275 * @id: event identifier with value from &enum gpio_v2_line_event_id
285 * It does not provide the wall-clock time.
292 __u32 id; member
318 * struct gpioline_info - Information about a certain GPIO line
323 * chip, a rail or a pin header name on a board, as specified by the gpio
324 * chip, may be empty (i.e. name[0] == '\0')
350 * struct gpioline_info_changed - Information about a change in status
358 * The &struct gpioline_info embedded here has 32-bit alignment on its own,
359 * but it works fine with 64-bit alignment too. With its 72 byte size, we can
361 * The 20-byte padding at the end makes sure we don't add any implicit padding
362 * at the end of the structure on 64-bit architectures.
385 * struct gpiohandle_request - Information about a GPIO handle request
399 * such as "my-bitbanged-relay"
419 * struct gpiohandle_config - Configuration for a GPIO handle request
438 * struct gpiohandle_data - Information of values on a GPIO handle
456 * struct gpioevent_request - Information about a GPIO event request
464 * such as "my-listener"
487 * struct gpioevent_data - The actual event being pushed to userspace
489 * @id: event identifier
496 __u32 id; member