Home
last modified time | relevance | path

Searched refs:NR_HW_IRQS (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/pci/controller/
Dpci-xgene-msi.c23 #define NR_HW_IRQS 16 macro
24 #define NR_MSI_VEC (IDX_PER_GROUP * IRQS_PER_IDX * NR_HW_IRQS)
128 return (hwirq / (NR_HW_IRQS * IRQS_PER_IDX)); in hwirq_to_reg_set()
133 return (hwirq % NR_HW_IRQS); in hwirq_to_group()
138 return ((hwirq / NR_HW_IRQS) % IRQS_PER_IDX); in hwirq_to_msi_data()
280 xgene_msi->msi_groups = kcalloc(NR_HW_IRQS, in xgene_msi_init_allocator()
326 NR_HW_IRQS) + msi_grp; in xgene_msi_isr()
382 for (i = cpu; i < NR_HW_IRQS; i += msi->num_cpus) { in xgene_msi_hwirq_alloc()
427 for (i = cpu; i < NR_HW_IRQS; i += msi->num_cpus) { in xgene_msi_hwirq_free()
478 for (irq_index = 0; irq_index < NR_HW_IRQS; irq_index++) { in xgene_msi_probe()
[all …]
Dpcie-iproc-msi.c26 #define NR_HW_IRQS 6 macro
112 static const u16 iproc_msi_reg_paxb[NR_HW_IRQS][IPROC_MSI_REG_SIZE] = {
121 static const u16 iproc_msi_reg_paxc[NR_HW_IRQS][IPROC_MSI_REG_SIZE] = {
548 if (msi->nr_irqs > NR_HW_IRQS) { in iproc_msi_init()
551 msi->nr_irqs = NR_HW_IRQS; in iproc_msi_init()