Searched refs:num_tx_ring (Results 1 – 4 of 4) sorted by relevance
206 entry = priv->dirty_tx[q] % (priv->num_tx_ring[q] * in ravb_tx_free()302 (priv->num_tx_ring[q] * num_tx_desc + 1); in ravb_ring_free()396 unsigned int tx_ring_size = sizeof(*tx_desc) * priv->num_tx_ring[q] * in ravb_ring_format()409 for (i = 0, tx_desc = priv->tx_ring[q]; i < priv->num_tx_ring[q]; in ravb_ring_format()470 priv->tx_skb[q] = kcalloc(priv->num_tx_ring[q], in ravb_ring_init()485 priv->tx_align[q] = kmalloc(DPTR_ALIGN * priv->num_tx_ring[q] + in ravb_ring_init()499 (priv->num_tx_ring[q] * num_tx_desc + 1); in ravb_ring_init()1600 ring->tx_pending = priv->num_tx_ring[RAVB_BE]; in ravb_get_ringparam()1642 priv->num_tx_ring[RAVB_BE] = ring->tx_pending; in ravb_set_ringparam()1938 if (priv->cur_tx[q] - priv->dirty_tx[q] > (priv->num_tx_ring[q] - 1) * in ravb_start_xmit()[all …]
1240 entry = mdp->dirty_tx % mdp->num_tx_ring; in sh_eth_tx_free()1261 if (entry >= mdp->num_tx_ring - 1) in sh_eth_tx_free()1306 ringsize = sizeof(struct sh_eth_txdesc) * mdp->num_tx_ring; in sh_eth_ring_free()1326 int tx_ringsize = sizeof(*txdesc) * mdp->num_tx_ring; in sh_eth_ring_format()1380 for (i = 0; i < mdp->num_tx_ring; i++) { in sh_eth_ring_format()1418 mdp->tx_skbuff = kcalloc(mdp->num_tx_ring, sizeof(*mdp->tx_skbuff), in sh_eth_ring_init()1433 tx_ringsize = sizeof(struct sh_eth_txdesc) * mdp->num_tx_ring; in sh_eth_ring_init()1544 for (i = 0; i < mdp->num_tx_ring; i++) in sh_eth_dev_exit()2300 ring->tx_pending = mdp->num_tx_ring; in sh_eth_get_ringparam()2341 mdp->num_tx_ring = ring->tx_pending; in sh_eth_set_ringparam()[all …]
537 u32 num_tx_ring; member
1057 u32 num_tx_ring[NUM_TX_QUEUE]; member