Lines Matching refs:txbdp
1064 struct txbd8 *txbdp; in free_skb_tx_queue() local
1068 txbdp = tx_queue->tx_bd_base; in free_skb_tx_queue()
1074 dma_unmap_single(priv->dev, be32_to_cpu(txbdp->bufPtr), in free_skb_tx_queue()
1075 be16_to_cpu(txbdp->length), DMA_TO_DEVICE); in free_skb_tx_queue()
1076 txbdp->lstatus = 0; in free_skb_tx_queue()
1079 txbdp++; in free_skb_tx_queue()
1080 dma_unmap_page(priv->dev, be32_to_cpu(txbdp->bufPtr), in free_skb_tx_queue()
1081 be16_to_cpu(txbdp->length), in free_skb_tx_queue()
1084 txbdp++; in free_skb_tx_queue()
1288 struct txbd8 *txbdp; in gfar_init_bds() local
1302 txbdp = tx_queue->tx_bd_base; in gfar_init_bds()
1304 txbdp->lstatus = 0; in gfar_init_bds()
1305 txbdp->bufPtr = 0; in gfar_init_bds()
1306 txbdp++; in gfar_init_bds()
1310 txbdp--; in gfar_init_bds()
1311 txbdp->status = cpu_to_be16(be16_to_cpu(txbdp->status) | in gfar_init_bds()
1776 struct txbd8 *txbdp, *txbdp_start, *base, *txbdp_tstamp = NULL; in gfar_start_xmit() local
1835 txbdp = txbdp_start = tx_queue->cur_tx; in gfar_start_xmit()
1836 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
1881 txbdp_tstamp = txbdp = next_txbd(txbdp, base, in gfar_start_xmit()
1896 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
1900 lstatus = be32_to_cpu(txbdp->lstatus) | size | in gfar_start_xmit()
1913 txbdp->bufPtr = cpu_to_be32(bufaddr); in gfar_start_xmit()
1914 txbdp->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
1964 tx_queue->cur_tx = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
1991 txbdp = next_txbd(txbdp_start, base, tx_queue->tx_ring_size); in gfar_start_xmit()
1993 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
1995 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
2000 txbdp->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
2001 bufaddr = be32_to_cpu(txbdp->bufPtr); in gfar_start_xmit()
2002 dma_unmap_page(priv->dev, bufaddr, be16_to_cpu(txbdp->length), in gfar_start_xmit()
2004 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()