Lines Matching refs:jiffies
266 int timeout = jiffies + 10*HZ/100; in get_status()
270 } while (stat1 != inb_status(base_addr) && time_before(jiffies, timeout)); in get_status()
271 if (time_after_eq(jiffies, timeout)) in get_status()
296 timeout = jiffies + 2*HZ/100; in adapter_reset()
297 while (time_before_eq(jiffies, timeout) && !(inb_status(dev->base_addr) & ACRF)); in adapter_reset()
302 timeout = jiffies + 1*HZ/100; in adapter_reset()
303 while (time_before_eq(jiffies, timeout)); in adapter_reset()
305 timeout = jiffies + 1*HZ/100; in adapter_reset()
306 while (time_before_eq(jiffies, timeout)); in adapter_reset()
308 timeout = jiffies + 1*HZ/100; in adapter_reset()
309 while (time_before_eq(jiffies, timeout)); in adapter_reset()
311 timeout = jiffies + 1*HZ/100; in adapter_reset()
312 while (time_before_eq(jiffies, timeout)); in adapter_reset()
326 if (adapter->dmaing && time_after(jiffies, adapter->current_dma.start_time + 10)) { in check_3c505_dma()
350 for (timeout = jiffies + 5*HZ/100; time_before(jiffies, timeout);) { in send_pcb_slow()
448 for (timeout = jiffies + 5*HZ/100; time_before(jiffies, timeout);) { in send_pcb()
499 timeout = jiffies + 2*HZ/100; in receive_pcb()
500 while (((stat = get_status(dev->base_addr)) & ACRF) == 0 && time_before(jiffies, timeout)); in receive_pcb()
501 if (time_after_eq(jiffies, timeout)) { in receive_pcb()
508 timeout = jiffies + 3*HZ/100; in receive_pcb()
509 while (((stat = get_status(dev->base_addr)) & ACRF) == 0 && time_before(jiffies, timeout)); in receive_pcb()
510 if (time_after_eq(jiffies, timeout)) { in receive_pcb()
634 adapter->current_dma.start_time = jiffies; in receive_packet()
703 dev->last_rx = jiffies; in elp_interrupt()
724 timeout = jiffies + 3*HZ/100; in elp_interrupt()
725 while ((inb_status(dev->base_addr) & ACRF) != 0 && time_before(jiffies, timeout)) { in elp_interrupt()
949 int timeout = jiffies + TIMEOUT; in elp_open()
950 while (adapter->got[CMD_CONFIGURE_ADAPTER_MEMORY] == 0 && time_before(jiffies, timeout)); in elp_open()
951 if (time_after_eq(jiffies, timeout)) in elp_open()
968 int timeout = jiffies + TIMEOUT; in elp_open()
969 while (adapter->got[CMD_CONFIGURE_82586] == 0 && time_before(jiffies, timeout)); in elp_open()
970 if (time_after_eq(jiffies, timeout)) in elp_open()
1037 adapter->current_dma.start_time = jiffies; in send_packet()
1078 dev->trans_start = jiffies; in elp_timeout()
1119 dev->trans_start = jiffies; in elp_start_xmit()
1152 int timeout = jiffies + TIMEOUT; in elp_get_stats()
1153 while (adapter->got[CMD_NETWORK_STATISTICS] == 0 && time_before(jiffies, timeout)); in elp_get_stats()
1154 if (time_after_eq(jiffies, timeout)) { in elp_get_stats()
1238 int timeout = jiffies + TIMEOUT; in elp_set_mc_list()
1239 while (adapter->got[CMD_LOAD_MULTICAST_LIST] == 0 && time_before(jiffies, timeout)); in elp_set_mc_list()
1240 if (time_after_eq(jiffies, timeout)) { in elp_set_mc_list()
1265 int timeout = jiffies + TIMEOUT; in elp_set_mc_list()
1267 while (adapter->got[CMD_CONFIGURE_82586] == 0 && time_before(jiffies, timeout)); in elp_set_mc_list()
1268 if (time_after_eq(jiffies, timeout)) in elp_set_mc_list()
1372 timeout = jiffies + 30*HZ/100; in elp_sense()
1373 while (time_before(jiffies, timeout)); in elp_sense()
1383 timeout = jiffies + 30*HZ/100; in elp_sense()
1384 while (time_before(jiffies, timeout)); in elp_sense()
1486 timeout = jiffies + 5*HZ/100; in elplus_probe()
1488 while (time_before(jiffies, timeout) && !(inb_status(dev->base_addr) & HCRE)); in elplus_probe()
1491 timeout = jiffies + 5*HZ/100; in elplus_probe()
1492 while (time_before(jiffies, timeout) && !(inb_status(dev->base_addr) & HCRE)); in elplus_probe()
1506 timeout = jiffies + 10*HZ; in elplus_probe()
1507 while (time_before(jiffies, timeout) && (inb_status(dev->base_addr) & 7)); in elplus_probe()