Lines Matching +full:device +full:- +full:wake +full:- +full:gpios
1 /* SPDX-License-Identifier: GPL-2.0-only */
19 struct device;
23 /* Elkhart Lake specific wake registers */
24 #define GWMR_EHL 0x100 /* Wake mask */
25 #define GWSR_EHL 0x118 /* Wake source */
28 /* Merrifield specific wake registers */
29 #define GWMR_MRFLD 0x400 /* Wake mask */
30 #define GWSR_MRFLD 0x418 /* Wake source */
34 * struct tng_wake_regs - Platform specific wake registers
35 * @gwmr: Wake mask
36 * @gwsr: Wake source
46 * struct tng_gpio_pinrange - Map pin numbers to gpio numbers
61 .npins = (gend) - (gstart) + 1, \
65 * struct tng_gpio_pin_info - Platform specific pinout information
68 * @name: Respective pinctrl device name
77 * struct tng_gpio_info - Platform specific GPIO and IRQ information
79 * @ngpio: Amount of GPIOs supported by the controller
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
96 * @wake_regs: Platform specific wake registers
105 struct device *dev;
112 int devm_tng_gpio_probe(struct device *dev, struct tng_gpio *gpio);
114 int tng_gpio_suspend(struct device *dev);
115 int tng_gpio_resume(struct device *dev);