Lines Matching refs:ec
1768 struct ethtool_coalesce *ec) in e1000_get_coalesce() argument
1776 ec->rx_coalesce_usecs = adapter->itr_setting; in e1000_get_coalesce()
1778 ec->rx_coalesce_usecs = 1000000 / adapter->itr_setting; in e1000_get_coalesce()
1784 struct ethtool_coalesce *ec) in e1000_set_coalesce() argument
1792 if ((ec->rx_coalesce_usecs > E1000_MAX_ITR_USECS) || in e1000_set_coalesce()
1793 ((ec->rx_coalesce_usecs > 4) && in e1000_set_coalesce()
1794 (ec->rx_coalesce_usecs < E1000_MIN_ITR_USECS)) || in e1000_set_coalesce()
1795 (ec->rx_coalesce_usecs == 2)) in e1000_set_coalesce()
1798 if (ec->rx_coalesce_usecs == 4) { in e1000_set_coalesce()
1800 } else if (ec->rx_coalesce_usecs <= 3) { in e1000_set_coalesce()
1802 adapter->itr_setting = ec->rx_coalesce_usecs; in e1000_set_coalesce()
1804 adapter->itr = (1000000 / ec->rx_coalesce_usecs); in e1000_set_coalesce()