Home
last modified time | relevance | path

Searched refs:new_tail_ptr (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/ethernet/xilinx/
H A Dxilinx_axienet_main.c806 u32 orig_tail_ptr, new_tail_ptr; in axienet_start_xmit() local
811 new_tail_ptr = orig_tail_ptr; in axienet_start_xmit()
855 if (++new_tail_ptr >= lp->tx_bd_num) in axienet_start_xmit()
856 new_tail_ptr = 0; in axienet_start_xmit()
857 cur_p = &lp->tx_bd_v[new_tail_ptr]; in axienet_start_xmit()
879 tail_p = lp->tx_bd_p + sizeof(*lp->tx_bd_v) * new_tail_ptr; in axienet_start_xmit()
880 if (++new_tail_ptr >= lp->tx_bd_num) in axienet_start_xmit()
881 new_tail_ptr = 0; in axienet_start_xmit()
882 WRITE_ONCE(lp->tx_bd_tail, new_tail_ptr); in axienet_start_xmit()