Searched refs:max_irqs (Results 1 – 8 of 8) sorted by relevance
/Linux-v6.1/arch/powerpc/platforms/powermac/ |
D | pic.c | 53 static int max_irqs; variable 119 if ((unsigned)irq_nr >= max_irqs) in __pmac_set_irq_mask() 210 for (irq = max_irqs; (irq -= 32) >= max_real_irqs; ) { in gatwick_action() 266 if (hw >= max_irqs) in pmac_pic_host_map() 299 max_irqs = max_real_irqs = 32; in pmac_pic_probe_oldstyle() 301 max_irqs = max_real_irqs = 32; in pmac_pic_probe_oldstyle() 305 max_irqs = 64; in pmac_pic_probe_oldstyle() 307 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 …]
|
/Linux-v6.1/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()
|
/Linux-v6.1/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()
|
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/pcie/ |
D | trans.c | 1645 int max_irqs, num_irqs, i, ret; in iwl_pcie_set_interrupt_capa() local 1655 max_irqs = min_t(u32, num_online_cpus() + 2, max_rx_queues); in iwl_pcie_set_interrupt_capa() 1656 for (i = 0; i < max_irqs; i++) in iwl_pcie_set_interrupt_capa() 1661 max_irqs); in iwl_pcie_set_interrupt_capa() 1668 trans_pcie->def_irq = (num_irqs == max_irqs) ? num_irqs - 1 : 0; in iwl_pcie_set_interrupt_capa() 1681 if (num_irqs <= max_irqs - 2) { in iwl_pcie_set_interrupt_capa() 1685 } else if (num_irqs == max_irqs - 1) { in iwl_pcie_set_interrupt_capa()
|
/Linux-v6.1/drivers/net/ethernet/microsoft/mana/ |
D | gdma_main.c | 1210 unsigned int max_irqs; in mana_gd_setup_irqs() local 1218 max_irqs = max_queues_per_port + 1; in mana_gd_setup_irqs() 1220 nvec = pci_alloc_irq_vectors(pdev, 2, max_irqs, PCI_IRQ_MSIX); in mana_gd_setup_irqs()
|
/Linux-v6.1/arch/s390/kvm/ |
D | interrupt.c | 2249 int max_irqs; in get_all_floating_irqs() local 2266 max_irqs = len / sizeof(struct kvm_s390_irq); in get_all_floating_irqs() 2270 if (n == max_irqs) { in get_all_floating_irqs() 2287 if (n == max_irqs) { in get_all_floating_irqs() 2298 if (n == max_irqs) { in get_all_floating_irqs() 2309 if (n == max_irqs) { in get_all_floating_irqs()
|
/Linux-v6.1/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt.c | 9055 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_nqs); in bnxt_get_max_func_irqs() 9057 return min_t(unsigned int, hw_resc->max_irqs, hw_resc->max_cp_rings); in bnxt_get_max_func_irqs() 9060 static void bnxt_set_max_func_irqs(struct bnxt *bp, unsigned int max_irqs) in bnxt_set_max_func_irqs() argument 9062 bp->hw_resc.max_irqs = max_irqs; in bnxt_set_max_func_irqs() 13530 int rc, max_irqs; in bnxt_init_one() local 13543 max_irqs = bnxt_get_max_irq(pdev); in bnxt_init_one() 13544 dev = alloc_etherdev_mq(sizeof(*bp), max_irqs); in bnxt_init_one() 13551 bnxt_set_max_func_irqs(bp, max_irqs); in bnxt_init_one()
|
D | bnxt.h | 1100 u16 max_irqs; member
|