Home
last modified time | relevance | path

Searched refs:nrirqs (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/irqchip/
Dirq-dw-apb-ictl.c76 int ret, nrirqs, irq, i; in dw_apb_ictl_init() local
119 nrirqs = 32 + fls(reg); in dw_apb_ictl_init()
121 nrirqs = fls(readl_relaxed(iobase + APB_INT_ENABLE_L)); in dw_apb_ictl_init()
123 domain = irq_domain_add_linear(np, nrirqs, in dw_apb_ictl_init()
139 for (i = 0; i < DIV_ROUND_UP(nrirqs, 32); i++) { in dw_apb_ictl_init()
Dirq-orion.c145 int ret, irq, nrirqs = 32; in orion_bridge_irq_init() local
148 of_property_read_u32(np, "marvell,#interrupts", &nrirqs); in orion_bridge_irq_init()
150 domain = irq_domain_add_linear(np, nrirqs, in orion_bridge_irq_init()
157 ret = irq_alloc_domain_generic_chips(domain, nrirqs, 1, np->name, in orion_bridge_irq_init()
Dirq-tb10x.c99 int i, ret, nrirqs = of_irq_count(ictl); in of_tb10x_init_irq() local
162 for (i = 0; i < nrirqs; i++) { in of_tb10x_init_irq()
/Linux-v5.4/drivers/nvme/host/
Dpci.c2020 static void nvme_calc_irq_sets(struct irq_affinity *affd, unsigned int nrirqs) in nvme_calc_irq_sets() argument
2036 if (!nrirqs) { in nvme_calc_irq_sets()
2037 nrirqs = 1; in nvme_calc_irq_sets()
2039 } else if (nrirqs == 1 || !write_queues) { in nvme_calc_irq_sets()
2041 } else if (write_queues >= nrirqs) { in nvme_calc_irq_sets()
2044 nr_read_queues = nrirqs - write_queues; in nvme_calc_irq_sets()
2047 dev->io_queues[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets()
2048 affd->set_size[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets()