Searched refs:nrirqs (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/irqchip/ |
D | irq-dw-apb-ictl.c | 122 int ret, nrirqs, parent_irq, i; in dw_apb_ictl_init() local 172 nrirqs = 32 + fls(reg); in dw_apb_ictl_init() 174 nrirqs = fls(readl_relaxed(iobase + APB_INT_ENABLE_L)); in dw_apb_ictl_init() 176 domain = irq_domain_add_linear(np, nrirqs, domain_ops, NULL); in dw_apb_ictl_init() 191 for (i = 0; i < DIV_ROUND_UP(nrirqs, 32); i++) { in dw_apb_ictl_init()
|
D | irq-orion.c | 144 int ret, irq, nrirqs = 32; in orion_bridge_irq_init() local 147 of_property_read_u32(np, "marvell,#interrupts", &nrirqs); in orion_bridge_irq_init() 149 domain = irq_domain_add_linear(np, nrirqs, in orion_bridge_irq_init() 156 ret = irq_alloc_domain_generic_chips(domain, nrirqs, 1, np->name, in orion_bridge_irq_init()
|
D | irq-tb10x.c | 99 int i, ret, nrirqs = of_irq_count(ictl); in of_tb10x_init_irq() local 161 for (i = 0; i < nrirqs; i++) { in of_tb10x_init_irq()
|
/linux-6.12.1/drivers/nvme/host/ |
D | pci.c | 2221 static void nvme_calc_irq_sets(struct irq_affinity *affd, unsigned int nrirqs) in nvme_calc_irq_sets() argument 2237 if (!nrirqs) { in nvme_calc_irq_sets() 2238 nrirqs = 1; in nvme_calc_irq_sets() 2240 } else if (nrirqs == 1 || !nr_write_queues) { in nvme_calc_irq_sets() 2242 } else if (nr_write_queues >= nrirqs) { in nvme_calc_irq_sets() 2245 nr_read_queues = nrirqs - nr_write_queues; in nvme_calc_irq_sets() 2248 dev->io_queues[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets() 2249 affd->set_size[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets()
|