Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/keyboard/
Dpmic8xxx-keypad.c370 unsigned int scan_delay_ms; in pmic8xxx_kpd_init() local
401 if (of_property_read_u32(of_node, "scan-delay", &scan_delay_ms)) in pmic8xxx_kpd_init()
402 scan_delay_ms = MIN_SCAN_DELAY; in pmic8xxx_kpd_init()
404 if (scan_delay_ms > MAX_SCAN_DELAY || scan_delay_ms < MIN_SCAN_DELAY || in pmic8xxx_kpd_init()
405 !is_power_of_2(scan_delay_ms)) { in pmic8xxx_kpd_init()
434 bits = fls(scan_delay_ms) - 1; in pmic8xxx_kpd_init()