Home
last modified time | relevance | path

Searched refs:maxvec (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/kernel/irq/
Daffinity.c110 unsigned int irq_calc_affinity_vectors(unsigned int minvec, unsigned int maxvec, in irq_calc_affinity_vectors() argument
120 set_vecs = maxvec - resv; in irq_calc_affinity_vectors()
127 return resv + min(set_vecs, maxvec - resv); in irq_calc_affinity_vectors()
/Linux-v6.6/drivers/pci/msi/
Dmsi.h96 int __pci_enable_msi_range(struct pci_dev *dev, int minvec, int maxvec, struct irq_affinity *affd);
98 int maxvec, struct irq_affinity *affd, int flags);
Dmsi.c405 int __pci_enable_msi_range(struct pci_dev *dev, int minvec, int maxvec, in __pci_enable_msi_range() argument
420 if (maxvec < minvec) in __pci_enable_msi_range()
432 if (nvec > maxvec) in __pci_enable_msi_range()
433 nvec = maxvec; in __pci_enable_msi_range()
777 int maxvec, struct irq_affinity *affd, int flags) in __pci_enable_msix_range() argument
779 int hwsize, rc, nvec = maxvec; in __pci_enable_msix_range()
781 if (maxvec < minvec) in __pci_enable_msix_range()
Dapi.c109 int minvec, int maxvec) in pci_enable_msix_range() argument
111 return __pci_enable_msix_range(dev, entries, minvec, maxvec, NULL, 0); in pci_enable_msix_range()
/Linux-v6.6/drivers/infiniband/hw/qib/
Dqib_pcie.c200 int maxvec; in qib_pcie_params() local
214 maxvec = (nent && *nent) ? *nent : 1; in qib_pcie_params()
215 nvec = pci_alloc_irq_vectors(dd->pcidev, 1, maxvec, flags); in qib_pcie_params()
/Linux-v6.6/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
425 return maxvec; in irq_calc_affinity_vectors()
Dplatform_device.h109 unsigned int maxvec,
Dpci.h1636 int minvec, int maxvec);
1670 struct msix_entry *entries, int minvec, int maxvec) in pci_enable_msix_range() argument
/Linux-v6.6/drivers/scsi/bfa/
Dbfa.h186 u32 *nvecs, u32 *maxvec);
320 u32 *maxvec);
334 u32 *maxvec);
/Linux-v6.6/drivers/base/
Dplatform.c337 unsigned int maxvec, in devm_platform_get_irqs_affinity() argument
348 if (maxvec < minvec) in devm_platform_get_irqs_affinity()
362 if (nvec > maxvec) in devm_platform_get_irqs_affinity()
363 nvec = maxvec; in devm_platform_get_irqs_affinity()