Home
last modified time | relevance | path

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

/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Ddavicom.c196 unsigned int to = currticks() + nticks; in davicom_wait()
197 while (currticks() < to) in davicom_wait()
362 to = currticks() + 2 * TICKS_PER_SEC; in davicom_media_chk()
363 while ( ((phy_read(1) & 0x24)!=0x24) && (currticks() < to)) in davicom_media_chk()
513 to = currticks() + TX_TIME_OUT; in davicom_reset()
514 while ((txd[TxPtr].status & 0x80000000) && (currticks() < to)) /* Sten 10/9 */ in davicom_reset()
517 if (currticks() >= to) { in davicom_reset()
525 printf("ticks = %d\n", currticks() - (to - TX_TIME_OUT)); in davicom_reset()
564 to = currticks() + TX_TIME_OUT; in davicom_transmit()
565 while ((txd[TxPtr].status & 0x80000000) && (currticks() < to)) in davicom_transmit()
[all …]
H A Di386_timer.c139 unsigned long currticks(void) in currticks() function
142 unsigned long currticks; in currticks() local
148 :"=a" (currticks) in currticks()
152 return currticks; in currticks()
H A Dmisc.c35 seed = currticks() + *(int32_t *)&arptable[ARP_CLIENT].node in random()
61 for (tmo = currticks()+secs*TICKS_PER_SEC; currticks() < tmo; ) { in sleep()
93 ticks = currticks(); in twiddle()
H A Drtl8139.c395 to = currticks() + RTL_TIMEOUT; in rtl_transmit()
404 } while (currticks() < to); in rtl_transmit()
412 to-currticks(), status, txstatus); in rtl_transmit()
417 currticks()-to, status, txstatus); in rtl_transmit()
H A Dnic.c588 starttime = currticks(); in bootp()
611 ip.bp.bp_secs = htons((currticks()-starttime)/TICKS_PER_SEC); in bootp()
689 starttime = currticks(); in dhcp()
738 ip.bp.bp_secs = htons((currticks()-starttime)/TICKS_PER_SEC); in dhcp()
804 time = currticks() + rfc1112_sleep_interval(interval, 0); in process_igmp()
870 igmptable[slot].time = currticks(); in join_group()
892 time = timeout + currticks(); in await_reply()
898 now = currticks(); in await_reply()
910 if ((timeout == 0) || (currticks() > time) || user_abort == 1) { in await_reply()
H A Dnatsemi.c647 to = currticks() + TX_TIMEOUT; in natsemi_transmit()
649 while ((((volatile u32) tx_status=txd.cmdsts) & OWN) && (currticks() < to)) in natsemi_transmit()
652 if (currticks() >= to) { in natsemi_transmit()
H A Dr8169.c536 to = currticks() + TX_TIMEOUT; in r8169_transmit()
537 while ((tpc->TxDescArray[entry].status & OWNbit) && (currticks() < to)); /* wait */ in r8169_transmit()
539 if (currticks() >= to) { in r8169_transmit()
H A Dtulip.c532 unsigned int to = currticks() + nticks; in tulip_wait()
533 while (currticks() < to) in tulip_wait()
1049 to = currticks() + TX_TIME_OUT; in tulip_reset()
1050 while ((tx_ring[0].status & 0x80000000) && (currticks() < to)) in tulip_reset()
1053 if (currticks() >= to) { in tulip_reset()
1115 to = currticks() + TX_TIME_OUT; in tulip_transmit()
1116 while ((tx_ring[0].status & 0x80000000) && (currticks() < to)) in tulip_transmit()
1119 if (currticks() >= to) { in tulip_transmit()
H A Dsundance.c549 to = currticks() + TX_TIME_OUT; in sundance_transmit()
550 while (!(tx_ring[0].status & 0x00010000) && (currticks() < to)); /* wait */ in sundance_transmit()
552 if (currticks() >= to) { in sundance_transmit()
H A Dsis900.c1116 to = currticks() + TX_TIMEOUT; in sis900_transmit()
1118 while ((((volatile u32) tx_status=txd.cmdsts) & OWN) && (currticks() < to)) in sis900_transmit()
1121 if (currticks() >= to) { in sis900_transmit()
H A Dvia-rhine.c992 timeout = currticks() + 2; in rhine_probe1()
993 for (timeout = currticks() + 2; currticks() < timeout;) in rhine_probe1()
H A Dtlan.c723 to = currticks() + TX_TIME_OUT; in tlan_transmit()
724 while ((tail_list->cStat == TLAN_CSTAT_READY) && currticks() < to); in tlan_transmit()
768 if (currticks() >= to) { in tlan_transmit()
H A Dns83820.c628 start = currticks(); in ns83820_run_bist()
640 if ((currticks() - start) >= HZ) { in ns83820_run_bist()
H A Dpcnet32.c621 time = currticks() + TICKS_PER_SEC; /* wait one second */ in pcnet32_transmit()
622 while (currticks() < time && in pcnet32_transmit()
H A Dns8390.c352 start_time = currticks(); in eth_rx_overrun()
353 while (currticks() - start_time <= 1) in eth_rx_overrun()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dshared.h864 int currticks (void);
H A Dasm.S2587 ENTRY(currticks)
H A Dbuiltins.c3085 seed = currticks (); in md5crypt_func()
/illumos-gate/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c497 currticks (void) in currticks() function
/illumos-gate/usr/src/grub/grub-0.97/
H A DChangeLog3018 * stage2/builtins.c (md5crypt_func): Use all bits of currticks ()
3803 [!STAGE1_5] (currticks): Likewise, and don't zero %eax
6042 * stage2/asm.S [!STAGE1_5] (currticks): Set %eax to %cx:%dx
7351 * stage2/asm.S [!STAGE1_5] (currticks): New function.
7369 (currticks): Declared.