Lines Matching refs:txbdp
178 struct txbd8 *txbdp; in gfar_init_bds() local
194 txbdp = tx_queue->tx_bd_base; in gfar_init_bds()
196 txbdp->lstatus = 0; in gfar_init_bds()
197 txbdp->bufPtr = 0; in gfar_init_bds()
198 txbdp++; in gfar_init_bds()
202 txbdp--; in gfar_init_bds()
203 txbdp->status = cpu_to_be16(be16_to_cpu(txbdp->status) | in gfar_init_bds()
1895 struct txbd8 *txbdp; in free_skb_tx_queue() local
1899 txbdp = tx_queue->tx_bd_base; in free_skb_tx_queue()
1905 dma_unmap_single(priv->dev, be32_to_cpu(txbdp->bufPtr), in free_skb_tx_queue()
1906 be16_to_cpu(txbdp->length), DMA_TO_DEVICE); in free_skb_tx_queue()
1907 txbdp->lstatus = 0; in free_skb_tx_queue()
1910 txbdp++; in free_skb_tx_queue()
1911 dma_unmap_page(priv->dev, be32_to_cpu(txbdp->bufPtr), in free_skb_tx_queue()
1912 be16_to_cpu(txbdp->length), in free_skb_tx_queue()
1915 txbdp++; in free_skb_tx_queue()
2252 struct txbd8 *txbdp, *txbdp_start, *base, *txbdp_tstamp = NULL; in gfar_start_xmit() local
2319 txbdp = txbdp_start = tx_queue->cur_tx; in gfar_start_xmit()
2320 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
2324 txbdp_tstamp = txbdp = next_txbd(txbdp, base, in gfar_start_xmit()
2341 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2345 lstatus = be32_to_cpu(txbdp->lstatus) | frag_len | in gfar_start_xmit()
2361 txbdp->bufPtr = cpu_to_be32(bufaddr); in gfar_start_xmit()
2362 txbdp->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
2464 tx_queue->cur_tx = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2487 txbdp = next_txbd(txbdp_start, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2489 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2491 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
2496 txbdp->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
2497 bufaddr = be32_to_cpu(txbdp->bufPtr); in gfar_start_xmit()
2498 dma_unmap_page(priv->dev, bufaddr, be16_to_cpu(txbdp->length), in gfar_start_xmit()
2500 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()