Searched refs:row_delay_cycles (Results 1 – 1 of 1) sorted by relevance
98 unsigned long val = 0, cycles_per_us, delay_cycles, row_delay_cycles; in nspire_keypad_chip_init() local108 row_delay_cycles = cycles_per_us * keypad->row_delay; in nspire_keypad_chip_init()109 WARN_ON(row_delay_cycles >= (1 << 14)); /* Overflow */ in nspire_keypad_chip_init()110 row_delay_cycles &= 0x3fff; in nspire_keypad_chip_init()113 val |= row_delay_cycles << 2; /* Delay between scanning each row */ in nspire_keypad_chip_init()