Searched refs:tb10x_gpio (Results 1 – 1 of 1) sorted by relevance
41 struct tb10x_gpio { struct48 static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs) in tb10x_reg_read() argument55 struct tb10x_gpio *tb10x_gpio = gpiochip_get_data(chip); in tb10x_gpio_to_irq() local57 return irq_create_mapping(tb10x_gpio->domain, offset); in tb10x_gpio_to_irq()74 struct tb10x_gpio *tb10x_gpio = data; in tb10x_gpio_irq_cascade() local75 u32 r = tb10x_reg_read(tb10x_gpio, OFFSET_TO_REG_CHANGE); in tb10x_gpio_irq_cascade()76 u32 m = tb10x_reg_read(tb10x_gpio, OFFSET_TO_REG_INT_EN); in tb10x_gpio_irq_cascade()81 generic_handle_domain_irq(tb10x_gpio->domain, i); in tb10x_gpio_irq_cascade()89 struct tb10x_gpio *tb10x_gpio; in tb10x_gpio_probe() local101 tb10x_gpio = devm_kzalloc(dev, sizeof(*tb10x_gpio), GFP_KERNEL); in tb10x_gpio_probe()[all …]