Lines Matching refs:txd
819 * update the nxtptr to point to the next txd.
1188 volatile struct gt_eth_desc * const txd = &txq->txq_descs[txq->txq_lo];
1293 txd->ed_bufptr = htogt32(txq->txq_buf_busaddr + txq->txq_outptr);
1294 txd->ed_lencnt = htogt32(m->m_pkthdr.len << 16);
1303 txd->ed_cmdsts = htogt32(TX_CMD_FIRST |TX_CMD_LAST |TX_CMD_EI);
1306 txd->ed_cmdsts = htogt32(TX_CMD_FIRST | TX_CMD_LAST);
1310 ((unsigned long *)txd)[0], ((unsigned long *)txd)[1],
1311 ((unsigned long *)txd)[2], ((unsigned long *)txd)[3]));
1370 volatile struct gt_eth_desc *txd = &txq->txq_descs[txq->txq_fi];
1375 if ((cmdsts = gt32toh(txd->ed_cmdsts)) & TX_CMD_O) {
1410 ((unsigned long *)txd)[0], ((unsigned long *)txd)[1],
1411 ((unsigned long *)txd)[2], ((unsigned long *)txd)[3]));
1416 txq->txq_inptr = gt32toh(txd->ed_bufptr) - txq->txq_buf_busaddr;
1417 pktlen = (gt32toh(txd->ed_lencnt) >> 16) & 0xffff;
1427 /* txd->ed_bufptr = 0; */
1472 volatile struct gt_eth_desc *txd;
1507 for (i = 0, txd = txq->txq_descs,
1508 addr = txq->txq_desc_busaddr + sizeof(*txd);
1509 i < GE_TXDESC_MAX - 1; i++, txd++, addr += sizeof(*txd)) {
1511 * update the nxtptr to point to the next txd.
1513 txd->ed_cmdsts = 0;
1514 txd->ed_nxtptr = htogt32(addr);