Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/ni/
H A Dnixge.c200 u32 tx_bd_tail; member
292 priv->tx_bd_tail = 0; in nixge_hw_dma_bd_init()
518 cur_p = &priv->tx_bd_v[priv->tx_bd_tail]; in nixge_start_xmit()
541 ++priv->tx_bd_tail; in nixge_start_xmit()
542 priv->tx_bd_tail %= TX_BD_NUM; in nixge_start_xmit()
570 ++priv->tx_bd_tail; in nixge_start_xmit()
571 priv->tx_bd_tail %= TX_BD_NUM; in nixge_start_xmit()
576 if (priv->tx_bd_tail) in nixge_start_xmit()
577 priv->tx_bd_tail--; in nixge_start_xmit()
579 priv->tx_bd_tail = TX_BD_NUM - 1; in nixge_start_xmit()
[all …]
/openbmc/linux/drivers/net/ethernet/xilinx/
H A Dll_temac_main.c392 lp->tx_bd_tail = 0; in temac_dma_bd_init()
824 tail = lp->tx_bd_tail; in temac_check_tx_bd_space()
857 cur_p = &lp->tx_bd_v[lp->tx_bd_tail]; in temac_start_xmit()
899 lp->tx_bd_tail = 0; in temac_start_xmit()
901 cur_p = &lp->tx_bd_v[lp->tx_bd_tail]; in temac_start_xmit()
907 if (--lp->tx_bd_tail < 0) in temac_start_xmit()
908 lp->tx_bd_tail = lp->tx_bd_num - 1; in temac_start_xmit()
916 if (--lp->tx_bd_tail < 0) in temac_start_xmit()
940 lp->tx_bd_tail++; in temac_start_xmit()
941 if (lp->tx_bd_tail >= lp->tx_bd_num) in temac_start_xmit()
[all …]
H A Dll_temac.h387 int tx_bd_tail; member
H A Dxilinx_axienet.h480 u32 tx_bd_tail; member
H A Dxilinx_axienet_main.c294 lp->tx_bd_tail = 0; in axienet_dma_bd_init()
730 cur_p = &lp->tx_bd_v[(READ_ONCE(lp->tx_bd_tail) + num_frag) % in axienet_check_tx_bd_space()
810 orig_tail_ptr = lp->tx_bd_tail; in axienet_start_xmit()
882 WRITE_ONCE(lp->tx_bd_tail, new_tail_ptr); in axienet_start_xmit()
1824 lp->tx_bd_tail = 0; in axienet_dma_err_handler()