Lines Matching refs:num_tx_desc
200 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_tx_free() local
210 num_tx_desc); in ravb_tx_free()
219 if (priv->tx_skb[q][entry / num_tx_desc]) { in ravb_tx_free()
223 if (entry % num_tx_desc == num_tx_desc - 1) { in ravb_tx_free()
224 entry /= num_tx_desc; in ravb_tx_free()
295 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_ring_free() local
305 (priv->num_tx_ring[q] * num_tx_desc + 1); in ravb_ring_free()
396 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_ring_format() local
400 num_tx_desc; in ravb_ring_format()
415 if (num_tx_desc > 1) { in ravb_ring_format()
465 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_ring_init() local
486 if (num_tx_desc > 1) { in ravb_ring_init()
502 (priv->num_tx_ring[q] * num_tx_desc + 1); in ravb_ring_init()
1923 unsigned int num_tx_desc = priv->num_tx_desc; in ravb_start_xmit() local
1935 num_tx_desc) { in ravb_start_xmit()
1946 entry = priv->cur_tx[q] % (priv->num_tx_ring[q] * num_tx_desc); in ravb_start_xmit()
1947 priv->tx_skb[q][entry / num_tx_desc] = skb; in ravb_start_xmit()
1949 if (num_tx_desc > 1) { in ravb_start_xmit()
1951 entry / num_tx_desc * DPTR_ALIGN; in ravb_start_xmit()
2003 if (num_tx_desc > 1) { in ravb_start_xmit()
2025 if (num_tx_desc > 1) { in ravb_start_xmit()
2034 priv->cur_tx[q] += num_tx_desc; in ravb_start_xmit()
2036 (priv->num_tx_ring[q] - 1) * num_tx_desc && in ravb_start_xmit()
2049 priv->tx_skb[q][entry / num_tx_desc] = NULL; in ravb_start_xmit()
2695 priv->num_tx_desc = info->aligned_tx ? 2 : 1; in ravb_probe()