Searched refs:max_irqs (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/arch/powerpc/platforms/powermac/ |
D | pic.c | 55 static int max_irqs; variable 121 if ((unsigned)irq_nr >= max_irqs) in __pmac_set_irq_mask() 212 for (irq = max_irqs; (irq -= 32) >= max_real_irqs; ) { in gatwick_action() 282 if (hw >= max_irqs) in pmac_pic_host_map() 315 max_irqs = max_real_irqs = 32; in pmac_pic_probe_oldstyle() 317 max_irqs = max_real_irqs = 32; in pmac_pic_probe_oldstyle() 321 max_irqs = 64; in pmac_pic_probe_oldstyle() 323 max_irqs = max_real_irqs = 64; in pmac_pic_probe_oldstyle() 342 max_irqs = 128; in pmac_pic_probe_oldstyle() 349 pmac_pic_host = irq_domain_add_linear(master, max_irqs, in pmac_pic_probe_oldstyle() [all …]
|
/Linux-v4.19/arch/arm/mach-omap2/ |
D | omap-wakeupgen.c | 58 static unsigned int max_irqs = DEFAULT_IRQS; variable 545 max_irqs = OMAP4_NR_IRQS; in wakeupgen_init() 552 max_irqs = AM43XX_IRQS; in wakeupgen_init() 556 domain = irq_domain_add_hierarchy(parent_domain, 0, max_irqs, in wakeupgen_init() 577 for (i = 0; i < max_irqs; i++) in wakeupgen_init()
|
/Linux-v4.19/drivers/net/ethernet/apm/xgene/ |
D | xgene_enet_main.c | 1635 int i, ret, max_irqs; in xgene_enet_get_irqs() local 1638 max_irqs = 1; in xgene_enet_get_irqs() 1640 max_irqs = 2; in xgene_enet_get_irqs() 1642 max_irqs = XGENE_MAX_ENET_IRQ; in xgene_enet_get_irqs() 1644 for (i = 0; i < max_irqs; i++) { in xgene_enet_get_irqs() 1648 max_irqs = i; in xgene_enet_get_irqs() 1649 pdata->rxq_cnt = max_irqs / 2; in xgene_enet_get_irqs() 1650 pdata->txq_cnt = max_irqs / 2; in xgene_enet_get_irqs() 1651 pdata->cq_cnt = max_irqs / 2; in xgene_enet_get_irqs()
|
/Linux-v4.19/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 1627 int max_irqs, num_irqs, i, ret; in iwl_pcie_set_interrupt_capa() local 1633 max_irqs = min_t(u32, num_online_cpus() + 2, IWL_MAX_RX_HW_QUEUES); in iwl_pcie_set_interrupt_capa() 1634 for (i = 0; i < max_irqs; i++) in iwl_pcie_set_interrupt_capa() 1639 max_irqs); in iwl_pcie_set_interrupt_capa() 1646 trans_pcie->def_irq = (num_irqs == max_irqs) ? num_irqs - 1 : 0; in iwl_pcie_set_interrupt_capa() 1659 if (num_irqs <= max_irqs - 2) { in iwl_pcie_set_interrupt_capa() 1663 } else if (num_irqs == max_irqs - 1) { in iwl_pcie_set_interrupt_capa()
|
/Linux-v4.19/arch/s390/kvm/ |
D | interrupt.c | 2010 int max_irqs; in get_all_floating_irqs() local 2027 max_irqs = len / sizeof(struct kvm_s390_irq); in get_all_floating_irqs() 2032 if (n == max_irqs) { in get_all_floating_irqs() 2049 if (n == max_irqs) { in get_all_floating_irqs() 2059 if (n == max_irqs) { in get_all_floating_irqs() 2070 if (n == max_irqs) { in get_all_floating_irqs()
|
/Linux-v4.19/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 5933 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_cp_rings); in bnxt_get_max_func_irqs() 5936 static void bnxt_set_max_func_irqs(struct bnxt *bp, unsigned int max_irqs) in bnxt_set_max_func_irqs() argument 5938 bp->hw_resc.max_irqs = max_irqs; in bnxt_set_max_func_irqs() 8625 hw_resc->max_irqs - bnxt_get_ulp_msix_num(bp)); in _bnxt_get_max_rings() 8843 int rc, max_irqs; in bnxt_init_one() local 8851 max_irqs = bnxt_get_max_irq(pdev); in bnxt_init_one() 8852 dev = alloc_etherdev_mq(sizeof(*bp), max_irqs); in bnxt_init_one() 8982 bnxt_set_max_func_irqs(bp, max_irqs); in bnxt_init_one()
|
D | bnxt.h | 824 u16 max_irqs; member
|