Searched refs:min_vecs (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.15/Documentation/PCI/ |
D | msi-howto.rst | 96 int pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, 102 min_vecs argument set to this limit, and the PCI core will return -ENOSPC 145 number to pci_alloc_irq_vectors() function as both 'min_vecs' and 154 'min_vecs' and 'max_vecs'::
|
/Linux-v5.15/drivers/pci/ |
D | msi.c | 1122 int pci_alloc_irq_vectors_affinity(struct pci_dev *dev, unsigned int min_vecs, in pci_alloc_irq_vectors_affinity() argument 1138 nvecs = __pci_enable_msix_range(dev, NULL, min_vecs, max_vecs, in pci_alloc_irq_vectors_affinity() 1145 nvecs = __pci_enable_msi_range(dev, min_vecs, max_vecs, affd); in pci_alloc_irq_vectors_affinity() 1152 if (min_vecs == 1 && dev->irq) { in pci_alloc_irq_vectors_affinity()
|
/Linux-v5.15/include/linux/ |
D | pci.h | 1537 int pci_alloc_irq_vectors_affinity(struct pci_dev *dev, unsigned int min_vecs, 1562 pci_alloc_irq_vectors_affinity(struct pci_dev *dev, unsigned int min_vecs, in pci_alloc_irq_vectors_affinity() argument 1566 if ((flags & PCI_IRQ_LEGACY) && min_vecs == 1 && dev->irq) in pci_alloc_irq_vectors_affinity() 1870 pci_alloc_irq_vectors_affinity(struct pci_dev *dev, unsigned int min_vecs, in pci_alloc_irq_vectors_affinity() argument 1879 pci_alloc_irq_vectors(struct pci_dev *dev, unsigned int min_vecs, in pci_alloc_irq_vectors() argument 1882 return pci_alloc_irq_vectors_affinity(dev, min_vecs, max_vecs, flags, in pci_alloc_irq_vectors()
|
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu.c | 572 int min_vecs; in rvu_check_min_msix_vec() local 586 min_vecs = RVU_AF_INT_VEC_CNT + RVU_PF_INT_VEC_CNT; in rvu_check_min_msix_vec() 588 min_vecs = RVU_PF_INT_VEC_CNT; in rvu_check_min_msix_vec() 590 if (!(nvecs < min_vecs)) in rvu_check_min_msix_vec() 594 pf, nvecs, min_vecs); in rvu_check_min_msix_vec()
|
/Linux-v5.15/drivers/scsi/qla2xxx/ |
D | qla_isr.c | 4299 int min_vecs = QLA_BASE_VECTORS; in qla24xx_enable_msix() local 4307 min_vecs++; in qla24xx_enable_msix() 4312 ret = pci_alloc_irq_vectors(ha->pdev, min_vecs, in qla24xx_enable_msix() 4313 min((u16)ha->msix_count, (u16)(num_online_cpus() + min_vecs)), in qla24xx_enable_msix() 4316 ret = pci_alloc_irq_vectors_affinity(ha->pdev, min_vecs, in qla24xx_enable_msix() 4317 min((u16)ha->msix_count, (u16)(num_online_cpus() + min_vecs)), in qla24xx_enable_msix()
|