Lines Matching refs:txbdp

177 	struct txbd8 *txbdp;  in gfar_init_bds()  local
191 txbdp = tx_queue->tx_bd_base; in gfar_init_bds()
193 txbdp->lstatus = 0; in gfar_init_bds()
194 txbdp->bufPtr = 0; in gfar_init_bds()
195 txbdp++; in gfar_init_bds()
199 txbdp--; in gfar_init_bds()
200 txbdp->status = cpu_to_be16(be16_to_cpu(txbdp->status) | in gfar_init_bds()
1955 struct txbd8 *txbdp; in free_skb_tx_queue() local
1959 txbdp = tx_queue->tx_bd_base; in free_skb_tx_queue()
1965 dma_unmap_single(priv->dev, be32_to_cpu(txbdp->bufPtr), in free_skb_tx_queue()
1966 be16_to_cpu(txbdp->length), DMA_TO_DEVICE); in free_skb_tx_queue()
1967 txbdp->lstatus = 0; in free_skb_tx_queue()
1970 txbdp++; in free_skb_tx_queue()
1971 dma_unmap_page(priv->dev, be32_to_cpu(txbdp->bufPtr), in free_skb_tx_queue()
1972 be16_to_cpu(txbdp->length), in free_skb_tx_queue()
1975 txbdp++; in free_skb_tx_queue()
2326 struct txbd8 *txbdp, *txbdp_start, *base, *txbdp_tstamp = NULL; in gfar_start_xmit() local
2392 txbdp = txbdp_start = tx_queue->cur_tx; in gfar_start_xmit()
2393 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
2397 txbdp_tstamp = txbdp = next_txbd(txbdp, base, in gfar_start_xmit()
2414 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2418 lstatus = be32_to_cpu(txbdp->lstatus) | frag_len | in gfar_start_xmit()
2434 txbdp->bufPtr = cpu_to_be32(bufaddr); in gfar_start_xmit()
2435 txbdp->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
2524 tx_queue->cur_tx = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2551 txbdp = next_txbd(txbdp_start, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2553 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()
2555 lstatus = be32_to_cpu(txbdp->lstatus); in gfar_start_xmit()
2560 txbdp->lstatus = cpu_to_be32(lstatus); in gfar_start_xmit()
2561 bufaddr = be32_to_cpu(txbdp->bufPtr); in gfar_start_xmit()
2562 dma_unmap_page(priv->dev, bufaddr, be16_to_cpu(txbdp->length), in gfar_start_xmit()
2564 txbdp = next_txbd(txbdp, base, tx_queue->tx_ring_size); in gfar_start_xmit()