Home
last modified time | relevance | path

Searched refs:tb10x_gpio (Results 1 – 1 of 1) sorted by relevance

/drivers/gpio/
Dgpio-tb10x.c41 struct tb10x_gpio { struct
48 static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs) in tb10x_reg_read() argument
53 static inline void tb10x_reg_write(struct tb10x_gpio *gpio, unsigned int offs, in tb10x_reg_write()
59 static inline void tb10x_set_bits(struct tb10x_gpio *gpio, unsigned int offs, in tb10x_set_bits()
77 struct tb10x_gpio *tb10x_gpio = gpiochip_get_data(chip); in tb10x_gpio_to_irq() local
79 return irq_create_mapping(tb10x_gpio->domain, offset); in tb10x_gpio_to_irq()
96 struct tb10x_gpio *tb10x_gpio = data; in tb10x_gpio_irq_cascade() local
97 u32 r = tb10x_reg_read(tb10x_gpio, OFFSET_TO_REG_CHANGE); in tb10x_gpio_irq_cascade()
98 u32 m = tb10x_reg_read(tb10x_gpio, OFFSET_TO_REG_INT_EN); in tb10x_gpio_irq_cascade()
103 generic_handle_domain_irq(tb10x_gpio->domain, i); in tb10x_gpio_irq_cascade()
[all …]