Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 */
0002 #ifndef GPIO_REG_H
0003 #define GPIO_REG_H
0004 
0005 struct device;
0006 struct irq_domain;
0007 
0008 struct gpio_chip *gpio_reg_init(struct device *dev, void __iomem *reg,
0009     int base, int num, const char *label, u32 direction, u32 def_out,
0010     const char *const *names, struct irq_domain *irqdom, const int *irqs);
0011 
0012 int gpio_reg_resume(struct gpio_chip *gc);
0013 
0014 #endif /* GPIO_REG_H */