Home
last modified time | relevance | path

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

/arch/powerpc/kernel/
Dmsi.c15 int arch_msi_check_device(struct pci_dev* dev, int nvec, int type) in arch_msi_check_device() argument
24 return ppc_md.msi_check_device(dev, nvec, type); in arch_msi_check_device()
30 int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in arch_setup_msi_irqs() argument
32 return ppc_md.setup_msi_irqs(dev, nvec, type); in arch_setup_msi_irqs()
/arch/powerpc/platforms/pseries/
Dmsi.c135 static int check_req_msi(struct pci_dev *pdev, int nvec) in check_req_msi() argument
153 if (*req_msi < nvec) { in check_req_msi()
154 pr_debug("rtas_msi: ibm,req#msi requests < %d MSIs\n", nvec); in check_req_msi()
161 static int rtas_msi_check_device(struct pci_dev *pdev, int nvec, int type) in rtas_msi_check_device() argument
166 return check_req_msi(pdev, nvec); in rtas_msi_check_device()
169 static int rtas_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in rtas_setup_msi_irqs() argument
186 rc = rtas_change_msi(pdn, RTAS_CHANGE_MSI_FN, nvec); in rtas_setup_msi_irqs()
190 rc = rtas_change_msi(pdn, RTAS_CHANGE_FN, nvec); in rtas_setup_msi_irqs()
193 rc = rtas_change_msi(pdn, RTAS_CHANGE_MSIX_FN, nvec); in rtas_setup_msi_irqs()
/arch/powerpc/sysdev/
Dmpic_pasemi_msi.c66 static int pasemi_msi_check_device(struct pci_dev *pdev, int nvec, int type) in pasemi_msi_check_device() argument
93 static int pasemi_msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in pasemi_msi_setup_msi_irqs() argument
101 pdev, nvec, type); in pasemi_msi_setup_msi_irqs()
Dmpic_u3msi.c81 static int u3msi_msi_check_device(struct pci_dev *pdev, int nvec, int type) in u3msi_msi_check_device() argument
113 static int u3msi_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in u3msi_setup_msi_irqs() argument
Dfsl_msi.c87 static int fsl_msi_check_device(struct pci_dev *pdev, int nvec, int type) in fsl_msi_check_device() argument
125 static int fsl_setup_msi_irqs(struct pci_dev *pdev, int nvec, int type) in fsl_setup_msi_irqs() argument
/arch/x86/kernel/
Damd_iommu_init.c780 int nvec = 0, i; in iommu_setup_msix() local
784 entries[nvec].entry = curr->evt_msi_num; in iommu_setup_msix()
785 entries[nvec].vector = 0; in iommu_setup_msix()
787 nvec++; in iommu_setup_msix()
791 if (pci_enable_msix(iommu->dev, entries, nvec)) { in iommu_setup_msix()
796 for (i = 0; i < nvec; ++i) { in iommu_setup_msix()
Dio_apic.c3415 static int msi_alloc_irte(struct pci_dev *dev, int irq, int nvec) in msi_alloc_irte() argument
3427 index = alloc_irte(iommu, irq, nvec); in msi_alloc_irte()
3430 "Unable to allocate %d IRTE for PCI %s\n", nvec, in msi_alloc_irte()
3501 int arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) in arch_setup_msi_irqs() argument
3529 index = msi_alloc_irte(dev, irq, nvec); in arch_setup_msi_irqs()
/arch/powerpc/include/asm/
Dmachdep.h129 int nvec, int type);
131 int nvec, int type);
/arch/powerpc/platforms/cell/
Daxon_msi.c199 static int axon_msi_check_device(struct pci_dev *dev, int nvec, int type) in axon_msi_check_device() argument
261 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.c1678 int nvec = cpu_has_veic ? 64 : 8; in trap_init() local
1679 for (i = 0; i < nvec; i++) in trap_init()