Searched refs:max_irqs (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/arch/powerpc/platforms/powermac/ |
D | pic.c | 50 static int max_irqs; variable 116 if ((unsigned)irq_nr >= max_irqs) in __pmac_set_irq_mask() 207 for (irq = max_irqs; (irq -= 32) >= max_real_irqs; ) { in gatwick_action() 263 if (hw >= max_irqs) in pmac_pic_host_map() 296 max_irqs = max_real_irqs = 32; in pmac_pic_probe_oldstyle() 298 max_irqs = max_real_irqs = 32; in pmac_pic_probe_oldstyle() 302 max_irqs = 64; in pmac_pic_probe_oldstyle() 304 max_irqs = max_real_irqs = 64; in pmac_pic_probe_oldstyle() 323 max_irqs = 128; in pmac_pic_probe_oldstyle() 330 pmac_pic_host = irq_domain_add_linear(master, max_irqs, in pmac_pic_probe_oldstyle() [all …]
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
D | omap-wakeupgen.c | 58 static unsigned int max_irqs = DEFAULT_IRQS; variable 576 max_irqs = OMAP4_NR_IRQS; in wakeupgen_init() 583 max_irqs = AM43XX_IRQS; in wakeupgen_init() 587 domain = irq_domain_add_hierarchy(parent_domain, 0, max_irqs, in wakeupgen_init() 608 for (i = 0; i < max_irqs; i++) in wakeupgen_init()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 1624 int i, ret, max_irqs; in xgene_enet_get_irqs() local 1627 max_irqs = 1; in xgene_enet_get_irqs() 1629 max_irqs = 2; in xgene_enet_get_irqs() 1631 max_irqs = XGENE_MAX_ENET_IRQ; in xgene_enet_get_irqs() 1633 for (i = 0; i < max_irqs; i++) { in xgene_enet_get_irqs() 1637 max_irqs = i; in xgene_enet_get_irqs() 1638 pdata->rxq_cnt = max_irqs / 2; in xgene_enet_get_irqs() 1639 pdata->txq_cnt = max_irqs / 2; in xgene_enet_get_irqs() 1640 pdata->cq_cnt = max_irqs / 2; in xgene_enet_get_irqs()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 1608 int max_irqs, num_irqs, i, ret; in iwl_pcie_set_interrupt_capa() local 1618 max_irqs = min_t(u32, num_online_cpus() + 2, max_rx_queues); in iwl_pcie_set_interrupt_capa() 1619 for (i = 0; i < max_irqs; i++) in iwl_pcie_set_interrupt_capa() 1624 max_irqs); in iwl_pcie_set_interrupt_capa() 1631 trans_pcie->def_irq = (num_irqs == max_irqs) ? num_irqs - 1 : 0; in iwl_pcie_set_interrupt_capa() 1644 if (num_irqs <= max_irqs - 2) { in iwl_pcie_set_interrupt_capa() 1648 } else if (num_irqs == max_irqs - 1) { in iwl_pcie_set_interrupt_capa()
|
/kernel/linux/linux-5.10/arch/s390/kvm/ |
D | interrupt.c | 2247 int max_irqs; in get_all_floating_irqs() local 2264 max_irqs = len / sizeof(struct kvm_s390_irq); in get_all_floating_irqs() 2268 if (n == max_irqs) { in get_all_floating_irqs() 2285 if (n == max_irqs) { in get_all_floating_irqs() 2296 if (n == max_irqs) { in get_all_floating_irqs() 2307 if (n == max_irqs) { in get_all_floating_irqs()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 8579 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_nqs); in bnxt_get_max_func_irqs() 8581 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_cp_rings); in bnxt_get_max_func_irqs() 8584 static void bnxt_set_max_func_irqs(struct bnxt *bp, unsigned int max_irqs) in bnxt_set_max_func_irqs() argument 8586 bp->hw_resc.max_irqs = max_irqs; in bnxt_set_max_func_irqs() 12638 int rc, max_irqs; in bnxt_init_one() local 12651 max_irqs = bnxt_get_max_irq(pdev); in bnxt_init_one() 12652 dev = alloc_etherdev_mq(sizeof(*bp), max_irqs); in bnxt_init_one() 12658 bnxt_set_max_func_irqs(bp, max_irqs); in bnxt_init_one()
|
D | bnxt.h | 1085 u16 max_irqs; member
|