Home
last modified time | relevance | path

Searched refs:nr_vectors (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/drivers/sh/intc/
Dirqdomain.c53 irq_end = evt2irq(hw->vectors[hw->nr_vectors - 1].vect); in intc_irq_domain_init()
61 if (irq_base == 0 && irq_end == (irq_base + hw->nr_vectors - 1)) in intc_irq_domain_init()
62 d->domain = irq_domain_add_linear(NULL, hw->nr_vectors, in intc_irq_domain_init()
Dcore.c205 desc->name, hw->nr_vectors); in register_intc_controller()
271 d->prio = kcalloc(hw->nr_vectors, sizeof(*d->prio), in register_intc_controller()
287 d->sense = kcalloc(hw->nr_vectors, sizeof(*d->sense), in register_intc_controller()
326 for (i = 0; i < hw->nr_vectors; i++) { in register_intc_controller()
339 for (k = i + 1; k < hw->nr_vectors; k++) { in register_intc_controller()
/linux-6.6.21/drivers/bus/mhi/host/
Dpci_generic.c786 int nr_vectors, i; in mhi_pci_get_irqs() local
795 nr_vectors = pci_alloc_irq_vectors(pdev, 1, mhi_cntrl->nr_irqs, PCI_IRQ_MSI); in mhi_pci_get_irqs()
796 if (nr_vectors < 0) { in mhi_pci_get_irqs()
798 nr_vectors); in mhi_pci_get_irqs()
799 return nr_vectors; in mhi_pci_get_irqs()
802 if (nr_vectors < mhi_cntrl->nr_irqs) { in mhi_pci_get_irqs()
816 int vector = i >= nr_vectors ? (nr_vectors - 1) : i; in mhi_pci_get_irqs()
/linux-6.6.21/include/linux/
Dsh_intc.h85 unsigned int nr_vectors; member
/linux-6.6.21/drivers/infiniband/hw/vmw_pvrdma/
Dpvrdma_main.c509 for (i = 0; i < dev->nr_vectors; i++) in pvrdma_free_irq()
538 dev->nr_vectors = ret; in pvrdma_alloc_intrs()
548 for (i = 1; i < dev->nr_vectors; i++) { in pvrdma_alloc_intrs()
Dpvrdma.h220 unsigned int nr_vectors; member
/linux-6.6.21/arch/sh/kernel/cpu/sh4a/
Dsetup-sh7786.c669 .nr_vectors = ARRAY_SIZE(sh7786_vectors),