Searched refs:tb10x_gpio (Results 1 – 1 of 1) sorted by relevance
42 struct tb10x_gpio { struct49 static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs) in tb10x_reg_read() argument56 struct tb10x_gpio *tb10x_gpio = gpiochip_get_data(chip); in tb10x_gpio_to_irq() local58 return irq_create_mapping(tb10x_gpio->domain, offset); in tb10x_gpio_to_irq()75 struct tb10x_gpio *tb10x_gpio = data; in tb10x_gpio_irq_cascade() local76 u32 r = tb10x_reg_read(tb10x_gpio, OFFSET_TO_REG_CHANGE); in tb10x_gpio_irq_cascade()77 u32 m = tb10x_reg_read(tb10x_gpio, OFFSET_TO_REG_INT_EN); in tb10x_gpio_irq_cascade()82 generic_handle_domain_irq(tb10x_gpio->domain, i); in tb10x_gpio_irq_cascade()90 struct tb10x_gpio *tb10x_gpio; in tb10x_gpio_probe() local102 tb10x_gpio = devm_kzalloc(dev, sizeof(*tb10x_gpio), GFP_KERNEL); in tb10x_gpio_probe()[all …]