Searched refs:delay_cycles (Results 1 – 2 of 2) sorted by relevance
99 unsigned long val = 0, cycles_per_us, delay_cycles, row_delay_cycles; in nspire_keypad_open() local110 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()
15320 static u16 delay_cycles(struct hfi1_pportdata *ppd, u32 desired_egress_rate, in delay_cycles() function15360 delay = delay_cycles(ppd, srate_mbs, dw_len); in create_pbc()