Lines Matching refs:debounce
43 u32 debounce; member
181 unsigned debounce) in omap2_set_gpio_debounce() argument
185 bool enable = !!debounce; in omap2_set_gpio_debounce()
191 debounce = DIV_ROUND_UP(debounce, 31) - 1; in omap2_set_gpio_debounce()
192 if ((debounce & OMAP4_GPIO_DEBOUNCINGTIME_MASK) != debounce) in omap2_set_gpio_debounce()
199 writel_relaxed(debounce, bank->base + bank->regs->debounce); in omap2_set_gpio_debounce()
215 bank->context.debounce = debounce; in omap2_set_gpio_debounce()
248 bank->context.debounce = 0; in omap_clear_gpio_debounce()
249 writel_relaxed(bank->context.debounce, bank->base + in omap_clear_gpio_debounce()
250 bank->regs->debounce); in omap_clear_gpio_debounce()
876 unsigned debounce) in omap_gpio_debounce() argument
885 ret = omap2_set_gpio_debounce(bank, offset, debounce); in omap_gpio_debounce()
891 offset, debounce, ret); in omap_gpio_debounce()
899 u32 debounce; in omap_gpio_set_config() local
909 debounce = pinconf_to_config_argument(config); in omap_gpio_set_config()
910 ret = omap_gpio_debounce(chip, offset, debounce); in omap_gpio_set_config()
1103 writel_relaxed(bank->context.debounce, base + regs->debounce); in omap_gpio_restore_context()
1300 .debounce = OMAP24XX_GPIO_DEBOUNCE_VAL,
1326 .debounce = OMAP4_GPIO_DEBOUNCINGTIME,