coal              758 drivers/crypto/inside-secure/safexcel.c 	int coal = min_t(int, priv->ring[ring].requests, EIP197_MAX_BATCH_SZ);
coal              760 drivers/crypto/inside-secure/safexcel.c 	if (!coal)
coal              765 drivers/crypto/inside-secure/safexcel.c 	       EIP197_HIA_RDR_THRESH_PROC_PKT(coal),
coal               78 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c 			      struct ethtool_coalesce *coal)
coal               82 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c 	coal->rx_coalesce_usecs = priv->ethtool.coalesce_usecs;
coal               83 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c 	coal->rx_max_coalesced_frames = priv->ethtool.max_coalesced_frames;
coal               89 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c 			      struct ethtool_coalesce *coal)
coal               98 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c 	if (coal->rx_coalesce_usecs       > 0xffff ||
coal               99 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c 	    coal->rx_max_coalesced_frames > 0xffff)
coal              103 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c 				     coal->rx_max_coalesced_frames,
coal              104 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c 				     coal->rx_coalesce_usecs);
coal              110 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c 	priv->ethtool.coalesce_usecs       = coal->rx_coalesce_usecs;
coal              111 drivers/infiniband/ulp/ipoib/ipoib_ethtool.c 	priv->ethtool.max_coalesced_frames = coal->rx_max_coalesced_frames;
coal              288 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 				   struct ethtool_coalesce *coal)
coal              295 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 		coal->rx_coalesce_usecs = cfg->rx_itr;
coal              296 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 		coal->tx_coalesce_usecs = cfg->tx_itr;
coal              297 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 		coal->rx_max_coalesced_frames = 0;
coal              298 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 		coal->tx_max_coalesced_frames = 0;
coal              300 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 		coal->rx_coalesce_usecs = 0;
coal              301 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 		coal->tx_coalesce_usecs = 0;
coal              302 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 		coal->rx_max_coalesced_frames = 1;
coal              303 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 		coal->tx_max_coalesced_frames = 1;
coal              309 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 				   struct ethtool_coalesce *coal)
coal              316 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	if (coal->use_adaptive_rx_coalesce || coal->use_adaptive_tx_coalesce)
coal              321 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	if (coal->rx_max_coalesced_frames > 1 ||
coal              322 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	    coal->rx_coalesce_usecs_irq ||
coal              323 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	    coal->rx_max_coalesced_frames_irq)
coal              326 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	if (coal->tx_max_coalesced_frames > 1 ||
coal              327 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	    coal->tx_coalesce_usecs_irq ||
coal              328 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	    coal->tx_max_coalesced_frames_irq)
coal              333 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	if (!(coal->rx_max_coalesced_frames == !coal->rx_coalesce_usecs))
coal              335 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	if (!(coal->tx_max_coalesced_frames == !coal->tx_coalesce_usecs))
coal              338 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	if (coal->rx_coalesce_usecs > AQ_CFG_INTERRUPT_MODERATION_USEC_MAX ||
coal              339 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	    coal->tx_coalesce_usecs > AQ_CFG_INTERRUPT_MODERATION_USEC_MAX)
coal              344 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	cfg->rx_itr = coal->rx_coalesce_usecs;
coal              345 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	cfg->tx_itr = coal->tx_coalesce_usecs;
coal             7252 drivers/net/ethernet/broadcom/bnx2.c bnx2_get_coalesce(struct net_device *dev, struct ethtool_coalesce *coal)
coal             7256 drivers/net/ethernet/broadcom/bnx2.c 	memset(coal, 0, sizeof(struct ethtool_coalesce));
coal             7258 drivers/net/ethernet/broadcom/bnx2.c 	coal->rx_coalesce_usecs = bp->rx_ticks;
coal             7259 drivers/net/ethernet/broadcom/bnx2.c 	coal->rx_max_coalesced_frames = bp->rx_quick_cons_trip;
coal             7260 drivers/net/ethernet/broadcom/bnx2.c 	coal->rx_coalesce_usecs_irq = bp->rx_ticks_int;
coal             7261 drivers/net/ethernet/broadcom/bnx2.c 	coal->rx_max_coalesced_frames_irq = bp->rx_quick_cons_trip_int;
coal             7263 drivers/net/ethernet/broadcom/bnx2.c 	coal->tx_coalesce_usecs = bp->tx_ticks;
coal             7264 drivers/net/ethernet/broadcom/bnx2.c 	coal->tx_max_coalesced_frames = bp->tx_quick_cons_trip;
coal             7265 drivers/net/ethernet/broadcom/bnx2.c 	coal->tx_coalesce_usecs_irq = bp->tx_ticks_int;
coal             7266 drivers/net/ethernet/broadcom/bnx2.c 	coal->tx_max_coalesced_frames_irq = bp->tx_quick_cons_trip_int;
coal             7268 drivers/net/ethernet/broadcom/bnx2.c 	coal->stats_block_coalesce_usecs = bp->stats_ticks;
coal             7274 drivers/net/ethernet/broadcom/bnx2.c bnx2_set_coalesce(struct net_device *dev, struct ethtool_coalesce *coal)
coal             7278 drivers/net/ethernet/broadcom/bnx2.c 	bp->rx_ticks = (u16) coal->rx_coalesce_usecs;
coal             7281 drivers/net/ethernet/broadcom/bnx2.c 	bp->rx_quick_cons_trip = (u16) coal->rx_max_coalesced_frames;
coal             7284 drivers/net/ethernet/broadcom/bnx2.c 	bp->rx_ticks_int = (u16) coal->rx_coalesce_usecs_irq;
coal             7287 drivers/net/ethernet/broadcom/bnx2.c 	bp->rx_quick_cons_trip_int = (u16) coal->rx_max_coalesced_frames_irq;
coal             7291 drivers/net/ethernet/broadcom/bnx2.c 	bp->tx_ticks = (u16) coal->tx_coalesce_usecs;
coal             7294 drivers/net/ethernet/broadcom/bnx2.c 	bp->tx_quick_cons_trip = (u16) coal->tx_max_coalesced_frames;
coal             7297 drivers/net/ethernet/broadcom/bnx2.c 	bp->tx_ticks_int = (u16) coal->tx_coalesce_usecs_irq;
coal             7300 drivers/net/ethernet/broadcom/bnx2.c 	bp->tx_quick_cons_trip_int = (u16) coal->tx_max_coalesced_frames_irq;
coal             7304 drivers/net/ethernet/broadcom/bnx2.c 	bp->stats_ticks = coal->stats_block_coalesce_usecs;
coal             1887 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 			      struct ethtool_coalesce *coal)
coal             1891 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	memset(coal, 0, sizeof(struct ethtool_coalesce));
coal             1893 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	coal->rx_coalesce_usecs = bp->rx_ticks;
coal             1894 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	coal->tx_coalesce_usecs = bp->tx_ticks;
coal             1900 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 			      struct ethtool_coalesce *coal)
coal             1904 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	bp->rx_ticks = (u16)coal->rx_coalesce_usecs;
coal             1908 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	bp->tx_ticks = (u16)coal->tx_coalesce_usecs;
coal             6226 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	struct bnxt_coal coal;
coal             6231 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	memcpy(&coal, &bp->rx_coal, sizeof(struct bnxt_coal));
coal             6233 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal.coal_ticks = cpr->rx_ring_coal.coal_ticks;
coal             6234 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal.coal_bufs = cpr->rx_ring_coal.coal_bufs;
coal             6242 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	bnxt_hwrm_set_coal_params(bp, &coal, &req_rx);
coal             10408 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	struct bnxt_coal *coal;
coal             10413 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal = &bp->rx_coal;
coal             10414 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->coal_ticks = 10;
coal             10415 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->coal_bufs = 30;
coal             10416 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->coal_ticks_irq = 1;
coal             10417 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->coal_bufs_irq = 2;
coal             10418 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->idle_thresh = 50;
coal             10419 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->bufs_per_record = 2;
coal             10420 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->budget = 64;		/* NAPI budget */
coal             10422 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal = &bp->tx_coal;
coal             10423 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->coal_ticks = 28;
coal             10424 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->coal_bufs = 30;
coal             10425 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->coal_ticks_irq = 2;
coal             10426 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->coal_bufs_irq = 2;
coal             10427 drivers/net/ethernet/broadcom/bnxt/bnxt.c 	coal->bufs_per_record = 1;
coal               47 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 			     struct ethtool_coalesce *coal)
coal               53 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	memset(coal, 0, sizeof(*coal));
coal               55 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	coal->use_adaptive_rx_coalesce = bp->flags & BNXT_FLAG_DIM;
coal               59 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	coal->rx_coalesce_usecs = hw_coal->coal_ticks;
coal               60 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	coal->rx_max_coalesced_frames = hw_coal->coal_bufs / mult;
coal               61 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	coal->rx_coalesce_usecs_irq = hw_coal->coal_ticks_irq;
coal               62 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	coal->rx_max_coalesced_frames_irq = hw_coal->coal_bufs_irq / mult;
coal               66 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	coal->tx_coalesce_usecs = hw_coal->coal_ticks;
coal               67 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	coal->tx_max_coalesced_frames = hw_coal->coal_bufs / mult;
coal               68 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	coal->tx_coalesce_usecs_irq = hw_coal->coal_ticks_irq;
coal               69 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	coal->tx_max_coalesced_frames_irq = hw_coal->coal_bufs_irq / mult;
coal               71 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	coal->stats_block_coalesce_usecs = bp->stats_coal_ticks;
coal               77 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 			     struct ethtool_coalesce *coal)
coal               85 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	if (coal->use_adaptive_rx_coalesce) {
coal               96 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	hw_coal->coal_ticks = coal->rx_coalesce_usecs;
coal               97 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	hw_coal->coal_bufs = coal->rx_max_coalesced_frames * mult;
coal               98 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	hw_coal->coal_ticks_irq = coal->rx_coalesce_usecs_irq;
coal               99 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	hw_coal->coal_bufs_irq = coal->rx_max_coalesced_frames_irq * mult;
coal              103 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	hw_coal->coal_ticks = coal->tx_coalesce_usecs;
coal              104 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	hw_coal->coal_bufs = coal->tx_max_coalesced_frames * mult;
coal              105 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	hw_coal->coal_ticks_irq = coal->tx_coalesce_usecs_irq;
coal              106 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	hw_coal->coal_bufs_irq = coal->tx_max_coalesced_frames_irq * mult;
coal              108 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	if (bp->stats_coal_ticks != coal->stats_block_coalesce_usecs) {
coal              109 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 		u32 stats_ticks = coal->stats_block_coalesce_usecs;
coal             6122 drivers/net/ethernet/broadcom/tg3.c 			     tp->coal.stats_block_coalesce_usecs);
coal             10395 drivers/net/ethernet/broadcom/tg3.c 	__tg3_set_coalesce(tp, &tp->coal);
coal             14063 drivers/net/ethernet/broadcom/tg3.c 	memcpy(ec, &tp->coal, sizeof(*ec));
coal             14095 drivers/net/ethernet/broadcom/tg3.c 	tp->coal.rx_coalesce_usecs = ec->rx_coalesce_usecs;
coal             14096 drivers/net/ethernet/broadcom/tg3.c 	tp->coal.tx_coalesce_usecs = ec->tx_coalesce_usecs;
coal             14097 drivers/net/ethernet/broadcom/tg3.c 	tp->coal.rx_max_coalesced_frames = ec->rx_max_coalesced_frames;
coal             14098 drivers/net/ethernet/broadcom/tg3.c 	tp->coal.tx_max_coalesced_frames = ec->tx_max_coalesced_frames;
coal             14099 drivers/net/ethernet/broadcom/tg3.c 	tp->coal.rx_coalesce_usecs_irq = ec->rx_coalesce_usecs_irq;
coal             14100 drivers/net/ethernet/broadcom/tg3.c 	tp->coal.tx_coalesce_usecs_irq = ec->tx_coalesce_usecs_irq;
coal             14101 drivers/net/ethernet/broadcom/tg3.c 	tp->coal.rx_max_coalesced_frames_irq = ec->rx_max_coalesced_frames_irq;
coal             14102 drivers/net/ethernet/broadcom/tg3.c 	tp->coal.tx_max_coalesced_frames_irq = ec->tx_max_coalesced_frames_irq;
coal             14103 drivers/net/ethernet/broadcom/tg3.c 	tp->coal.stats_block_coalesce_usecs = ec->stats_block_coalesce_usecs;
coal             14107 drivers/net/ethernet/broadcom/tg3.c 		__tg3_set_coalesce(tp, &tp->coal);
coal             17590 drivers/net/ethernet/broadcom/tg3.c 	struct ethtool_coalesce *ec = &tp->coal;
coal             3418 drivers/net/ethernet/broadcom/tg3.h 	struct ethtool_coalesce		coal;
coal              202 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	if (rl_reg > 0 && !tqp_vector->tx_group.coal.gl_adapt_enable &&
coal              203 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	    !tqp_vector->rx_group.coal.gl_adapt_enable)
coal              237 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	tqp_vector->tx_group.coal.gl_adapt_enable = 1;
coal              238 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	tqp_vector->rx_group.coal.gl_adapt_enable = 1;
coal              240 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	tqp_vector->tx_group.coal.int_gl = HNS3_INT_GL_50K;
coal              241 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	tqp_vector->rx_group.coal.int_gl = HNS3_INT_GL_50K;
coal              243 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	tqp_vector->rx_group.coal.flow_level = HNS3_FLOW_LOW;
coal              244 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	tqp_vector->tx_group.coal.flow_level = HNS3_FLOW_LOW;
coal              253 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 				       tqp_vector->tx_group.coal.int_gl);
coal              255 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 				       tqp_vector->rx_group.coal.int_gl);
coal             3027 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	new_flow_level = ring_group->coal.flow_level;
coal             3060 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	ring_group->coal.flow_level = new_flow_level;
coal             3078 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		ring_group->coal.int_gl = HNS3_INT_GL_50K;
coal             3079 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		ring_group->coal.flow_level = HNS3_FLOW_LOW;
coal             3086 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	new_int_gl = ring_group->coal.int_gl;
coal             3087 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	switch (ring_group->coal.flow_level) {
coal             3104 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	if (new_int_gl != ring_group->coal.int_gl) {
coal             3105 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		ring_group->coal.int_gl = new_int_gl;
coal             3122 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	if (rx_group->coal.gl_adapt_enable) {
coal             3126 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 						       rx_group->coal.int_gl);
coal             3129 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	if (tx_group->coal.gl_adapt_enable) {
coal             3133 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 						       tx_group->coal.int_gl);
coal             4223 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	memcpy(&priv->tx_coal, &priv->tqp_vector[0].tx_group.coal,
coal             4225 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 	memcpy(&priv->rx_coal, &priv->tqp_vector[0].rx_group.coal,
coal             4235 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		memcpy(&priv->tqp_vector[i].tx_group.coal, &priv->tx_coal,
coal             4237 drivers/net/ethernet/hisilicon/hns3/hns3_enet.c 		memcpy(&priv->tqp_vector[i].rx_group.coal, &priv->rx_coal,
coal              474 drivers/net/ethernet/hisilicon/hns3/hns3_enet.h 	struct hns3_enet_coalesce coal;
coal             1105 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 			tx_vector->tx_group.coal.gl_adapt_enable;
coal             1107 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 			rx_vector->rx_group.coal.gl_adapt_enable;
coal             1109 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 	cmd->tx_coalesce_usecs = tx_vector->tx_group.coal.int_gl;
coal             1110 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 	cmd->rx_coalesce_usecs = rx_vector->rx_group.coal.int_gl;
coal             1230 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 	tx_vector->tx_group.coal.gl_adapt_enable =
coal             1232 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 	rx_vector->rx_group.coal.gl_adapt_enable =
coal             1235 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 	tx_vector->tx_group.coal.int_gl = cmd->tx_coalesce_usecs;
coal             1236 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 	rx_vector->rx_group.coal.int_gl = cmd->rx_coalesce_usecs;
coal             1239 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 				       tx_vector->tx_group.coal.int_gl);
coal             1241 drivers/net/ethernet/hisilicon/hns3/hns3_ethtool.c 				       rx_vector->rx_group.coal.int_gl);
coal              235 drivers/net/ethernet/marvell/mvneta.c #define      MVNETA_TXQ_SENT_THRESH_MASK(coal)   ((coal) << 16)
coal             1001 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 			      struct ethtool_coalesce *coal)
coal             1005 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->tx_coalesce_usecs = priv->tx_usecs;
coal             1006 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->tx_max_coalesced_frames = priv->tx_frames;
coal             1007 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->tx_max_coalesced_frames_irq = priv->tx_work_limit;
coal             1009 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->rx_coalesce_usecs = priv->rx_usecs;
coal             1010 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->rx_max_coalesced_frames = priv->rx_frames;
coal             1012 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->pkt_rate_low = priv->pkt_rate_low;
coal             1013 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->rx_coalesce_usecs_low = priv->rx_usecs_low;
coal             1014 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->pkt_rate_high = priv->pkt_rate_high;
coal             1015 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->rx_coalesce_usecs_high = priv->rx_usecs_high;
coal             1016 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->rate_sample_interval = priv->sample_interval;
coal             1017 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	coal->use_adaptive_rx_coalesce = priv->adaptive_rx_coal;
coal             1023 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 			      struct ethtool_coalesce *coal)
coal             1027 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (!coal->tx_max_coalesced_frames_irq)
coal             1030 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (coal->tx_coalesce_usecs > MLX4_EN_MAX_COAL_TIME ||
coal             1031 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	    coal->rx_coalesce_usecs > MLX4_EN_MAX_COAL_TIME ||
coal             1032 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	    coal->rx_coalesce_usecs_low > MLX4_EN_MAX_COAL_TIME ||
coal             1033 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	    coal->rx_coalesce_usecs_high > MLX4_EN_MAX_COAL_TIME) {
coal             1039 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (coal->tx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS ||
coal             1040 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	    coal->rx_max_coalesced_frames > MLX4_EN_MAX_COAL_PKTS) {
coal             1046 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	priv->rx_frames = (coal->rx_max_coalesced_frames ==
coal             1049 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 				coal->rx_max_coalesced_frames;
coal             1050 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	priv->rx_usecs = (coal->rx_coalesce_usecs ==
coal             1053 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 				coal->rx_coalesce_usecs;
coal             1056 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (coal->tx_coalesce_usecs != priv->tx_usecs ||
coal             1057 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	    coal->tx_max_coalesced_frames != priv->tx_frames) {
coal             1058 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		priv->tx_usecs = coal->tx_coalesce_usecs;
coal             1059 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		priv->tx_frames = coal->tx_max_coalesced_frames;
coal             1063 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	priv->pkt_rate_low = coal->pkt_rate_low;
coal             1064 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	priv->rx_usecs_low = coal->rx_coalesce_usecs_low;
coal             1065 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	priv->pkt_rate_high = coal->pkt_rate_high;
coal             1066 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	priv->rx_usecs_high = coal->rx_coalesce_usecs_high;
coal             1067 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	priv->sample_interval = coal->rate_sample_interval;
coal             1068 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	priv->adaptive_rx_coal = coal->use_adaptive_rx_coalesce;
coal             1069 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	priv->tx_work_limit = coal->tx_max_coalesced_frames_irq;
coal             1150 drivers/net/ethernet/mellanox/mlx5/core/en.h 			       struct ethtool_coalesce *coal);
coal             1152 drivers/net/ethernet/mellanox/mlx5/core/en.h 			       struct ethtool_coalesce *coal);
coal              482 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 			       struct ethtool_coalesce *coal)
coal              490 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	coal->rx_coalesce_usecs		= rx_moder->usec;
coal              491 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	coal->rx_max_coalesced_frames	= rx_moder->pkts;
coal              492 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	coal->use_adaptive_rx_coalesce	= priv->channels.params.rx_dim_enabled;
coal              495 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	coal->tx_coalesce_usecs		= tx_moder->usec;
coal              496 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	coal->tx_max_coalesced_frames	= tx_moder->pkts;
coal              497 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	coal->use_adaptive_tx_coalesce	= priv->channels.params.tx_dim_enabled;
coal              503 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 			      struct ethtool_coalesce *coal)
coal              507 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	return mlx5e_ethtool_get_coalesce(priv, coal);
coal              514 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c mlx5e_set_priv_channels_coalesce(struct mlx5e_priv *priv, struct ethtool_coalesce *coal)
coal              526 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 						coal->tx_coalesce_usecs,
coal              527 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 						coal->tx_max_coalesced_frames);
coal              531 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 					       coal->rx_coalesce_usecs,
coal              532 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 					       coal->rx_max_coalesced_frames);
coal              537 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 			       struct ethtool_coalesce *coal)
coal              548 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (coal->tx_coalesce_usecs > MLX5E_MAX_COAL_TIME ||
coal              549 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	    coal->rx_coalesce_usecs > MLX5E_MAX_COAL_TIME) {
coal              555 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (coal->tx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES ||
coal              556 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	    coal->rx_max_coalesced_frames > MLX5E_MAX_COAL_FRAMES) {
coal              566 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	rx_moder->usec    = coal->rx_coalesce_usecs;
coal              567 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	rx_moder->pkts    = coal->rx_max_coalesced_frames;
coal              568 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	new_channels.params.rx_dim_enabled = !!coal->use_adaptive_rx_coalesce;
coal              571 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	tx_moder->usec    = coal->tx_coalesce_usecs;
coal              572 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	tx_moder->pkts    = coal->tx_max_coalesced_frames;
coal              573 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	new_channels.params.tx_dim_enabled = !!coal->use_adaptive_tx_coalesce;
coal              581 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	reset = (!!coal->use_adaptive_rx_coalesce != priv->channels.params.rx_dim_enabled) ||
coal              582 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 		(!!coal->use_adaptive_tx_coalesce != priv->channels.params.tx_dim_enabled);
coal              585 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 		mlx5e_set_priv_channels_coalesce(priv, coal);
coal              598 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 			      struct ethtool_coalesce *coal)
coal              602 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	return mlx5e_ethtool_set_coalesce(priv, coal);
coal              298 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 				  struct ethtool_coalesce *coal)
coal              302 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	return mlx5e_ethtool_get_coalesce(priv, coal);
coal              306 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 				  struct ethtool_coalesce *coal)
coal              310 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c 	return mlx5e_ethtool_set_coalesce(priv, coal);
coal              102 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c 			      struct ethtool_coalesce *coal)
coal              106 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c 	return mlx5e_ethtool_set_coalesce(priv, coal);
coal              110 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c 			      struct ethtool_coalesce *coal)
coal              114 drivers/net/ethernet/mellanox/mlx5/core/ipoib/ethtool.c 	return mlx5e_ethtool_get_coalesce(priv, coal);
coal             1667 drivers/net/ethernet/myricom/myri10ge/myri10ge.c myri10ge_get_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal)
coal             1671 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	coal->rx_coalesce_usecs = mgp->intr_coal_delay;
coal             1676 drivers/net/ethernet/myricom/myri10ge/myri10ge.c myri10ge_set_coalesce(struct net_device *netdev, struct ethtool_coalesce *coal)
coal             1680 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	mgp->intr_coal_delay = coal->rx_coalesce_usecs;
coal              376 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	u32 coal;
coal              413 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	coal = ionic_coal_usec_to_hw(lif->ionic, coalesce->rx_coalesce_usecs);
coal              415 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	if (coal > IONIC_INTR_CTRL_COAL_MAX)
coal              419 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	if (!coal && coalesce->rx_coalesce_usecs)
coal              420 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 		coal = 1;
coal              423 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 	usecs = ionic_coal_hw_to_usec(lif->ionic, coal);
coal              432 drivers/net/ethernet/pensando/ionic/ionic_ethtool.c 						     qcq->intr.index, coal);
coal             1438 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	u32 coal;
coal             1455 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	coal = ionic_coal_usec_to_hw(lif->ionic, lif->rx_coalesce_usecs);
coal             1468 drivers/net/ethernet/pensando/ionic/ionic_lif.c 				     lif->rxqcqs[i].qcq->intr.index, coal);
coal             1647 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	u32 coal;
coal             1678 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	coal = ionic_coal_usec_to_hw(lif->ionic, IONIC_ITR_COAL_USEC_DEFAULT);
coal             1679 drivers/net/ethernet/pensando/ionic/ionic_lif.c 	lif->rx_coalesce_usecs = ionic_coal_hw_to_usec(lif->ionic, coal);
coal               21 drivers/net/ethernet/pensando/ionic/ionic_regs.h 	u32 coal;
coal               54 drivers/net/ethernet/pensando/ionic/ionic_regs.h 					int intr_idx, u32 coal)
coal               56 drivers/net/ethernet/pensando/ionic/ionic_regs.h 	iowrite32(coal, &intr_ctrl[intr_idx].coal_init);
coal             1677 drivers/net/ethernet/qlogic/netxen/netxen_nic.h 	nx_nic_intr_coalesce_t coal;
coal              773 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 		adapter->coal.flags = NETXEN_NIC_INTR_DEFAULT;
coal              774 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 		adapter->coal.normal.data.rx_time_us =
coal              776 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 		adapter->coal.normal.data.rx_packets =
coal              779 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 		adapter->coal.flags = 0;
coal              780 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 		adapter->coal.normal.data.rx_time_us =
coal              782 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 		adapter->coal.normal.data.rx_packets =
coal              785 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	adapter->coal.normal.data.tx_time_us = ethcoal->tx_coalesce_usecs;
coal              786 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	adapter->coal.normal.data.tx_packets =
coal              805 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	ethcoal->rx_coalesce_usecs = adapter->coal.normal.data.rx_time_us;
coal              806 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	ethcoal->tx_coalesce_usecs = adapter->coal.normal.data.tx_time_us;
coal              808 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 		adapter->coal.normal.data.rx_packets;
coal              810 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 		adapter->coal.normal.data.tx_packets;
coal              755 drivers/net/ethernet/qlogic/netxen/netxen_nic_hw.c 	memcpy(&word[0], &adapter->coal, sizeof(adapter->coal));
coal             1086 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	adapter->coal.flags = NETXEN_NIC_INTR_DEFAULT;
coal             1087 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	adapter->coal.normal.data.rx_time_us =
coal             1089 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	adapter->coal.normal.data.rx_packets =
coal             1091 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	adapter->coal.normal.data.tx_time_us =
coal             1093 drivers/net/ethernet/qlogic/netxen/netxen_nic_main.c 	adapter->coal.normal.data.tx_packets =
coal              501 drivers/net/ethernet/qlogic/qed/qed_dev_api.h int qed_get_queue_coalesce(struct qed_hwfn *p_hwfn, u16 *coal, void *handle);
coal             2863 drivers/net/ethernet/qlogic/qed/qed_l2.c static int qed_get_coalesce(struct qed_dev *cdev, u16 *coal, void *handle)
coal             2870 drivers/net/ethernet/qlogic/qed/qed_l2.c 	rc = qed_get_queue_coalesce(p_hwfn, coal, handle);
coal             3434 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	u16 coal = 0, qid, i;
coal             3454 drivers/net/ethernet/qlogic/qed/qed_sriov.c 		rc = qed_get_rxq_coalesce(p_hwfn, p_ptt, p_cid, &coal);
coal             3473 drivers/net/ethernet/qlogic/qed/qed_sriov.c 			rc = qed_get_txq_coalesce(p_hwfn, p_ptt, p_cid, &coal);
coal             3485 drivers/net/ethernet/qlogic/qed/qed_sriov.c 	p_resp->coal = coal;
coal             1379 drivers/net/ethernet/qlogic/qed/qed_vf.c 	*p_coal = resp->coal;
coal              522 drivers/net/ethernet/qlogic/qed/qed_vf.h 	u16 coal;
coal              810 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			     struct ethtool_coalesce *coal)
coal              820 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	memset(coal, 0, sizeof(struct ethtool_coalesce));
coal              863 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	coal->rx_coalesce_usecs = rx_coal;
coal              864 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	coal->tx_coalesce_usecs = tx_coal;
coal              870 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			     struct ethtool_coalesce *coal)
coal              882 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	if (coal->rx_coalesce_usecs > QED_COALESCE_MAX ||
coal              883 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	    coal->tx_coalesce_usecs > QED_COALESCE_MAX) {
coal              886 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 			coal->rx_coalesce_usecs > QED_COALESCE_MAX ? "rx" :
coal              891 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	rxc = (u16)coal->rx_coalesce_usecs;
coal              892 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	txc = (u16)coal->tx_coalesce_usecs;
coal              523 drivers/net/ethernet/qlogic/qlcnic/qlcnic.h 	struct qlcnic_nic_intr_coalesce coal;
coal             2192 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	struct qlcnic_nic_intr_coalesce *coal = &adapter->ahw->coal;
coal             2203 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	temp = coal->rx_time_us;
coal             2204 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	cmd.req.arg[2] = coal->rx_packets | temp << 16;
coal             2205 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	cmd.req.arg[3] = coal->flag;
coal             2219 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	struct qlcnic_nic_intr_coalesce *coal = &adapter->ahw->coal;
coal             2230 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	temp = coal->tx_time_us;
coal             2231 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	cmd.req.arg[2] = coal->tx_packets | temp << 16;
coal             2232 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	cmd.req.arg[3] = coal->flag;
coal             2264 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	struct qlcnic_nic_intr_coalesce *coal = &adapter->ahw->coal;
coal             2276 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	coal->flag = QLCNIC_INTR_DEFAULT;
coal             2278 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	if ((coal->rx_time_us == rx_coalesce_usecs) &&
coal             2279 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	    (coal->rx_packets == rx_max_frames)) {
coal             2280 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->type = QLCNIC_INTR_COAL_TYPE_TX;
coal             2281 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->tx_time_us = tx_coalesce_usecs;
coal             2282 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->tx_packets = tx_max_frames;
coal             2283 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	} else if ((coal->tx_time_us == tx_coalesce_usecs) &&
coal             2284 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		   (coal->tx_packets == tx_max_frames)) {
coal             2285 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->type = QLCNIC_INTR_COAL_TYPE_RX;
coal             2286 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->rx_time_us = rx_coalesce_usecs;
coal             2287 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->rx_packets = rx_max_frames;
coal             2289 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->type = QLCNIC_INTR_COAL_TYPE_RX_TX;
coal             2290 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->rx_time_us = rx_coalesce_usecs;
coal             2291 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->rx_packets = rx_max_frames;
coal             2292 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->tx_time_us = tx_coalesce_usecs;
coal             2293 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 		coal->tx_packets = tx_max_frames;
coal             2296 drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c 	switch (coal->type) {
coal             1578 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	ethcoal->rx_coalesce_usecs = adapter->ahw->coal.rx_time_us;
coal             1579 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	ethcoal->rx_max_coalesced_frames = adapter->ahw->coal.rx_packets;
coal             1580 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	ethcoal->tx_coalesce_usecs = adapter->ahw->coal.tx_time_us;
coal             1581 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	ethcoal->tx_max_coalesced_frames = adapter->ahw->coal.tx_packets;
coal              785 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	req.words[0] = cpu_to_le64(((u64) adapter->ahw->coal.flag) << 32);
coal              786 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	req.words[2] = cpu_to_le64(adapter->ahw->coal.rx_packets |
coal              787 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 			((u64) adapter->ahw->coal.rx_time_us) << 16);
coal              788 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	req.words[5] = cpu_to_le64(adapter->ahw->coal.timer_out |
coal              789 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 			((u64) adapter->ahw->coal.type) << 32 |
coal              790 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 			((u64) adapter->ahw->coal.sts_ring_mask) << 40);
coal              803 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	struct qlcnic_nic_intr_coalesce *coal = &adapter->ahw->coal;
coal              806 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	coal->flag = QLCNIC_INTR_DEFAULT;
coal              807 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	coal->rx_time_us = ethcoal->rx_coalesce_usecs;
coal              808 drivers/net/ethernet/qlogic/qlcnic/qlcnic_hw.c 	coal->rx_packets = ethcoal->rx_max_coalesced_frames;
coal             1859 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 	ahw->coal.flag = QLCNIC_INTR_DEFAULT;
coal             1862 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.type = QLCNIC_INTR_COAL_TYPE_RX_TX;
coal             1863 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.tx_time_us = QLCNIC_DEF_INTR_COALESCE_TX_TIME_US;
coal             1864 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.tx_packets = QLCNIC_DEF_INTR_COALESCE_TX_PACKETS;
coal             1865 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.rx_time_us = QLCNIC_DEF_INTR_COALESCE_RX_TIME_US;
coal             1866 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.rx_packets = QLCNIC_DEF_INTR_COALESCE_RX_PACKETS;
coal             1870 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.type = QLCNIC_INTR_COAL_TYPE_RX;
coal             1871 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.rx_time_us = QLCNIC_DEF_INTR_COALESCE_RX_TIME_US;
coal             1872 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.rx_packets = QLCNIC_DEF_INTR_COALESCE_RX_PACKETS;
coal             2095 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.type = QLCNIC_INTR_COAL_TYPE_RX_TX;
coal             2096 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.tx_time_us = QLCNIC_DEF_INTR_COALESCE_TX_TIME_US;
coal             2097 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.tx_packets = QLCNIC_DEF_INTR_COALESCE_TX_PACKETS;
coal             2098 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.rx_time_us = QLCNIC_DEF_INTR_COALESCE_RX_TIME_US;
coal             2099 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.rx_packets = QLCNIC_DEF_INTR_COALESCE_RX_PACKETS;
coal             2101 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.type = QLCNIC_INTR_COAL_TYPE_RX;
coal             2102 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.rx_time_us = QLCNIC_DEF_INTR_COALESCE_RX_TIME_US;
coal             2103 drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c 		ahw->coal.rx_packets = QLCNIC_DEF_INTR_COALESCE_RX_PACKETS;
coal             1197 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 	struct qlcnic_nic_intr_coalesce *coal = &adapter->ahw->coal;
coal             1209 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		if (ctx_id != vf->rx_ctx_id || pkts > coal->rx_packets ||
coal             1210 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		    time < coal->rx_time_us)
coal             1214 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		if (ctx_id != vf->tx_ctx_id || pkts > coal->tx_packets ||
coal             1215 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		    time < coal->tx_time_us)
coal             1228 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		   vf->rx_ctx_id, coal->rx_packets, coal->rx_time_us,
coal             1229 drivers/net/ethernet/qlogic/qlcnic/qlcnic_sriov_pf.c 		   vf->tx_ctx_id, coal->tx_packets, coal->tx_time_us);
coal              139 drivers/net/ethernet/tehuti/tehuti.h #define INT_REG_VAL(coal, coal_rc, rxf_th, pck_th)	\
coal              140 drivers/net/ethernet/tehuti/tehuti.h 	((coal)|((coal_rc)<<15)|((rxf_th)<<16)|((pck_th)<<20))
coal             1742 drivers/net/ethernet/ti/cpsw.c 		struct ethtool_coalesce coal;
coal             1744 drivers/net/ethernet/ti/cpsw.c 		coal.rx_coalesce_usecs = cpsw->coal_intvl;
coal             1745 drivers/net/ethernet/ti/cpsw.c 		cpsw_set_coalesce(ndev, &coal);
coal              155 drivers/net/ethernet/ti/cpsw_ethtool.c int cpsw_get_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal)
coal              159 drivers/net/ethernet/ti/cpsw_ethtool.c 	coal->rx_coalesce_usecs = cpsw->coal_intvl;
coal              163 drivers/net/ethernet/ti/cpsw_ethtool.c int cpsw_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal)
coal              173 drivers/net/ethernet/ti/cpsw_ethtool.c 	coal_intvl = coal->rx_coalesce_usecs;
coal              178 drivers/net/ethernet/ti/cpsw_ethtool.c 	if (!coal->rx_coalesce_usecs) {
coal              406 drivers/net/ethernet/ti/cpsw_priv.h int cpsw_get_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal);
coal              407 drivers/net/ethernet/ti/cpsw_priv.h int cpsw_set_coalesce(struct net_device *ndev, struct ethtool_coalesce *coal);
coal              391 drivers/net/ethernet/ti/davinci_emac.c 				struct ethtool_coalesce *coal)
coal              395 drivers/net/ethernet/ti/davinci_emac.c 	coal->rx_coalesce_usecs = priv->coal_intvl;
coal              409 drivers/net/ethernet/ti/davinci_emac.c 				struct ethtool_coalesce *coal)
coal              415 drivers/net/ethernet/ti/davinci_emac.c 	if (!coal->rx_coalesce_usecs)
coal              418 drivers/net/ethernet/ti/davinci_emac.c 	coal_intvl = coal->rx_coalesce_usecs;
coal             1461 drivers/net/ethernet/ti/davinci_emac.c 		struct ethtool_coalesce coal;
coal             1463 drivers/net/ethernet/ti/davinci_emac.c 		coal.rx_coalesce_usecs = (priv->coal_intvl << 4);
coal             1464 drivers/net/ethernet/ti/davinci_emac.c 		emac_set_coalesce(ndev, &coal);
coal              364 include/linux/qed/qed_eth_if.h 	int (*get_coalesce)(struct qed_dev *cdev, u16 *coal, void *handle);