Home
last modified time | relevance | path

Searched refs:rxd_tail (Results 1 – 2 of 2) sorted by relevance

/external/grub/netboot/
Ddavicom.c155 static int rxd_tail; variable
481 rxd_tail = 0; in davicom_init_chain()
598 if (rxd[rxd_tail].status & 0x80000000) in davicom_poll()
603 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16; in davicom_poll()
605 if( rxd[rxd_tail].status & 0x00008000){ in davicom_poll()
606 rxd[rxd_tail].status = 0x80000000; in davicom_poll()
607 rxd_tail++; in davicom_poll()
608 if (rxd_tail == NRXD) rxd_tail = 0; in davicom_poll()
617 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen); in davicom_poll()
620 rxd[rxd_tail].status = 0x80000000; in davicom_poll()
[all …]
Dotulip.c45 static int rxd_tail = 0; variable
251 rxd_tail = 0; in tulip_reset()
314 if (rxd[rxd_tail].status & 0x80000000) return 0; in tulip_poll()
316 nic->packetlen = (rxd[rxd_tail].status & 0x3FFF0000) >> 16; in tulip_poll()
323 memcpy(nic->packet, rxb + rxd_tail * BUFLEN, nic->packetlen); in tulip_poll()
326 rxd[rxd_tail].status = 0x80000000; in tulip_poll()
327 rxd_tail++; in tulip_poll()
328 if (rxd_tail == NRXD) rxd_tail = 0; in tulip_poll()