Searched refs:nrirqs (Results 1 – 4 of 4) sorted by relevance
/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 | 145 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()
|
D | irq-tb10x.c | 100 int i, ret, nrirqs = of_irq_count(ictl); in of_tb10x_init_irq() local 163 for (i = 0; i < nrirqs; i++) { in of_tb10x_init_irq()
|
/drivers/nvme/host/ |
D | pci.c | 2153 static void nvme_calc_irq_sets(struct irq_affinity *affd, unsigned int nrirqs) in nvme_calc_irq_sets() argument 2169 if (!nrirqs) { in nvme_calc_irq_sets() 2170 nrirqs = 1; in nvme_calc_irq_sets() 2172 } else if (nrirqs == 1 || !nr_write_queues) { in nvme_calc_irq_sets() 2174 } else if (nr_write_queues >= nrirqs) { in nvme_calc_irq_sets() 2177 nr_read_queues = nrirqs - nr_write_queues; in nvme_calc_irq_sets() 2180 dev->io_queues[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets() 2181 affd->set_size[HCTX_TYPE_DEFAULT] = nrirqs - nr_read_queues; in nvme_calc_irq_sets()
|