Searched refs:tx_curr_desc (Results 1 – 4 of 4) sorted by relevance
346 int tx_curr_desc; member473 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 …]
631 int tx_curr_desc, rx_curr_desc; in eth_port_start() local636 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()
269 int tx_curr_desc; member
618 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()