Home
last modified time | relevance | path

Searched refs:txd (Results 1 – 4 of 4) sorted by relevance

/external/grub/netboot/
Dotulip.c40 static struct txdesc txd; variable
211 memset(&txd, 0, sizeof(struct txdesc)); in tulip_reset()
212 txd.buf1addr = &txb[0]; in tulip_reset()
213 txd.buf2addr = &txb[0]; /* just in case */ in tulip_reset()
214 txd.buf1sz = 192; /* setup packet must be 192 bytes */ in tulip_reset()
215 txd.buf2sz = 0; in tulip_reset()
216 txd.control = 0x020; /* setup packet */ in tulip_reset()
217 txd.status = 0x80000000; /* give ownership to 21143 */ in tulip_reset()
230 outl((unsigned long)&txd, ioaddr + CSR4); /* set xmit buf */ in tulip_reset()
280 memset(&txd, 0, sizeof(struct txdesc)); in tulip_transmit()
[all …]
Ddavicom.c140 static struct txdesc txd[NTXD] __attribute__ ((aligned(4))); variable
449 txd[i].buf1addr = &txb[0]; /* Used same TX buffer */ in davicom_init_chain()
450 txd[i].buf2addr = (unsigned char *)&txd[i+1]; /* Point to Next TX desc */ in davicom_init_chain()
451 txd[i].buf1sz = 0; in davicom_init_chain()
452 txd[i].buf2sz = 0; in davicom_init_chain()
453 txd[i].control = 0x184; /* Begin/End/Chain */ in davicom_init_chain()
454 txd[i].status = 0x00000000; /* give ownership to Host */ in davicom_init_chain()
478 txd[NTXD - 1].buf2addr = (unsigned char *)&txd[0]; in davicom_init_chain()
511 outl((unsigned long)&txd[0], ioaddr + CSR4); /* Sten 10/9 */ in davicom_reset()
518 txd[TxPtr].buf1sz = 192; in davicom_reset()
[all …]
Dnatsemi.c207 static BufferDesc txd __attribute__ ((aligned(4))); variable
509 txd.link = (u32) 0; in natsemi_init_txd()
510 txd.cmdsts = (u32) 0; in natsemi_init_txd()
511 txd.bufptr = (u32) &txb[0]; in natsemi_init_txd()
514 outl((u32) &txd, ioaddr + TxRingPtr); in natsemi_init_txd()
617 outl((u32) &txd, ioaddr + TxRingPtr); in natsemi_transmit()
639 txd.bufptr = (u32) &txb[0]; in natsemi_transmit()
640 txd.cmdsts = (u32) OWN | s; in natsemi_transmit()
650 while ((((volatile u32) tx_status=txd.cmdsts) & OWN) && (currticks() < to)) in natsemi_transmit()
Dsis900.c59 static BufferDesc txd; variable
588 txd.link = (u32) 0; in sis900_init_txd()
589 txd.cmdsts = (u32) 0; in sis900_init_txd()
590 txd.bufptr = (u32) &txb[0]; in sis900_init_txd()
593 outl((u32) &txd, ioaddr + txdp); in sis900_init_txd()
910 outl((u32) &txd, ioaddr + txdp); in sis900_transmit()
932 txd.bufptr = (u32) &txb[0]; in sis900_transmit()
933 txd.cmdsts = (u32) OWN | s; in sis900_transmit()
943 while ((((volatile u32) tx_status=txd.cmdsts) & OWN) && (currticks() < to)) in sis900_transmit()