Lines Matching refs:hw_coal
7847 struct bnxt_coal *hw_coal,
7851 u16 val, tmr, max, flags = hw_coal->flags;
7854 max = hw_coal->bufs_per_record * 128;
7855 if (hw_coal->budget)
7856 max = hw_coal->bufs_per_record * hw_coal->budget;
7859 val = clamp_t(u16, hw_coal->coal_bufs, 1, max);
7865 val = clamp_t(u16, hw_coal->coal_bufs_irq, 1,
7869 tmr = bnxt_usec_to_coal_tmr(bp, hw_coal->coal_ticks);
7887 tmr = bnxt_usec_to_coal_tmr(bp, hw_coal->coal_ticks_irq);
7896 hw_coal->idle_thresh && hw_coal->coal_ticks < hw_coal->idle_thresh)
7903 struct bnxt_coal *hw_coal)
7923 tmr = bnxt_usec_to_coal_tmr(bp, hw_coal->coal_ticks) / 2;
8012 struct bnxt_coal *hw_coal;
8030 hw_coal = &bp->rx_coal;
8032 hw_coal = &bp->tx_coal;
8033 __bnxt_hwrm_set_coal_nq(bp, bnapi, hw_coal);