Lines Matching refs:num_tx_ring
208 entry = priv->dirty_tx[q] % (priv->num_tx_ring[q] * in ravb_tx_free()
266 (priv->num_tx_ring[q] * num_tx_desc + 1); in ravb_ring_free()
362 unsigned int tx_ring_size = sizeof(*tx_desc) * priv->num_tx_ring[q] * in ravb_ring_format()
381 for (i = 0, tx_desc = priv->tx_ring[q]; i < priv->num_tx_ring[q]; in ravb_ring_format()
445 priv->tx_skb[q] = kcalloc(priv->num_tx_ring[q], in ravb_ring_init()
465 priv->tx_align[q] = kmalloc(DPTR_ALIGN * priv->num_tx_ring[q] + in ravb_ring_init()
473 (priv->num_tx_ring[q] * num_tx_desc + 1); in ravb_ring_init()
1682 ring->tx_pending = priv->num_tx_ring[RAVB_BE]; in ravb_get_ringparam()
1724 priv->num_tx_ring[RAVB_BE] = ring->tx_pending; in ravb_set_ringparam()
2117 if (priv->cur_tx[q] - priv->dirty_tx[q] > (priv->num_tx_ring[q] - 1) * in ravb_start_xmit()
2129 entry = priv->cur_tx[q] % (priv->num_tx_ring[q] * num_tx_desc); in ravb_start_xmit()
2219 (priv->num_tx_ring[q] - 1) * num_tx_desc && in ravb_start_xmit()
2935 priv->num_tx_ring[RAVB_BE] = BE_TX_RING_SIZE; in ravb_probe()
2938 priv->num_tx_ring[RAVB_NC] = NC_TX_RING_SIZE; in ravb_probe()