Lines Matching refs:num_rx_ring

247 	for (i = 0; i < priv->num_rx_ring[q]; i++) {  in ravb_rx_ring_free_gbeth()
257 ring_size = sizeof(struct ravb_rx_desc) * (priv->num_rx_ring[q] + 1); in ravb_rx_ring_free_gbeth()
272 for (i = 0; i < priv->num_rx_ring[q]; i++) { in ravb_rx_ring_free_rcar()
283 (priv->num_rx_ring[q] + 1); in ravb_rx_ring_free_rcar()
312 for (i = 0; i < priv->num_rx_ring[q]; i++) in ravb_ring_free()
337 rx_ring_size = sizeof(*rx_desc) * priv->num_rx_ring[q]; in ravb_rx_ring_format_gbeth()
340 for (i = 0; i < priv->num_rx_ring[q]; i++) { in ravb_rx_ring_format_gbeth()
364 unsigned int rx_ring_size = sizeof(*rx_desc) * priv->num_rx_ring[q]; in ravb_rx_ring_format_rcar()
370 for (i = 0; i < priv->num_rx_ring[q]; i++) { in ravb_rx_ring_format_rcar()
438 ring_size = sizeof(struct ravb_rx_desc) * (priv->num_rx_ring[q] + 1); in ravb_alloc_rx_desc_gbeth()
451 ring_size = sizeof(struct ravb_ex_rx_desc) * (priv->num_rx_ring[q] + 1); in ravb_alloc_rx_desc_rcar()
470 priv->rx_skb[q] = kcalloc(priv->num_rx_ring[q], in ravb_ring_init()
477 for (i = 0; i < priv->num_rx_ring[q]; i++) { in ravb_ring_init()
774 entry = priv->cur_rx[q] % priv->num_rx_ring[q]; in ravb_rx_gbeth()
775 boguscnt = priv->dirty_rx[q] + priv->num_rx_ring[q] - priv->cur_rx[q]; in ravb_rx_gbeth()
849 entry = (++priv->cur_rx[q]) % priv->num_rx_ring[q]; in ravb_rx_gbeth()
855 entry = priv->dirty_rx[q] % priv->num_rx_ring[q]; in ravb_rx_gbeth()
892 int entry = priv->cur_rx[q] % priv->num_rx_ring[q]; in ravb_rx_rcar()
893 int boguscnt = (priv->dirty_rx[q] + priv->num_rx_ring[q]) - in ravb_rx_rcar()
965 entry = (++priv->cur_rx[q]) % priv->num_rx_ring[q]; in ravb_rx_rcar()
971 entry = priv->dirty_rx[q] % priv->num_rx_ring[q]; in ravb_rx_rcar()
1292 entry = priv->cur_rx[q] % priv->num_rx_ring[q]; in ravb_poll()
1617 ring->rx_pending = priv->num_rx_ring[RAVB_BE]; in ravb_get_ringparam()
1659 priv->num_rx_ring[RAVB_BE] = ring->rx_pending; in ravb_set_ringparam()
2680 priv->num_rx_ring[RAVB_BE] = BE_RX_RING_SIZE; in ravb_probe()
2683 priv->num_rx_ring[RAVB_NC] = NC_RX_RING_SIZE; in ravb_probe()