Lines Matching refs:txd
401 struct nb8800_tx_desc *txd; in nb8800_xmit() local
434 txd = &priv->tx_descs[next]; in nb8800_xmit()
435 desc = &txd->desc[0]; in nb8800_xmit()
440 memcpy(txd->buf, skb->data, align); in nb8800_xmit()
444 desc->n_addr = txb->dma_desc + sizeof(txd->desc[0]); in nb8800_xmit()
505 struct nb8800_tx_desc *txd = &priv->tx_descs[done]; in nb8800_tx_done() local
509 if (!txd->report) in nb8800_tx_done()
518 if (IS_TX_ERROR(txd->report)) { in nb8800_tx_done()
519 nb8800_tx_error(dev, txd->report); in nb8800_tx_done()
526 dev->stats.tx_bytes += TX_BYTES_TRANSFERRED(txd->report); in nb8800_tx_done()
527 dev->stats.collisions += TX_EARLY_COLLISIONS(txd->report); in nb8800_tx_done()
531 txd->report = 0; in nb8800_tx_done()
794 struct nb8800_tx_desc *txd; in nb8800_dma_reset() local
818 txd = &priv->tx_descs[i]; in nb8800_dma_reset()
819 txd->desc[0].r_addr = r_dma; in nb8800_dma_reset()
820 txd->desc[1].r_addr = r_dma; in nb8800_dma_reset()
821 txd->report = 0; in nb8800_dma_reset()
884 struct nb8800_tx_desc *txd = &priv->tx_descs[0]; in nb8800_dma_stop() local
910 txd->desc[0].s_addr = in nb8800_dma_stop()
912 txd->desc[0].config = DESC_BTS(2) | DESC_DS | DESC_EOF | DESC_EOC | 8; in nb8800_dma_stop()
913 memset(txd->buf, 0, sizeof(txd->buf)); in nb8800_dma_stop()