Home
last modified time | relevance | path

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

/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()
500 cur_p = &priv->tx_bd_v[(priv->tx_bd_tail + num_frag) % TX_BD_NUM]; in nixge_check_tx_bd_space()
518 cur_p = &priv->tx_bd_v[priv->tx_bd_tail]; in nixge_start_xmit()
519 tx_skb = &priv->tx_skb[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()
543 cur_p = &priv->tx_bd_v[priv->tx_bd_tail]; in nixge_start_xmit()
544 tx_skb = &priv->tx_skb[priv->tx_bd_tail]; in nixge_start_xmit()
567 tail_p = priv->tx_bd_p + sizeof(*priv->tx_bd_v) * priv->tx_bd_tail; in nixge_start_xmit()
[all …]
/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()
898 if (++lp->tx_bd_tail >= lp->tx_bd_num) 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()
909 cur_p = &lp->tx_bd_v[lp->tx_bd_tail]; in temac_start_xmit()
916 if (--lp->tx_bd_tail < 0) in temac_start_xmit()
[all …]
H A Dll_temac.h387 int tx_bd_tail; member
H A Dxilinx_axienet.h584 u32 tx_bd_tail; member
H A Dxilinx_axienet_main.c314 lp->tx_bd_tail = 0; in axienet_dma_bd_init()
814 cur_p = &lp->tx_bd_v[(READ_ONCE(lp->tx_bd_tail) + num_frag) % in axienet_check_tx_bd_space()
1016 orig_tail_ptr = lp->tx_bd_tail; in axienet_start_xmit()
1088 WRITE_ONCE(lp->tx_bd_tail, new_tail_ptr); in axienet_start_xmit()
2523 lp->tx_bd_tail = 0; in axienet_dma_err_handler()