Lines Matching +full:field +full:- +full:even +full:- +full:active

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
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
56 * @GPIO_V2_LINE_FLAG_ACTIVE_LOW: line active state is physical low
59 * @GPIO_V2_LINE_FLAG_EDGE_RISING: line detects rising (inactive to active)
61 * @GPIO_V2_LINE_FLAG_EDGE_FALLING: line detects falling (active to
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
89 * struct gpio_v2_line_values - Values of GPIO lines
90 * @bits: a bitmap containing the value of the lines, set to 1 for active
102 * enum gpio_v2_line_attr_id - &struct gpio_v2_line_attribute.id values
103 * identifying which field of the attribute union is in use.
104 * @GPIO_V2_LINE_ATTR_ID_FLAGS: flags field is in use
105 * @GPIO_V2_LINE_ATTR_ID_OUTPUT_VALUES: values field is in use
106 * @GPIO_V2_LINE_ATTR_ID_DEBOUNCE: debounce_period_us field is in use
115 * struct gpio_v2_line_attribute - a configurable attribute of a line
141 * struct gpio_v2_line_config_attribute - a configuration attribute
154 * struct gpio_v2_line_config - Configuration for GPIO lines
176 * struct gpio_v2_line_request - Information about a request for GPIO lines
180 * "my-bitbanged-relay"
189 * buffer. If this field is zero then the buffer size defaults to a minimum
207 * struct gpio_v2_line_info - Information about a certain GPIO line
235 * enum gpio_v2_line_changed_type - &struct gpio_v2_line_changed.event_type
248 * struct gpio_v2_line_info_changed - Information about a change in status
260 /* Pad struct to 64-bit boundary and reserve space for future use. */
265 * enum gpio_v2_line_event_id - &struct gpio_v2_line_event.id values
275 * struct gpio_v2_line_event - The actual event being pushed to userspace
287 * It does not provide the wall-clock time.
324 * struct gpioline_info - Information about a certain GPIO line
356 * struct gpioline_info_changed - Information about a change in status
364 * The &struct gpioline_info embedded here has 32-bit alignment on its own,
365 * but it works fine with 64-bit alignment too. With its 72 byte size, we can
367 * The 20-byte padding at the end makes sure we don't add any implicit padding
368 * at the end of the structure on 64-bit architectures.
391 * struct gpiohandle_request - Information about a GPIO handle request
396 * together. Note that even if multiple lines are requested, the same flags
400 * characteristics, i.e. all inputs or all outputs, all active low etc
403 * 1 (active). Anything other than 0 or 1 will be interpreted as active.
405 * such as "my-bitbanged-relay"
424 * struct gpiohandle_config - Configuration for a GPIO handle request
430 * 1 (active). Anything other than 0 or 1 will be interpreted as active.
443 * struct gpiohandle_data - Information of values on a GPIO handle
446 * the desired target state. States are 0 (inactive) or 1 (active).
447 * When setting, anything other than 0 or 1 will be interpreted as active.
462 * struct gpioevent_request - Information about a GPIO event request
470 * such as "my-listener"
492 * struct gpioevent_data - The actual event being pushed to userspace