Home
last modified time | relevance | path

Searched refs:mod_usage (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/gpio/
H A Dgpio-omap.c66 u32 mod_usage; member
84 #define BANK_USED(bank) (bank->mod_usage || bank->irq_usage)
418 if (!LINE_USED(bank->mod_usage, offset)) { in omap_gpio_init_irq()
633 if (!LINE_USED(bank->mod_usage, offset)) in omap_gpio_irq_startup()
655 if (!LINE_USED(bank->mod_usage, offset)) in omap_gpio_irq_shutdown()
819 bank->mod_usage |= BIT(offset); in omap_gpio_request()
831 bank->mod_usage &= ~(BIT(offset)); in omap_gpio_free()