Lines Matching refs:ic
588 struct ethtool_coalesce *ic, in enetc_get_coalesce() argument
595 ic->tx_coalesce_usecs = enetc_cycles_to_usecs(priv->tx_ictt); in enetc_get_coalesce()
596 ic->rx_coalesce_usecs = enetc_cycles_to_usecs(v->rx_ictt); in enetc_get_coalesce()
598 ic->tx_max_coalesced_frames = ENETC_TXIC_PKTTHR; in enetc_get_coalesce()
599 ic->rx_max_coalesced_frames = ENETC_RXIC_PKTTHR; in enetc_get_coalesce()
601 ic->use_adaptive_rx_coalesce = priv->ic_mode & ENETC_IC_RX_ADAPTIVE; in enetc_get_coalesce()
607 struct ethtool_coalesce *ic, in enetc_set_coalesce() argument
616 tx_ictt = enetc_usecs_to_cycles(ic->tx_coalesce_usecs); in enetc_set_coalesce()
617 rx_ictt = enetc_usecs_to_cycles(ic->rx_coalesce_usecs); in enetc_set_coalesce()
619 if (ic->rx_max_coalesced_frames != ENETC_RXIC_PKTTHR) in enetc_set_coalesce()
622 if (ic->tx_max_coalesced_frames != ENETC_TXIC_PKTTHR) in enetc_set_coalesce()
626 if (ic->use_adaptive_rx_coalesce) { in enetc_set_coalesce()