Home
last modified time | relevance | path

Searched refs:currticks (Results 1 – 20 of 20) sorted by relevance

/external/grub/netboot/
Dcs89x0.c102 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()
[all …]
Dtimer.c105 unsigned long currticks(void) in currticks() function
109 unsigned long currticks; in currticks() local
120 :"=a" (currticks) in currticks()
124 return currticks; in currticks()
Ddavicom.c209 unsigned int to = currticks() + nticks; in davicom_wait()
210 while (currticks() < to) in davicom_wait()
375 to = currticks() + 2 * TICKS_PER_SEC; in davicom_media_chk()
376 while ( ((phy_read(1) & 0x24)!=0x24) && (currticks() < to)) in davicom_media_chk()
527 to = currticks() + TX_TIME_OUT; in davicom_reset()
528 while ((txd[TxPtr].status & 0x80000000) && (currticks() < to)) /* Sten 10/9 */ in davicom_reset()
531 if (currticks() >= to) { in davicom_reset()
539 printf("ticks = %d\n", currticks() - (to - TX_TIME_OUT)); in davicom_reset()
578 to = currticks() + TX_TIME_OUT; in davicom_transmit()
579 while ((txd[TxPtr].status & 0x80000000) && (currticks() < to)) in davicom_transmit()
[all …]
Dmisc.c28 unsigned long tmo = currticks () + secs; in sleep()
30 while (currticks () < tmo) in sleep()
44 if ((ticks = currticks ()) == lastticks) in twiddle()
Dsmc9000.c215 for (time_out = currticks() + 5*TICKS_PER_SEC; currticks() < time_out; ) { in smc9000_transmit()
280 status = 0; time_out = currticks() + 5*TICKS_PER_SEC; in smc9000_transmit()
316 }while(currticks() < time_out); in smc9000_transmit()
Drtl8139.c361 to = currticks() + RTL_TIMEOUT; in rtl_transmit()
370 } while (currticks() < to); in rtl_transmit()
378 to-currticks(), status, txstatus); in rtl_transmit()
383 currticks()-to, status, txstatus); in rtl_transmit()
Dtiara.c185 time = currticks() + TICKS_PER_SEC; /* wait one second */ in tiara_transmit()
186 while (currticks() < time && (inb(ioaddr) & (TMT_OK|TMT_16COLL)) == 0) in tiara_transmit()
Dnatsemi.c648 to = currticks() + TX_TIMEOUT; in natsemi_transmit()
650 while ((((volatile u32) tx_status=txd.cmdsts) & OWN) && (currticks() < to)) in natsemi_transmit()
653 if (currticks() >= to) { in natsemi_transmit()
Dmain.c556 starttime = currticks (); in bootp()
676 ip.bp.bp_secs = htons ((currticks () - starttime) / TICKS_PER_SEC); in bootp()
753 time = timeout + currticks (); in await_reply()
948 if ((timeout == 0) || (currticks() > time)) in await_reply()
1148 seed = (currticks () + *((long *) &arptable[ARP_CLIENT].node) in rfc2131_sleep_interval()
Dtulip.c533 unsigned int to = currticks() + nticks; in tulip_wait()
534 while (currticks() < to) in tulip_wait()
1040 to = currticks() + TX_TIME_OUT; in tulip_reset()
1041 while ((tx_ring[0].status & 0x80000000) && (currticks() < to)) in tulip_reset()
1044 if (currticks() >= to) { in tulip_reset()
1105 to = currticks() + TX_TIME_OUT; in tulip_transmit()
1106 while ((tx_ring[0].status & 0x80000000) && (currticks() < to)) in tulip_transmit()
1109 if (currticks() >= to) { in tulip_transmit()
Di82586.c351 time = currticks() + TICKS_PER_SEC; /* allow 1 second to init */ in i82586_reset()
355 if (currticks() > time) in i82586_reset()
Dvia-rhine.c899 timeout = currticks() + 2; in rhine_probe1()
900 for (timeout = currticks() + 2; currticks() < timeout;) in rhine_probe1()
Dsis900.c941 to = currticks() + TX_TIMEOUT; in sis900_transmit()
943 while ((((volatile u32) tx_status=txd.cmdsts) & OWN) && (currticks() < to)) in sis900_transmit()
946 if (currticks() >= to) { in sis900_transmit()
Dlance.c369 time = currticks() + TICKS_PER_SEC; /* wait one second */ in lance_transmit()
370 while (currticks() < time && (lp->tx_ring.u.base & 0x80000000) != 0) in lance_transmit()
Dns8390.c303 start_time = currticks(); in eth_rx_overrun()
304 while (currticks() - start_time <= 1) in eth_rx_overrun()
/external/grub/stage2/
Dshared.h779 int currticks (void);
Dasm.S2265 ENTRY(currticks)
Dbuiltins.c2598 seed = currticks (); in md5crypt_func()
/external/grub/grub/
Dasmstub.c492 currticks (void) in currticks() function
/external/grub/
DChangeLog2859 * stage2/builtins.c (md5crypt_func): Use all bits of currticks ()
3644 [!STAGE1_5] (currticks): Likewise, and don't zero %eax
5883 * stage2/asm.S [!STAGE1_5] (currticks): Set %eax to %cx:%dx
7192 * stage2/asm.S [!STAGE1_5] (currticks): New function.
7210 (currticks): Declared.