Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlxbf_gige/
H A Dmlxbf_gige_tx.c49 priv->tx_pi = 0; in mlxbf_gige_tx_init()
115 if (priv->prev_tx_ci == priv->tx_pi) in mlxbf_gige_tx_buffs_avail()
118 avail = ((priv->tx_q_entries + priv->prev_tx_ci - priv->tx_pi) in mlxbf_gige_tx_buffs_avail()
260 priv->tx_skb[priv->tx_pi % priv->tx_q_entries] = tx_skb; in mlxbf_gige_start_xmit()
261 priv->tx_pi++; in mlxbf_gige_start_xmit()
267 writeq(priv->tx_pi, priv->base + MLXBF_GIGE_TX_PRODUCER_INDEX); in mlxbf_gige_start_xmit()
H A Dmlxbf_gige.h117 u16 tx_pi; member
/linux/drivers/net/ethernet/sgi/
H A Dioc3-eth.c94 int tx_pi; /* TX producer index */ member
644 ip->tx_pi = 0; in ioc3_clean_tx_ring()
759 writel(ip->tx_pi << 7, &regs->etpir); in ioc3_start()
1038 produce = ip->tx_pi; in ioc3_start_xmit()
1087 ip->tx_pi = produce; in ioc3_start_xmit()