Lines Matching refs:aic
335 struct be_aic_obj *aic = &adapter->aic_obj[0]; in be_get_coalesce() local
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()
358 struct be_aic_obj *aic = &adapter->aic_obj[0]; in be_set_coalesce() local
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()
367 aic->et_eqd = max(aic->et_eqd, aic->min_eqd); in be_set_coalesce()
368 aic++; in be_set_coalesce()