Home
last modified time | relevance | path

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

/drivers/input/keyboard/
Dnspire-keypad.c99 unsigned long val = 0, cycles_per_us, delay_cycles, row_delay_cycles; in nspire_keypad_open() local
110 delay_cycles = cycles_per_us * keypad->scan_interval; in nspire_keypad_open()
111 WARN_ON(delay_cycles >= (1 << 16)); /* Overflow */ in nspire_keypad_open()
112 delay_cycles &= 0xffff; in nspire_keypad_open()
120 val |= delay_cycles << 16; /* Delay between scans */ in nspire_keypad_open()
/drivers/infiniband/hw/hfi1/
Dchip.c15368 static u16 delay_cycles(struct hfi1_pportdata *ppd, u32 desired_egress_rate, in delay_cycles() function
15407 delay = delay_cycles(ppd, srate_mbs, dw_len); in create_pbc()