/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 152 if (req_msi < nvec) { in check_req() 153 pr_debug("rtas_msi: %s requests < %d MSIs\n", prop_name, nvec); in check_req() 164 static int check_req_msi(struct pci_dev *pdev, int nvec) in check_req_msi() argument 166 return check_req(pdev, nvec, "ibm,req#msi"); in check_req_msi() 169 static int check_req_msix(struct pci_dev *pdev, int nvec) in check_req_msix() argument 171 return check_req(pdev, nvec, "ibm,req#msi-x"); in check_req_msix() 387 int nvec = nvec_in; in rtas_setup_msi_irqs() local 391 rc = check_req_msix(pdev, nvec); in rtas_setup_msi_irqs() 393 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() 224 static int xen_hvm_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in xen_hvm_setup_msi_irqs() argument 230 if (type == PCI_CAP_ID_MSI && nvec > 1) in xen_hvm_setup_msi_irqs() 243 (type == PCI_CAP_ID_MSI) ? nvec : 1, in xen_hvm_setup_msi_irqs() 263 static int xen_initdom_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in xen_initdom_setup_msi_irqs() argument 287 if (type == PCI_CAP_ID_MSI && nvec > 1) { in xen_initdom_setup_msi_irqs() [all …]
|
/arch/x86/include/asm/xen/ |
D | pci.h | 49 int (*enable_msix)(struct pci_dev *dev, int vectors[], int nvec); 68 int vectors[], int nvec) in xen_pci_frontend_enable_msix() argument 71 return xen_pci_frontend->enable_msix(dev, vectors, nvec); in xen_pci_frontend_enable_msix()
|
/arch/x86/kernel/ |
D | x86_init.c | 119 int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in arch_setup_msi_irqs() argument 121 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 | 70 int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in native_setup_msi_irqs() argument 85 return pci_msi_domain_alloc_irqs(domain, dev, nvec, type); in native_setup_msi_irqs() 100 int nvec, msi_alloc_info_t *arg) in pci_msi_prepare() argument
|
/arch/x86/include/asm/ |
D | pci.h | 92 int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type);
|
D | x86_init.h | 175 int (*setup_msi_irqs)(struct pci_dev *dev, int nvec, int type);
|
/arch/powerpc/sysdev/ |
D | ppc4xx_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 | 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 | ppc4xx_hsta_msi.c | 41 static int hsta_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in hsta_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/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/s390/pci/ |
D | pci.c | 382 int arch_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in arch_setup_msi_irqs() argument 391 if (type == PCI_CAP_ID_MSI && nvec > 1) in arch_setup_msi_irqs() 393 msi_vecs = min_t(unsigned int, nvec, zdev->max_msi); in arch_setup_msi_irqs() 438 return (msi_vecs == nvec) ? 0 : msi_vecs; in arch_setup_msi_irqs()
|
/arch/powerpc/platforms/powernv/ |
D | pci.h | 239 extern int pnv_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type);
|
D | pci.c | 48 int pnv_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in pnv_setup_msi_irqs() argument
|
/arch/powerpc/include/asm/ |
D | pci-bridge.h | 40 int nvec, int type);
|
/arch/arm/boot/dts/ |
D | tegra20-paz00.dts | 291 nvec@7000c500 { 292 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 | 2283 int nvec = cpu_has_veic ? 64 : 8; in trap_init() local 2284 for (i = 0; i < nvec; i++) in trap_init()
|