Lines Matching defs:timeout
131 #define timeout_msg "*** timeout at %s:%s (line %d) ***\n"
237 unsigned long timeout = jiffies + 10*HZ/100;
241 } while (stat1 != inb_status(base_addr) && time_before(jiffies, timeout));
242 if (time_after_eq(jiffies, timeout))
261 unsigned long timeout;
270 timeout = jiffies + 2*HZ/100;
271 while (time_before_eq(jiffies, timeout) && !(inb_status(dev->base_addr) & ACRF));
319 unsigned long timeout;
321 for (timeout = jiffies + 5*HZ/100; time_before(jiffies, timeout);) {
331 unsigned int timeout;
333 for (timeout = 0; timeout < 40000; timeout++) {
372 * timeout is reduced to 500us).
378 unsigned long timeout;
420 for (timeout = jiffies + 5*HZ/100; time_before(jiffies, timeout);) {
435 pr_debug("%s: timeout waiting for PCB acknowledge (status %02x)\n",
465 unsigned long timeout;
473 timeout = jiffies + 2*HZ/100;
474 while (((stat = get_status(dev->base_addr)) & ACRF) == 0 && time_before(jiffies, timeout));
475 if (time_after_eq(jiffies, timeout)) {
482 timeout = jiffies + 3*HZ/100;
483 while (((stat = get_status(dev->base_addr)) & ACRF) == 0 && time_before(jiffies, timeout));
484 if (time_after_eq(jiffies, timeout)) {
563 tx_pcb->data.rcv_pkt.timeout = 0; /* set timeout to zero */
651 unsigned long timeout;
701 timeout = jiffies + 3*HZ/100;
702 while ((inb_status(dev->base_addr) & ACRF) != 0 && time_before(jiffies, timeout)) {
718 if (adapter->irx_pcb.data.rcv_resp.timeout != 0) {
928 unsigned long timeout = jiffies + TIMEOUT;
929 while (adapter->got[CMD_CONFIGURE_ADAPTER_MEMORY] == 0 && time_before(jiffies, timeout));
930 if (time_after_eq(jiffies, timeout))
947 unsigned long timeout = jiffies + TIMEOUT;
948 while (adapter->got[CMD_CONFIGURE_82586] == 0 && time_before(jiffies, timeout));
949 if (time_after_eq(jiffies, timeout))
1057 dev->trans_start = jiffies; /* prevent tx timeout */
1126 unsigned long timeout = jiffies + TIMEOUT;
1127 while (adapter->got[CMD_NETWORK_STATISTICS] == 0 && time_before(jiffies, timeout));
1128 if (time_after_eq(jiffies, timeout)) {
1235 unsigned long timeout = jiffies + TIMEOUT;
1236 while (adapter->got[CMD_LOAD_MULTICAST_LIST] == 0 && time_before(jiffies, timeout));
1237 if (time_after_eq(jiffies, timeout)) {
1262 unsigned long timeout = jiffies + TIMEOUT;
1264 while (adapter->got[CMD_CONFIGURE_82586] == 0 && time_before(jiffies, timeout));
1265 if (time_after_eq(jiffies, timeout))
1396 unsigned long timeout;
1415 timeout = jiffies + 5*HZ/100;
1417 while (time_before(jiffies, timeout) && !(inb_status(dev->base_addr) & HCRE));
1420 timeout = jiffies + 5*HZ/100;
1421 while (time_before(jiffies, timeout) && !(inb_status(dev->base_addr) & HCRE));
1435 timeout = jiffies + 10*HZ;
1436 while (time_before(jiffies, timeout) && (inb_status(dev->base_addr) & 7));