Lines Matching refs:nr_cpus
98 int nr_cpus; member
197 return (hwirq % msi->nr_cpus); in hwirq_to_cpu()
253 if (msi->nr_cpus > 1 && nr_irqs > 1) in iproc_msi_irq_domain_alloc()
263 order_base_2(msi->nr_cpus * nr_irqs)); in iproc_msi_irq_domain_alloc()
291 order_base_2(msi->nr_cpus * nr_irqs)); in iproc_msi_irq_domain_free()
480 for (i = cpu; i < msi->nr_irqs; i += msi->nr_cpus) { in iproc_msi_irq_free()
492 for (i = cpu; i < msi->nr_irqs; i += msi->nr_cpus) { in iproc_msi_irq_setup()
544 msi->nr_cpus = num_possible_cpus(); in iproc_msi_init()
546 if (msi->nr_cpus == 1) in iproc_msi_init()
561 if (msi->nr_irqs < msi->nr_cpus) { in iproc_msi_init()
567 if (msi->nr_irqs % msi->nr_cpus != 0) { in iproc_msi_init()
568 msi->nr_irqs -= msi->nr_irqs % msi->nr_cpus; in iproc_msi_init()