Lines Matching +full:gpio +full:- +full:range
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Intel Tangier GPIO functions
15 #include <linux/gpio/driver.h>
35 * struct tng_wake_regs - Platform specific wake registers
47 * struct tng_gpio_pinrange - Map pin numbers to gpio numbers
48 * @gpio_base: Starting GPIO number of this range
49 * @pin_base: Starting pin number of this range
50 * @npins: Number of pins in this range
62 .npins = (gend) - (gstart) + 1, \
66 * struct tng_gpio_pin_info - Platform specific pinout information
67 * @pin_ranges: Pin to GPIO mapping
78 * struct tng_gpio_info - Platform specific GPIO and IRQ information
79 * @base: GPIO base to start numbering with
90 * struct tng_gpio - Platform specific private data
93 * @irq: Interrupt for the GPIO device
95 * @dev: The GPIO device
96 * @ctx: Context to be saved during suspend-resume
99 * @info: Platform specific GPIO and IRQ information
113 int devm_tng_gpio_probe(struct device *dev, struct tng_gpio *gpio);