Lines Matching refs:cur_rx
403 priv->cur_rx[q] = 0; in ravb_ring_format()
769 entry = priv->cur_rx[q] % priv->num_rx_ring[q]; in ravb_rx_gbeth()
770 boguscnt = priv->dirty_rx[q] + priv->num_rx_ring[q] - priv->cur_rx[q]; in ravb_rx_gbeth()
844 entry = (++priv->cur_rx[q]) % priv->num_rx_ring[q]; in ravb_rx_gbeth()
849 for (; priv->cur_rx[q] - priv->dirty_rx[q] > 0; priv->dirty_rx[q]++) { in ravb_rx_gbeth()
887 int entry = priv->cur_rx[q] % priv->num_rx_ring[q]; in ravb_rx_rcar()
889 priv->cur_rx[q]; in ravb_rx_rcar()
960 entry = (++priv->cur_rx[q]) % priv->num_rx_ring[q]; in ravb_rx_rcar()
965 for (; priv->cur_rx[q] - priv->dirty_rx[q] > 0; priv->dirty_rx[q]++) { in ravb_rx_rcar()
1287 entry = priv->cur_rx[q] % priv->num_rx_ring[q]; in ravb_poll()
1577 data[i++] = priv->cur_rx[q]; in ravb_get_ethtool_stats()