Lines Matching defs:bank
84 #define BANK_USED(bank) (bank->mod_usage || bank->irq_usage) argument
109 static void omap_set_gpio_direction(struct gpio_bank *bank, int gpio, in omap_set_gpio_direction()
118 static void omap_set_gpio_dataout_reg(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_reg()
136 static void omap_set_gpio_dataout_mask(struct gpio_bank *bank, unsigned offset, in omap_set_gpio_dataout_mask()
143 static inline void omap_gpio_dbck_enable(struct gpio_bank *bank) in omap_gpio_dbck_enable()
154 static inline void omap_gpio_dbck_disable(struct gpio_bank *bank) in omap_gpio_dbck_disable()
181 static int omap2_set_gpio_debounce(struct gpio_bank *bank, unsigned offset, in omap2_set_gpio_debounce()
233 static void omap_clear_gpio_debounce(struct gpio_bank *bank, unsigned offset) in omap_clear_gpio_debounce()
263 static bool omap_gpio_is_off_wakeup_capable(struct gpio_bank *bank, u32 gpio_mask) in omap_gpio_is_off_wakeup_capable()
273 static inline void omap_set_gpio_trigger(struct gpio_bank *bank, int gpio, in omap_set_gpio_trigger()
325 static void omap_toggle_gpio_edge_triggering(struct gpio_bank *bank, int gpio) in omap_toggle_gpio_edge_triggering()
334 static int omap_set_gpio_triggering(struct gpio_bank *bank, int gpio, in omap_set_gpio_triggering()
374 static void omap_enable_gpio_module(struct gpio_bank *bank, unsigned offset) in omap_enable_gpio_module()
395 static void omap_disable_gpio_module(struct gpio_bank *bank, unsigned offset) in omap_disable_gpio_module()
409 static int omap_gpio_is_input(struct gpio_bank *bank, unsigned offset) in omap_gpio_is_input()
416 static void omap_gpio_init_irq(struct gpio_bank *bank, unsigned offset) in omap_gpio_init_irq()
427 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_irq_type() local
470 static void omap_clear_gpio_irqbank(struct gpio_bank *bank, int gpio_mask) in omap_clear_gpio_irqbank()
487 static inline void omap_clear_gpio_irqstatus(struct gpio_bank *bank, in omap_clear_gpio_irqstatus()
493 static u32 omap_get_gpio_irqbank_mask(struct gpio_bank *bank) in omap_get_gpio_irqbank_mask()
507 static inline void omap_set_gpio_irqenable(struct gpio_bank *bank, in omap_set_gpio_irqenable()
545 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_wake_enable() local
564 struct gpio_bank *bank = gpiobank; in omap_gpio_irq_handler() local
627 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_irq_startup() local
646 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_irq_shutdown() local
663 struct gpio_bank *bank = omap_irq_data_get_bank(data); in omap_gpio_irq_bus_lock() local
670 struct gpio_bank *bank = omap_irq_data_get_bank(data); in gpio_irq_bus_sync_unlock() local
677 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_mask_irq() local
690 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_unmask_irq() local
716 struct gpio_bank *bank = omap_irq_data_get_bank(d); in omap_gpio_irq_print_chip() local
752 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_mpuio_suspend_noirq() local
766 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_mpuio_resume_noirq() local
800 static inline void omap_mpuio_init(struct gpio_bank *bank) in omap_mpuio_init()
812 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_request() local
827 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_free() local
844 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_get_direction() local
854 struct gpio_bank *bank; in omap_gpio_input() local
866 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_get() local
879 struct gpio_bank *bank; in omap_gpio_output() local
893 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_get_multiple() local
915 struct gpio_bank *bank; in omap_gpio_debounce() local
958 struct gpio_bank *bank; in omap_gpio_set() local
970 struct gpio_bank *bank = gpiochip_get_data(chip); in omap_gpio_set_multiple() local
984 static void omap_gpio_show_rev(struct gpio_bank *bank) in omap_gpio_show_rev()
999 static void omap_gpio_mod_init(struct gpio_bank *bank) in omap_gpio_mod_init()
1026 static int omap_gpio_chip_init(struct gpio_bank *bank, struct device *pm_dev) in omap_gpio_chip_init()
1110 static void omap_gpio_restore_context(struct gpio_bank *bank) in omap_gpio_restore_context()
1135 static void omap_gpio_idle(struct gpio_bank *bank, bool may_lose_context) in omap_gpio_idle()
1182 static void omap_gpio_unidle(struct gpio_bank *bank) in omap_gpio_unidle()
1276 struct gpio_bank *bank; in gpio_omap_cpu_notifier() local
1399 struct gpio_bank *bank; in omap_gpio_probe() local
1494 struct gpio_bank *bank = platform_get_drvdata(pdev); in omap_gpio_remove() local
1507 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_gpio_runtime_suspend() local
1520 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_gpio_runtime_resume() local
1533 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_gpio_suspend() local
1545 struct gpio_bank *bank = dev_get_drvdata(dev); in omap_gpio_resume() local