Lines Matching refs:max_irq
9086 int max_irq = bnxt_get_max_func_irqs(bp); in bnxt_get_avail_msix() local
9097 if (max_irq < total_req) { in bnxt_get_avail_msix()
9098 num = max_irq - bp->cp_nr_rings; in bnxt_get_avail_msix()
13227 int max_ring_grps = 0, max_irq; in _bnxt_get_max_rings() local
13232 max_irq = min_t(int, bnxt_get_max_func_irqs(bp) - in _bnxt_get_max_rings()
13236 *max_cp = min_t(int, *max_cp, max_irq); in _bnxt_get_max_rings()
13247 *max_cp = max_irq; in _bnxt_get_max_rings()
13287 int max_cp, max_stat, max_irq; in bnxt_get_dflt_rings() local
13292 max_irq = bnxt_get_max_func_irqs(bp); in bnxt_get_dflt_rings()
13294 max_irq <= BNXT_MIN_ROCE_CP_RINGS || in bnxt_get_dflt_rings()
13299 max_irq -= BNXT_MIN_ROCE_CP_RINGS; in bnxt_get_dflt_rings()
13301 max_cp = min_t(int, max_cp, max_irq); in bnxt_get_dflt_rings()