Lines Matching refs:currticks
102 unsigned long tmo = currticks() + 4*TICKS_PER_SEC; in wait_eeprom_ready()
108 if (currticks() >= tmo) in wait_eeprom_ready()
172 unsigned long tmo = currticks() + TICKS_PER_SEC; in control_dc_dc()
183 while (currticks() < tmo); in control_dc_dc()
207 for (tmo = currticks() + 4; currticks() < tmo; ); in detect_tp()
219 if (currticks() - tmo > 40*TICKS_PER_SEC) { in detect_tp()
252 for (tmo = currticks() + 2; in send_test_pkt()
254 if (currticks() >= tmo) in send_test_pkt()
263 for (tmo = currticks() + 2; currticks() < tmo; ); in send_test_pkt()
312 for (reset_tmo = currticks() + 2; currticks() < reset_tmo; ); in cs89x0_reset()
328 for (reset_tmo = currticks() + 2; in cs89x0_reset()
330 currticks() < reset_tmo; ); in cs89x0_reset()
387 for (tmo = currticks() + 5*TICKS_PER_SEC; currticks() < tmo; ); in cs89x0_transmit()
401 for (tmo = currticks()+5*TICKS_PER_SEC; in cs89x0_transmit()
402 (s = readreg(PP_TxEvent)&~0x1F) == 0 && currticks() < tmo;) in cs89x0_transmit()