Lines Matching refs:dwapb_gpio
68 struct dwapb_gpio;
94 struct dwapb_gpio *gpio;
103 struct dwapb_gpio { struct
131 static inline u32 gpio_reg_convert(struct dwapb_gpio *gpio, unsigned int offset) in gpio_reg_convert() argument
139 static inline u32 dwapb_read(struct dwapb_gpio *gpio, unsigned int offset) in dwapb_read()
147 static inline void dwapb_write(struct dwapb_gpio *gpio, unsigned int offset, in dwapb_write()
156 static struct dwapb_gpio_port *dwapb_offs_to_port(struct dwapb_gpio *gpio, unsigned int offs) in dwapb_offs_to_port()
170 static void dwapb_toggle_trigger(struct dwapb_gpio *gpio, unsigned int offs) in dwapb_toggle_trigger()
192 static u32 dwapb_do_irq(struct dwapb_gpio *gpio) in dwapb_do_irq()
214 struct dwapb_gpio *gpio = irq_desc_get_handler_data(desc); in dwapb_irq_handler()
230 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_ack()
242 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_mask()
255 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_unmask()
268 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_enable()
282 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_disable()
296 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_set_type()
347 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_set_wake()
364 struct dwapb_gpio *gpio = port->gpio; in dwapb_gpio_set_debounce()
410 static void dwapb_configure_irqs(struct dwapb_gpio *gpio, in dwapb_configure_irqs()
476 static int dwapb_gpio_add_port(struct dwapb_gpio *gpio, in dwapb_gpio_add_port()
609 struct dwapb_gpio *gpio = data; in dwapb_assert_reset()
614 static int dwapb_get_reset(struct dwapb_gpio *gpio) in dwapb_get_reset()
635 struct dwapb_gpio *gpio = data; in dwapb_disable_clks()
640 static int dwapb_get_clks(struct dwapb_gpio *gpio) in dwapb_get_clks()
680 struct dwapb_gpio *gpio; in dwapb_gpio_probe()
734 struct dwapb_gpio *gpio = dev_get_drvdata(dev); in dwapb_gpio_suspend()
775 struct dwapb_gpio *gpio = dev_get_drvdata(dev); in dwapb_gpio_resume()