Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/pci/msi/
Dmsi.c864 static int __pci_enable_msi_range(struct pci_dev *dev, int minvec, int maxvec, in __pci_enable_msi_range() argument
870 if (!pci_msi_supported(dev, minvec) || dev->current_state != PCI_D0) in __pci_enable_msi_range()
879 if (maxvec < minvec) in __pci_enable_msi_range()
888 if (nvec < minvec) in __pci_enable_msi_range()
900 nvec = irq_calc_affinity_vectors(minvec, nvec, affd); in __pci_enable_msi_range()
901 if (nvec < minvec) in __pci_enable_msi_range()
911 if (rc < minvec) in __pci_enable_msi_range()
929 struct msix_entry *entries, int minvec, in __pci_enable_msix_range() argument
935 if (maxvec < minvec) in __pci_enable_msix_range()
947 nvec = irq_calc_affinity_vectors(minvec, nvec, affd); in __pci_enable_msix_range()
[all …]
/linux-5.19.10/kernel/irq/
Daffinity.c497 unsigned int irq_calc_affinity_vectors(unsigned int minvec, unsigned int maxvec, in irq_calc_affinity_vectors() argument
503 if (resv > minvec) in irq_calc_affinity_vectors()
/linux-5.19.10/drivers/base/
Dplatform.c336 unsigned int minvec, in devm_platform_get_irqs_affinity() argument
348 if (maxvec < minvec) in devm_platform_get_irqs_affinity()
355 if (nvec < minvec) in devm_platform_get_irqs_affinity()
358 nvec = irq_calc_affinity_vectors(minvec, nvec, affd); in devm_platform_get_irqs_affinity()
359 if (nvec < minvec) in devm_platform_get_irqs_affinity()
/linux-5.19.10/include/linux/
Dinterrupt.h363 unsigned int irq_calc_affinity_vectors(unsigned int minvec, unsigned int maxvec,
422 irq_calc_affinity_vectors(unsigned int minvec, unsigned int maxvec, in irq_calc_affinity_vectors() argument
Dplatform_device.h80 unsigned int minvec,
Dpci.h1546 int minvec, int maxvec);
1573 struct msix_entry *entries, int minvec, int maxvec) in pci_enable_msix_range() argument
/linux-5.19.10/drivers/scsi/hisi_sas/
Dhisi_sas_v2_hw.c3306 int resv = desc.pre_vectors + desc.post_vectors, minvec = resv + 1, nvec; in hisi_sas_v2_interrupt_preinit() local
3308 nvec = devm_platform_get_irqs_affinity(pdev, &desc, minvec, 128, in hisi_sas_v2_interrupt_preinit()