Lines Matching refs:gpio_bank

47 struct gpio_bank {  struct
77 void (*set_dataout)(struct gpio_bank *bank, unsigned gpio, int enable); argument
88 static inline struct gpio_bank *omap_irq_data_get_bank(struct irq_data *d) in omap_irq_data_get_bank() argument
108 static void omap_set_gpio_direction(struct gpio_bank *bank, int gpio, in omap_set_gpio_direction()
117 static void omap_set_gpio_dataout_reg(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_reg()
135 static void omap_set_gpio_dataout_mask(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_mask()
142 static inline void omap_gpio_dbck_enable(struct gpio_bank *bank) in omap_gpio_dbck_enable()
153 static inline void omap_gpio_dbck_disable(struct gpio_bank *bank) in omap_gpio_dbck_disable()
180 static int omap2_set_gpio_debounce(struct gpio_bank *bank, unsigned offset, in omap2_set_gpio_debounce()
232 static void omap_clear_gpio_debounce(struct gpio_bank *bank, unsigned offset) in omap_clear_gpio_debounce()
262 static bool omap_gpio_is_off_wakeup_capable(struct gpio_bank *bank, u32 gpio_mask) in omap_gpio_is_off_wakeup_capable()
272 static inline void omap_set_gpio_trigger(struct gpio_bank *bank, int gpio, in omap_set_gpio_trigger()
324 static void omap_toggle_gpio_edge_triggering(struct gpio_bank *bank, int gpio) in omap_toggle_gpio_edge_triggering()
333 static int omap_set_gpio_triggering(struct gpio_bank *bank, int gpio, in omap_set_gpio_triggering()
373 static void omap_enable_gpio_module(struct gpio_bank *bank, unsigned offset) in omap_enable_gpio_module()
394 static void omap_disable_gpio_module(struct gpio_bank *bank, unsigned offset) in omap_disable_gpio_module()
408 static int omap_gpio_is_input(struct gpio_bank *bank, unsigned offset) in omap_gpio_is_input()
415 static void omap_gpio_init_irq(struct gpio_bank *bank, unsigned offset) in omap_gpio_init_irq()
426 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_irq_type()
469 static void omap_clear_gpio_irqbank(struct gpio_bank *bank, int gpio_mask) in omap_clear_gpio_irqbank()
486 static inline void omap_clear_gpio_irqstatus(struct gpio_bank *bank, in omap_clear_gpio_irqstatus()
492 static u32 omap_get_gpio_irqbank_mask(struct gpio_bank *bank) in omap_get_gpio_irqbank_mask()
506 static inline void omap_set_gpio_irqenable(struct gpio_bank *bank, in omap_set_gpio_irqenable()
544 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_wake_enable()
563 struct gpio_bank *bank = gpiobank; in omap_gpio_irq_handler()
626 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_irq_startup()
645 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_irq_shutdown()
662 struct gpio_bank *bank = omap_irq_data_get_bank(data); in omap_gpio_irq_bus_lock()
669 struct gpio_bank *bank = omap_irq_data_get_bank(data); in gpio_irq_bus_sync_unlock()
676 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_mask_irq()
688 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_unmask_irq()
715 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_mpuio_suspend_noirq()
729 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_mpuio_resume_noirq()
763 static inline void omap_mpuio_init(struct gpio_bank *bank) in omap_mpuio_init()
775 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_request()
790 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_free()
807 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_get_direction()
817 struct gpio_bank *bank; in omap_gpio_input()
829 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_get()
842 struct gpio_bank *bank; in omap_gpio_output()
856 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_get_multiple()
878 struct gpio_bank *bank; in omap_gpio_debounce()
921 struct gpio_bank *bank; in omap_gpio_set()
933 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_set_multiple()
947 static void omap_gpio_show_rev(struct gpio_bank *bank) in omap_gpio_show_rev()
962 static void omap_gpio_mod_init(struct gpio_bank *bank) in omap_gpio_mod_init()
989 static int omap_gpio_chip_init(struct gpio_bank *bank, struct irq_chip *irqc, in omap_gpio_chip_init()
1069 static void omap_gpio_init_context(struct gpio_bank *p) in omap_gpio_init_context()
1089 static void omap_gpio_restore_context(struct gpio_bank *bank) in omap_gpio_restore_context()
1114 static void omap_gpio_idle(struct gpio_bank *bank, bool may_lose_context) in omap_gpio_idle()
1161 static void omap_gpio_unidle(struct gpio_bank *bank) in omap_gpio_unidle()
1255 struct gpio_bank *bank; in gpio_omap_cpu_notifier()
1260 bank = container_of(nb, struct gpio_bank, nb); in gpio_omap_cpu_notifier()
1378 struct gpio_bank *bank; in omap_gpio_probe()
1491 struct gpio_bank *bank = platform_get_drvdata(pdev); in omap_gpio_remove()
1504 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_gpio_runtime_suspend()
1517 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_gpio_runtime_resume()
1530 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_gpio_suspend()
1542 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_gpio_resume()