Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/input/keyboard/
Dpmic8xxx-keypad.c371 unsigned int row_hold_ns; in pmic8xxx_kpd_init() local
410 if (of_property_read_u32(of_node, "row-hold", &row_hold_ns)) in pmic8xxx_kpd_init()
411 row_hold_ns = MIN_ROW_HOLD_DELAY; in pmic8xxx_kpd_init()
413 if (row_hold_ns > MAX_ROW_HOLD_DELAY || in pmic8xxx_kpd_init()
414 row_hold_ns < MIN_ROW_HOLD_DELAY || in pmic8xxx_kpd_init()
415 ((row_hold_ns % MIN_ROW_HOLD_DELAY) != 0)) { in pmic8xxx_kpd_init()
438 cycles = (row_hold_ns * KEYP_CLOCK_FREQ) / NSEC_PER_SEC; in pmic8xxx_kpd_init()