Lines Matching refs:ec
1983 struct ethtool_coalesce *ec) in e1000_get_coalesce() argument
1988 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce()
1990 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce()
1996 struct ethtool_coalesce *ec) in e1000_set_coalesce() argument
2000 if ((ec->rx_coalesce_usecs > E1000_MAX_ITR_USECS) || in e1000_set_coalesce()
2001 ((ec->rx_coalesce_usecs > 4) && in e1000_set_coalesce()
2002 (ec->rx_coalesce_usecs < E1000_MIN_ITR_USECS)) || in e1000_set_coalesce()
2003 (ec->rx_coalesce_usecs == 2)) in e1000_set_coalesce()
2006 if (ec->rx_coalesce_usecs == 4) { in e1000_set_coalesce()
2009 } else if (ec->rx_coalesce_usecs <= 3) { in e1000_set_coalesce()
2011 adapter->itr_setting = ec->rx_coalesce_usecs; in e1000_set_coalesce()
2013 adapter->itr = (1000000 / ec->rx_coalesce_usecs); in e1000_set_coalesce()