Lines Matching refs:et
332 struct ethtool_coalesce *et) in be_get_coalesce() argument
337 et->rx_coalesce_usecs = aic->prev_eqd; in be_get_coalesce()
338 et->rx_coalesce_usecs_high = aic->max_eqd; in be_get_coalesce()
339 et->rx_coalesce_usecs_low = aic->min_eqd; in be_get_coalesce()
341 et->tx_coalesce_usecs = aic->prev_eqd; in be_get_coalesce()
342 et->tx_coalesce_usecs_high = aic->max_eqd; in be_get_coalesce()
343 et->tx_coalesce_usecs_low = aic->min_eqd; in be_get_coalesce()
345 et->use_adaptive_rx_coalesce = aic->enable; in be_get_coalesce()
346 et->use_adaptive_tx_coalesce = aic->enable; in be_get_coalesce()
355 struct ethtool_coalesce *et) in be_set_coalesce() argument
363 aic->enable = et->use_adaptive_rx_coalesce; in be_set_coalesce()
364 aic->max_eqd = min(et->rx_coalesce_usecs_high, BE_MAX_EQD); in be_set_coalesce()
365 aic->min_eqd = min(et->rx_coalesce_usecs_low, aic->max_eqd); in be_set_coalesce()
366 aic->et_eqd = min(et->rx_coalesce_usecs, aic->max_eqd); in be_set_coalesce()