Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/marvell/
Dmv643xx_eth.c346 int tx_curr_desc; member
473 addr += txq->tx_curr_desc * sizeof(struct tx_desc); in txq_reset_hw_ptr()
735 tx_index = txq->tx_curr_desc++; in txq_put_data_tso()
736 if (txq->tx_curr_desc == txq->tx_ring_size) in txq_put_data_tso()
737 txq->tx_curr_desc = 0; in txq_put_data_tso()
787 tx_index = txq->tx_curr_desc; in txq_put_hdr_tso()
801 txq->tx_curr_desc * TSO_HEADER_SIZE; in txq_put_hdr_tso()
813 txq->tx_curr_desc++; in txq_put_hdr_tso()
814 if (txq->tx_curr_desc == txq->tx_ring_size) in txq_put_hdr_tso()
815 txq->tx_curr_desc = 0; in txq_put_hdr_tso()
[all …]
Dpxa168_eth.c631 int tx_curr_desc, rx_curr_desc; in eth_port_start() local
636 tx_curr_desc = pep->tx_curr_desc_q; in eth_port_start()
638 (u32) (pep->tx_desc_dma + tx_curr_desc * sizeof(struct tx_desc))); in eth_port_start()
/Linux-v6.6/drivers/net/ethernet/broadcom/
Dbcm63xx_enet.h269 int tx_curr_desc; member
Dbcm63xx_enet.c618 desc = &priv->tx_desc_cpu[priv->tx_curr_desc]; in bcm_enet_start_xmit()
619 priv->tx_skb[priv->tx_curr_desc] = skb; in bcm_enet_start_xmit()
630 priv->tx_curr_desc++; in bcm_enet_start_xmit()
631 if (priv->tx_curr_desc == priv->tx_ring_size) { in bcm_enet_start_xmit()
632 priv->tx_curr_desc = 0; in bcm_enet_start_xmit()
993 priv->tx_curr_desc = 0; in bcm_enet_open()
2163 priv->tx_curr_desc = 0; in bcm_enetsw_open()