Searched refs:num_tx_ring (Results 1 – 4 of 4) sorted by relevance
1242 entry = mdp->dirty_tx % mdp->num_tx_ring; in sh_eth_tx_free()1263 if (entry >= mdp->num_tx_ring - 1) in sh_eth_tx_free()1328 int tx_ringsize = sizeof(*txdesc) * mdp->num_tx_ring; in sh_eth_ring_format()1382 for (i = 0; i < mdp->num_tx_ring; i++) { in sh_eth_ring_format()1546 for (i = 0; i < mdp->num_tx_ring; i++) in sh_eth_dev_exit()2306 ring->tx_pending = mdp->num_tx_ring; in sh_eth_get_ringparam()2345 mdp->num_tx_ring = ring->tx_pending; in sh_eth_set_ringparam()2482 for (i = 0; i < mdp->num_tx_ring; i++) { in sh_eth_tx_timeout()2517 entry = mdp->cur_tx % mdp->num_tx_ring; in sh_eth_start_xmit()2533 if (entry >= mdp->num_tx_ring - 1) in sh_eth_start_xmit()[all …]
209 entry = priv->dirty_tx[q] % (priv->num_tx_ring[q] * in ravb_tx_free()305 (priv->num_tx_ring[q] * num_tx_desc + 1); in ravb_ring_free()412 for (i = 0, tx_desc = priv->tx_ring[q]; i < priv->num_tx_ring[q]; in ravb_ring_format()473 priv->tx_skb[q] = kcalloc(priv->num_tx_ring[q], in ravb_ring_init()488 priv->tx_align[q] = kmalloc(DPTR_ALIGN * priv->num_tx_ring[q] + in ravb_ring_init()502 (priv->num_tx_ring[q] * num_tx_desc + 1); in ravb_ring_init()1615 ring->tx_pending = priv->num_tx_ring[RAVB_BE]; in ravb_get_ringparam()1655 priv->num_tx_ring[RAVB_BE] = ring->tx_pending; in ravb_set_ringparam()2036 (priv->num_tx_ring[q] - 1) * num_tx_desc && in ravb_start_xmit()2622 priv->num_tx_ring[RAVB_BE] = BE_TX_RING_SIZE; in ravb_probe()[all …]
537 u32 num_tx_ring; member
1045 u32 num_tx_ring[NUM_TX_QUEUE]; member
Completed in 27 milliseconds