/arch/powerpc/platforms/pseries/ |
D | msi.c | 132 static int check_req(struct pci_dev *pdev, int nvec, char *prop_name) in check_req() argument 147 if (req_msi < nvec) { in check_req() 148 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req() 159 static int check_req_msi(struct pci_dev *pdev, int nvec) in check_req_msi() argument 161 return check_req(pdev, nvec, "ibm,req#msi"); in check_req_msi() 164 static int check_req_msix(struct pci_dev *pdev, int nvec) in check_req_msix() argument 166 return check_req(pdev, nvec, "ibm,req#msi-x"); in check_req_msix() 380 int nvec = nvec_in; in rtas_setup_msi_irqs() local 384 rc = check_req_msix(pdev, nvec); in rtas_setup_msi_irqs() 386 rc = check_req_msi(pdev, nvec); in rtas_setup_msi_irqs() [all …]
|
/arch/powerpc/kernel/ |
D | msi.c | 16 int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in arch_setup_msi_irqs() argument 27 if (type == PCI_CAP_ID_MSI && nvec > 1) in arch_setup_msi_irqs() 30 return phb->controller_ops.setup_msi_irqs(dev, nvec, type); in arch_setup_msi_irqs()
|
/arch/x86/pci/ |
D | xen.c | 162 static int xen_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in xen_setup_msi_irqs() argument 168 if (type == PCI_CAP_ID_MSI && nvec > 1) in xen_setup_msi_irqs() 171 v = kzalloc(sizeof(int) * max(1, nvec), GFP_KERNEL); in xen_setup_msi_irqs() 176 ret = xen_pci_frontend_enable_msix(dev, v, nvec); in xen_setup_msi_irqs() 184 (type == PCI_CAP_ID_MSI) ? nvec : 1, in xen_setup_msi_irqs() 227 static int xen_hvm_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in xen_hvm_setup_msi_irqs() argument 233 if (type == PCI_CAP_ID_MSI && nvec > 1) in xen_hvm_setup_msi_irqs() 246 (type == PCI_CAP_ID_MSI) ? nvec : 1, in xen_hvm_setup_msi_irqs() 266 static int xen_initdom_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in xen_initdom_setup_msi_irqs() argument 290 if (type == PCI_CAP_ID_MSI && nvec > 1) { in xen_initdom_setup_msi_irqs() [all …]
|
/arch/x86/include/asm/xen/ |
D | pci.h | 50 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec); 69 int vectors[], int nvec) in xen_pci_frontend_enable_msix() argument 72 return xen_pci_frontend->enable_msix(dev, vectors, nvec); in xen_pci_frontend_enable_msix()
|
/arch/x86/include/asm/ |
D | msi.h | 9 int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec,
|
D | pci.h | 115 int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type);
|
D | x86_init.h | 265 int (*setup_msi_irqs)(struct pci_dev *dev, int nvec, int type);
|
/arch/x86/kernel/ |
D | x86_init.c | 126 int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in arch_setup_msi_irqs() argument 128 return x86_msi.setup_msi_irqs(dev, nvec, type); in arch_setup_msi_irqs()
|
/arch/powerpc/platforms/pasemi/ |
D | msi.c | 83 static int pasemi_msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in pasemi_msi_setup_msi_irqs() argument 93 pdev, nvec, type); in pasemi_msi_setup_msi_irqs()
|
/arch/x86/kernel/apic/ |
D | msi.c | 71 int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in native_setup_msi_irqs() argument 86 return msi_domain_alloc_irqs(domain, &dev->dev, nvec); in native_setup_msi_irqs() 100 int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec, in pci_msi_prepare() argument
|
/arch/powerpc/platforms/powernv/ |
D | pci.h | 232 extern int pnv_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type); 262 extern int pnv_cxl_cx4_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type);
|
D | pci-cxl.c | 314 int pnv_cxl_cx4_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in pnv_cxl_cx4_setup_msi_irqs() argument 331 rc = cxl_cx4_setup_msi_irqs(pdev, nvec, type); in pnv_cxl_cx4_setup_msi_irqs()
|
D | pci.c | 162 int pnv_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in pnv_setup_msi_irqs() argument
|
/arch/powerpc/platforms/4xx/ |
D | msi.c | 79 static int ppc4xx_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in ppc4xx_setup_msi_irqs() argument 88 __func__, nvec, type); in ppc4xx_setup_msi_irqs()
|
D | hsta_msi.c | 41 static int hsta_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in hsta_setup_msi_irqs() argument
|
/arch/mips/pci/ |
D | msi-octeon.c | 185 int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in arch_setup_msi_irqs() argument 200 if (type == PCI_CAP_ID_MSI && nvec > 1) in arch_setup_msi_irqs()
|
/arch/powerpc/sysdev/ |
D | mpic_u3msi.c | 125 static int u3msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in u3msi_setup_msi_irqs() argument
|
D | fsl_msi.c | 183 static int fsl_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in fsl_setup_msi_irqs() argument
|
/arch/s390/pci/ |
D | pci.c | 391 int arch_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in arch_setup_msi_irqs() argument 401 if (type == PCI_CAP_ID_MSI && nvec > 1) in arch_setup_msi_irqs() 403 msi_vecs = min_t(unsigned int, nvec, zdev->max_msi); in arch_setup_msi_irqs() 446 return (msi_vecs == nvec) ? 0 : msi_vecs; in arch_setup_msi_irqs()
|
/arch/powerpc/include/asm/ |
D | pci-bridge.h | 42 int nvec, int type);
|
/arch/arm/boot/dts/ |
D | tegra20-paz00.dts | 296 nvec@7000c500 { 297 compatible = "nvidia,nvec";
|
/arch/powerpc/platforms/cell/ |
D | axon_msi.c | 257 static int axon_msi_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in axon_msi_setup_msi_irqs() argument
|
/arch/mips/kernel/ |
D | traps.c | 2378 int nvec = cpu_has_veic ? 64 : 8; in trap_init() local 2379 for (i = 0; i < nvec; i++) in trap_init()
|