Lines Matching refs:hw_coal
6692 struct bnxt_coal *hw_coal,
6696 u16 val, tmr, max, flags = hw_coal->flags;
6699 max = hw_coal->bufs_per_record * 128;
6700 if (hw_coal->budget)
6701 max = hw_coal->bufs_per_record * hw_coal->budget;
6704 val = clamp_t(u16, hw_coal->coal_bufs, 1, max);
6710 val = clamp_t(u16, hw_coal->coal_bufs_irq, 1,
6714 tmr = bnxt_usec_to_coal_tmr(bp, hw_coal->coal_ticks);
6732 tmr = bnxt_usec_to_coal_tmr(bp, hw_coal->coal_ticks_irq);
6741 hw_coal->idle_thresh && hw_coal->coal_ticks < hw_coal->idle_thresh)
6748 struct bnxt_coal *hw_coal)
6768 tmr = bnxt_usec_to_coal_tmr(bp, hw_coal->coal_ticks) / 2;
6827 struct bnxt_coal *hw_coal;
6855 hw_coal = &bp->rx_coal;
6857 hw_coal = &bp->tx_coal;
6858 __bnxt_hwrm_set_coal_nq(bp, bnapi, hw_coal);