Searched refs:tx_idx (Results 1 – 4 of 4) sorted by relevance
245 in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_READY; in tsec_send()253 out_be32(&priv->txbd[priv->tx_idx].bufptr, (u32)packet); in tsec_send()254 out_be16(&priv->txbd[priv->tx_idx].length, length); in tsec_send()255 status = in_be16(&priv->txbd[priv->tx_idx].status); in tsec_send()256 out_be16(&priv->txbd[priv->tx_idx].status, status | in tsec_send()264 in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_READY; in tsec_send()272 priv->tx_idx = (priv->tx_idx + 1) % TX_BUF_CNT; in tsec_send()273 result = in_be16(&priv->txbd[priv->tx_idx].status) & TXBD_STATS; in tsec_send()483 priv->tx_idx = 0; in startup_tsec()
72 priv->tx_idx = 0; in pch_gbe_reset()254 tx_desc = &priv->tx_desc[priv->tx_idx]; in pch_gbe_send()269 if (++priv->tx_idx >= PCH_GBE_DESC_NUM) in pch_gbe_send()270 priv->tx_idx = 0; in pch_gbe_send()272 writel(dm_pci_virt_to_mem(priv->dev, tx_head + priv->tx_idx), in pch_gbe_send()
294 int tx_idx; member
408 uint tx_idx; /* index of the current TX buffer */ member