Lines Matching refs:txd
140 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()
519 txd[TxPtr].control = 0x024; /* SF/CE */ in davicom_reset()
520 txd[TxPtr].status = 0x80000000; /* Give ownership to device */ in davicom_reset()
528 while ((txd[TxPtr].status & 0x80000000) && (currticks() < to)) /* Sten 10/9 */ in davicom_reset()
538 printf("txd.status = %X\n", txd.status); in davicom_reset()
571 txd[TxPtr].buf1sz = ETH_HLEN+s; in davicom_transmit()
572 txd[TxPtr].control = 0x00000184; /* LS+FS+CE */ in davicom_transmit()
573 txd[TxPtr].status = 0x80000000; /* give ownership to device */ in davicom_transmit()
579 while ((txd[TxPtr].status & 0x80000000) && (currticks() < to)) in davicom_transmit()