Home
last modified time | relevance | path

Searched refs:nvec (Results 1 – 21 of 21) sorted by relevance

/arch/powerpc/platforms/pseries/
Dmsi.c132 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/
Dmsi.c16 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/
Dxen.c162 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/
Dpci.h49 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/
Dx86_init.c119 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/
Dmsi.c83 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/
Dmsi.c70 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/
Dpci.h92 int native_setup_msi_irqs(struct pci_dev *dev, int nvec, int type);
Dx86_init.h175 int (*setup_msi_irqs)(struct pci_dev *dev, int nvec, int type);
/arch/powerpc/sysdev/
Dppc4xx_msi.c79 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()
Dmpic_u3msi.c125 static int u3msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in u3msi_setup_msi_irqs() argument
Dppc4xx_hsta_msi.c41 static int hsta_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in hsta_setup_msi_irqs() argument
Dfsl_msi.c183 static int fsl_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in fsl_setup_msi_irqs() argument
/arch/mips/pci/
Dmsi-octeon.c185 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/
Dpci.c382 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/
Dpci.h239 extern int pnv_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type);
Dpci.c48 int pnv_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in pnv_setup_msi_irqs() argument
/arch/powerpc/include/asm/
Dpci-bridge.h40 int nvec, int type);
/arch/arm/boot/dts/
Dtegra20-paz00.dts291 nvec@7000c500 {
292 compatible = "nvidia,nvec";
/arch/powerpc/platforms/cell/
Daxon_msi.c257 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/
Dtraps.c2283 int nvec = cpu_has_veic ? 64 : 8; in trap_init() local
2284 for (i = 0; i < nvec; i++) in trap_init()