Home
last modified time | relevance | path

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

/linux/drivers/input/keyboard/
H A Dmax7360-keypad.c29 unsigned int debounce_ms; member
116 val = max7360_keypad->debounce_ms - MAX7360_DEBOUNCE_MIN; in max7360_keypad_hw_init()
198 max7360_keypad->debounce_ms = MAX7360_DEBOUNCE_MIN; in max7360_keypad_parse_fw()
200 &max7360_keypad->debounce_ms); in max7360_keypad_parse_fw()
203 max7360_keypad->debounce_ms); in max7360_keypad_parse_fw()
209 if (!in_range(max7360_keypad->debounce_ms, MAX7360_DEBOUNCE_MIN, in max7360_keypad_parse_fw()
212 max7360_keypad->debounce_ms, MAX7360_DEBOUNCE_MIN, MAX7360_DEBOUNCE_MAX); in max7360_keypad_parse_fw()
H A Dstmpe-keypad.c133 unsigned int debounce_ms; member
271 if (keypad->debounce_ms > STMPE_KEYPAD_MAX_DEBOUNCE) in stmpe_keypad_chip_init()
311 (keypad->debounce_ms << 1)); in stmpe_keypad_chip_init()
354 of_property_read_u32(np, "debounce-interval", &keypad->debounce_ms); in stmpe_keypad_probe()
H A Dtc3589x-keypad.c327 u32 debounce_ms; in tc3589x_keypad_of_probe() local
360 of_property_read_u32(np, "debounce-delay-ms", &debounce_ms); in tc3589x_keypad_of_probe()
361 if (debounce_ms) in tc3589x_keypad_of_probe()
362 plat->debounce_period = debounce_ms * 16; in tc3589x_keypad_of_probe()
/linux/drivers/gpio/
H A Dgpio-tegra.c219 unsigned int debounce_ms = DIV_ROUND_UP(debounce, 1000); in tegra_gpio_set_debounce() local
223 if (!debounce_ms) { in tegra_gpio_set_debounce()
229 debounce_ms = min(debounce_ms, 255U); in tegra_gpio_set_debounce()
236 if (bank->dbc_cnt[port] < debounce_ms) { in tegra_gpio_set_debounce()
237 tegra_gpio_writel(tgi, debounce_ms, GPIO_DBC_CNT(tgi, offset)); in tegra_gpio_set_debounce()
238 bank->dbc_cnt[port] = debounce_ms; in tegra_gpio_set_debounce()
/linux/drivers/auxdisplay/
H A Dht16k33.c75 uint32_t debounce_ms; member
371 msecs_to_jiffies(keypad->debounce_ms)); in ht16k33_keypad_irq_thread()
519 &keypad->debounce_ms); in ht16k33_keypad_probe()