Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/input/keyboard/
Dnspire-keypad.c98 unsigned long val = 0, cycles_per_us, delay_cycles, row_delay_cycles; in nspire_keypad_chip_init() local
100 cycles_per_us = (clk_get_rate(keypad->clk) / 1000000); in nspire_keypad_chip_init()
101 if (cycles_per_us == 0) in nspire_keypad_chip_init()
102 cycles_per_us = 1; in nspire_keypad_chip_init()
104 delay_cycles = cycles_per_us * keypad->scan_interval; in nspire_keypad_chip_init()
108 row_delay_cycles = cycles_per_us * keypad->row_delay; in nspire_keypad_chip_init()