Lines Matching refs:dwapb_gpio

67 struct dwapb_gpio;
105 struct dwapb_gpio *gpio;
114 struct dwapb_gpio { struct
142 static inline u32 gpio_reg_convert(struct dwapb_gpio *gpio, unsigned int offset) in gpio_reg_convert() argument
150 static inline u32 dwapb_read(struct dwapb_gpio *gpio, unsigned int offset) in dwapb_read()
158 static inline void dwapb_write(struct dwapb_gpio *gpio, unsigned int offset, in dwapb_write()
167 static struct dwapb_gpio_port *dwapb_offs_to_port(struct dwapb_gpio *gpio, unsigned int offs) in dwapb_offs_to_port()
181 static void dwapb_toggle_trigger(struct dwapb_gpio *gpio, unsigned int offs) in dwapb_toggle_trigger()
203 static u32 dwapb_do_irq(struct dwapb_gpio *gpio) in dwapb_do_irq()
225 struct dwapb_gpio *gpio = irq_desc_get_handler_data(desc); in dwapb_irq_handler()
241 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_ack()
253 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_mask()
269 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_unmask()
285 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_enable()
301 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_disable()
317 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_set_type()
365 struct dwapb_gpio *gpio = to_dwapb_gpio(gc); in dwapb_irq_set_wake()
397 struct dwapb_gpio *gpio = port->gpio; in dwapb_gpio_set_debounce()
443 static void dwapb_configure_irqs(struct dwapb_gpio *gpio, in dwapb_configure_irqs()
500 static int dwapb_gpio_add_port(struct dwapb_gpio *gpio, in dwapb_gpio_add_port()
630 struct dwapb_gpio *gpio = data; in dwapb_assert_reset()
635 static int dwapb_get_reset(struct dwapb_gpio *gpio) in dwapb_get_reset()
655 struct dwapb_gpio *gpio = data; in dwapb_disable_clks()
660 static int dwapb_get_clks(struct dwapb_gpio *gpio) in dwapb_get_clks()
700 struct dwapb_gpio *gpio; in dwapb_gpio_probe()
749 struct dwapb_gpio *gpio = dev_get_drvdata(dev); in dwapb_gpio_suspend()
790 struct dwapb_gpio *gpio = dev_get_drvdata(dev); in dwapb_gpio_resume()