Lines Matching refs:coal
776 struct ethtool_coalesce *coal, in qede_get_coalesce() argument
788 memset(coal, 0, sizeof(struct ethtool_coalesce)); in qede_get_coalesce()
831 coal->rx_coalesce_usecs = rx_coal; in qede_get_coalesce()
832 coal->tx_coalesce_usecs = tx_coal; in qede_get_coalesce()
837 int qede_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal, in qede_set_coalesce() argument
851 if (coal->rx_coalesce_usecs > QED_COALESCE_MAX || in qede_set_coalesce()
852 coal->tx_coalesce_usecs > QED_COALESCE_MAX) { in qede_set_coalesce()
855 coal->rx_coalesce_usecs > QED_COALESCE_MAX ? "rx" : in qede_set_coalesce()
860 rxc = (u16)coal->rx_coalesce_usecs; in qede_set_coalesce()
861 txc = (u16)coal->tx_coalesce_usecs; in qede_set_coalesce()
2133 struct ethtool_coalesce *coal) in qede_set_per_coalesce() argument
2140 if (coal->rx_coalesce_usecs > QED_COALESCE_MAX || in qede_set_per_coalesce()
2141 coal->tx_coalesce_usecs > QED_COALESCE_MAX) { in qede_set_per_coalesce()
2144 coal->rx_coalesce_usecs > QED_COALESCE_MAX ? "rx" in qede_set_per_coalesce()
2150 rxc = (u16)coal->rx_coalesce_usecs; in qede_set_per_coalesce()
2151 txc = (u16)coal->tx_coalesce_usecs; in qede_set_per_coalesce()
2200 struct ethtool_coalesce *coal) in qede_get_per_coalesce() argument
2211 memset(coal, 0, sizeof(struct ethtool_coalesce)); in qede_get_per_coalesce()
2249 coal->rx_coalesce_usecs = rx_coal; in qede_get_per_coalesce()
2250 coal->tx_coalesce_usecs = tx_coal; in qede_get_per_coalesce()