Lines Matching refs:txbdp
1088 struct txbd8 *txbdp; in free_skb_tx_queue() local
1092 txbdp = tx_queue->tx_bd_base; in free_skb_tx_queue()
1098 dma_unmap_single(priv->dev, be32_to_cpu(txbdp->bufPtr), in free_skb_tx_queue()
1099 be16_to_cpu(txbdp->length), DMA_TO_DEVICE); in free_skb_tx_queue()
1100 txbdp->lstatus = 0; in free_skb_tx_queue()
1103 txbdp++; in free_skb_tx_queue()
1104 dma_unmap_page(priv->dev, be32_to_cpu(txbdp->bufPtr), in free_skb_tx_queue()
1105 be16_to_cpu(txbdp->length), in free_skb_tx_queue()
1108 txbdp++; in free_skb_tx_queue()
1312 struct txbd8 *txbdp; in gfar_init_bds() local
1326 txbdp = tx_queue->tx_bd_base; in gfar_init_bds()
1328 txbdp->lstatus = 0; in gfar_init_bds()
1329 txbdp->bufPtr = 0; in gfar_init_bds()
1330 txbdp++; in gfar_init_bds()
1334 txbdp--; in gfar_init_bds()
1335 txbdp->status = cpu_to_be16(be16_to_cpu(txbdp->status) | in gfar_init_bds()
1800 struct txbd8 *txbdp, *txbdp_start, *base, *txbdp_tstamp = NULL; in gfar_start_xmit() local
1867 txbdp = txbdp_start = tx_queue->cur_tx; in gfar_start_xmit()
1868 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
1913 txbdp_tstamp = txbdp = next_txbd(txbdp, base, in gfar_start_xmit()
1928 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
1932 lstatus = be32_to_cpu(txbdp->lstatus) | size | in gfar_start_xmit()
1945 txbdp->bufPtr = cpu_to_be32(bufaddr); in gfar_start_xmit()
1946 txbdp->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
1995 tx_queue->cur_tx = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2022 txbdp = next_txbd(txbdp_start, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2024 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2026 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
2031 txbdp->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
2032 bufaddr = be32_to_cpu(txbdp->bufPtr); in gfar_start_xmit()
2033 dma_unmap_page(priv->dev, bufaddr, be16_to_cpu(txbdp->length), in gfar_start_xmit()
2035 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()