Lines Matching refs:debounce
120 unsigned debounce) in amd_gpio_set_debounce() argument
131 if (debounce) { in amd_gpio_set_debounce()
144 if (debounce < 61) { in amd_gpio_set_debounce()
148 } else if (debounce < 976) { in amd_gpio_set_debounce()
149 time = debounce / 61; in amd_gpio_set_debounce()
153 } else if (debounce < 3900) { in amd_gpio_set_debounce()
154 time = debounce / 244; in amd_gpio_set_debounce()
158 } else if (debounce < 250000) { in amd_gpio_set_debounce()
159 time = debounce / 15625; in amd_gpio_set_debounce()
163 } else if (debounce < 1000000) { in amd_gpio_set_debounce()
164 time = debounce / 62500; in amd_gpio_set_debounce()
187 u32 debounce; in amd_gpio_set_config() local
192 debounce = pinconf_to_config_argument(config); in amd_gpio_set_config()
193 return amd_gpio_set_debounce(gc, offset, debounce); in amd_gpio_set_config()