Home
last modified time | relevance | path

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

/external/grub/netboot/
Dotulip.c43 #define NRXD 4 macro
44 static struct rxdesc rxd[NRXD];
47 #define rxb ((char *)0x10000 - NRXD * BUFLEN)
48 #define txb ((char *)0x10000 - NRXD * BUFLEN - BUFLEN)
50 static unsigned char rxb[NRXD * BUFLEN];
240 for(x=0;x<NRXD;x++) { in tulip_reset()
249 rxd[NRXD - 1].control = 0x008; /* Set Receive end of ring on la in tulip_reset()
328 if (rxd_tail == NRXD) rxd_tail = 0; in tulip_poll()
Ddavicom.c148 #define NRXD 4 macro
149 static struct rxdesc rxd[NRXD] __attribute__ ((aligned(4)));
151 #define rxb ((char *)0x10000 - NRXD * BUFLEN - BUFLEN)
153 static unsigned char rxb[NRXD * BUFLEN] __attribute__ ((aligned(4)));
468 for (i=0; i<NRXD; i++) { in davicom_init_chain()
479 rxd[NRXD - 1].buf2addr = (unsigned char *)&rxd[0]; in davicom_init_chain()
608 if (rxd_tail == NRXD) rxd_tail = 0; in davicom_poll()
622 if (rxd_tail == NRXD) rxd_tail = 0; in davicom_poll()