Searched refs:scan_delay_ms (Results 1 – 1 of 1) sorted by relevance
370 unsigned int scan_delay_ms; in pmic8xxx_kpd_init() local401 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()