Lines Matching refs:timeout

266 	int timeout = jiffies + 10*HZ/100;  in get_status()  local
270 } while (stat1 != inb_status(base_addr) && time_before(jiffies, timeout)); in get_status()
271 if (time_after_eq(jiffies, timeout)) in get_status()
287 int timeout; in adapter_reset() local
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()
348 unsigned int timeout; in send_pcb_slow() local
350 for (timeout = jiffies + 5*HZ/100; time_before(jiffies, timeout);) { in send_pcb_slow()
360 unsigned int timeout; in send_pcb_fast() local
362 for (timeout = 0; timeout < 40000; timeout++) { in send_pcb_fast()
407 int timeout; in send_pcb() local
448 for (timeout = jiffies + 5*HZ/100; time_before(jiffies, timeout);) { in send_pcb()
492 int timeout; in receive_pcb() local
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()
583 tx_pcb->data.rcv_pkt.timeout = 0; /* set timeout to zero */ in start_receive()
671 int timeout; in elp_interrupt() local
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()
741 if (adapter->irx_pcb.data.rcv_resp.timeout != 0) { in elp_interrupt()
949 int timeout = jiffies + TIMEOUT; in elp_open() local
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() local
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()
1152 int timeout = jiffies + TIMEOUT; in elp_get_stats() local
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() local
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() local
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()
1342 int timeout; in elp_sense() local
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()
1457 int i, tries, tries1, timeout, okay; in elplus_probe() local
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()