Searched refs:rxd (Results 1 – 4 of 4) sorted by relevance
/external/grub/netboot/ |
D | otulip.c | 44 static struct rxdesc rxd[NRXD]; variable 241 memset(&rxd[x], 0, sizeof(struct rxdesc)); in tulip_reset() 242 rxd[x].buf1addr = &rxb[x * BUFLEN]; in tulip_reset() 243 rxd[x].buf2addr = 0; /* not used */ in tulip_reset() 244 rxd[x].buf1sz = BUFLEN; in tulip_reset() 245 rxd[x].buf2sz = 0; /* not used */ in tulip_reset() 246 rxd[x].control = 0x0; in tulip_reset() 247 rxd[x].status = 0x80000000; /* give ownership it to 21143 */ in tulip_reset() 249 rxd[NRXD - 1].control = 0x008; /* Set Receive end of ring on la in tulip_reset() 255 outl((unsigned long)&rxd[0], ioaddr + CSR3); in tulip_reset() [all …]
|
D | davicom.c | 149 static struct rxdesc rxd[NRXD] __attribute__ ((aligned(4))); variable 469 rxd[i].buf1addr = &rxb[i * BUFLEN]; in davicom_init_chain() 470 rxd[i].buf2addr = (unsigned char *)&rxd[i+1]; /* Point to Next RX desc */ in davicom_init_chain() 471 rxd[i].buf1sz = BUFLEN; in davicom_init_chain() 472 rxd[i].buf2sz = 0; /* not used */ in davicom_init_chain() 473 rxd[i].control = 0x4; /* Chain Structure */ in davicom_init_chain() 474 rxd[i].status = 0x80000000; /* give ownership to device */ in davicom_init_chain() 479 rxd[NRXD - 1].buf2addr = (unsigned char *)&rxd[0]; in davicom_init_chain() 510 outl((unsigned long)&rxd[0], ioaddr + CSR3); in davicom_reset() 598 if (rxd[rxd_tail].status & 0x80000000) in davicom_poll() [all …]
|
D | natsemi.c | 208 static BufferDesc rxd[NUM_RX_DESC] __attribute__ ((aligned(4))); variable 538 rxd[i].link = (i+1 < NUM_RX_DESC) ? (u32) &rxd[i+1] : (u32) &rxd[0]; in natsemi_init_rxd() 539 rxd[i].cmdsts = (u32) RX_BUF_SIZE; in natsemi_init_rxd() 540 rxd[i].bufptr = (u32) &rxb[i*RX_BUF_SIZE]; in natsemi_init_rxd() 543 i, &rxd[i], rxd[i].link, rxd[i].cmdsts, rxd[i].bufptr); in natsemi_init_rxd() 547 outl((u32) &rxd[0], ioaddr + RxRingPtr); in natsemi_init_rxd() 679 u32 rx_status = rxd[cur_rx].cmdsts; in natsemi_poll() 706 rxd[cur_rx].cmdsts = RX_BUF_SIZE; in natsemi_poll() 707 rxd[cur_rx].bufptr = (u32) &rxb[cur_rx*RX_BUF_SIZE]; in natsemi_poll()
|
D | sis900.c | 60 static BufferDesc rxd[NUM_RX_DESC]; variable 618 rxd[i].link = (i+1 < NUM_RX_DESC) ? (u32) &rxd[i+1] : (u32) &rxd[0]; in sis900_init_rxd() 619 rxd[i].cmdsts = (u32) RX_BUF_SIZE; in sis900_init_rxd() 620 rxd[i].bufptr = (u32) &rxb[i*RX_BUF_SIZE]; in sis900_init_rxd() 623 i, &rxd[i], rxd[i].link, rxd[i].cmdsts, rxd[i].bufptr); in sis900_init_rxd() 627 outl((u32) &rxd[0], ioaddr + rxdp); in sis900_init_rxd() 976 u32 rx_status = rxd[cur_rx].cmdsts; in sis900_poll() 1003 rxd[cur_rx].cmdsts = RX_BUF_SIZE; in sis900_poll() 1004 rxd[cur_rx].bufptr = (u32) &rxb[cur_rx*RX_BUF_SIZE]; in sis900_poll()
|