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>
34 * struct tng_wake_regs - Platform specific wake registers
46 * struct tng_gpio_pinrange - Map pin numbers to gpio numbers
47 * @gpio_base: Starting GPIO number of this range
48 * @pin_base: Starting pin number of this range
49 * @npins: Number of pins in this range
61 .npins = (gend) - (gstart) + 1, \
65 * struct tng_gpio_pin_info - Platform specific pinout information
66 * @pin_ranges: Pin to GPIO mapping
77 * struct tng_gpio_info - Platform specific GPIO and IRQ information
78 * @base: GPIO base to start numbering with
89 * struct tng_gpio - Platform specific private data
92 * @irq: Interrupt for the GPIO device
94 * @dev: The GPIO device
95 * @ctx: Context to be saved during suspend-resume
98 * @info: Platform specific GPIO and IRQ information
112 int devm_tng_gpio_probe(struct device *dev, struct tng_gpio *gpio);