Lines Matching refs:rvals
375 struct ethtool_ringparam *rvals, in gfar_gringparam() argument
386 rvals->rx_max_pending = GFAR_RX_MAX_RING_SIZE; in gfar_gringparam()
387 rvals->rx_mini_max_pending = GFAR_RX_MAX_RING_SIZE; in gfar_gringparam()
388 rvals->rx_jumbo_max_pending = GFAR_RX_MAX_RING_SIZE; in gfar_gringparam()
389 rvals->tx_max_pending = GFAR_TX_MAX_RING_SIZE; in gfar_gringparam()
394 rvals->rx_pending = rx_queue->rx_ring_size; in gfar_gringparam()
395 rvals->rx_mini_pending = rx_queue->rx_ring_size; in gfar_gringparam()
396 rvals->rx_jumbo_pending = rx_queue->rx_ring_size; in gfar_gringparam()
397 rvals->tx_pending = tx_queue->tx_ring_size; in gfar_gringparam()
404 struct ethtool_ringparam *rvals, in gfar_sringparam() argument
411 if (rvals->rx_pending > GFAR_RX_MAX_RING_SIZE) in gfar_sringparam()
414 if (!is_power_of_2(rvals->rx_pending)) { in gfar_sringparam()
419 if (rvals->tx_pending > GFAR_TX_MAX_RING_SIZE) in gfar_sringparam()
422 if (!is_power_of_2(rvals->tx_pending)) { in gfar_sringparam()
435 priv->rx_queue[i]->rx_ring_size = rvals->rx_pending; in gfar_sringparam()
438 priv->tx_queue[i]->tx_ring_size = rvals->tx_pending; in gfar_sringparam()