/src/sys/arch/arm/pci/ |
pci_msi_machdep.c | 205 int intx_count, msi_count, msix_count, error; local in function:pci_intr_alloc 210 intx_count = msi_count = msix_count = 0; 217 msi_count = counts[PCI_INTR_TYPE_MSI]; 229 intx_count = msi_count = msix_count = 1; 240 if (msi_count == -1) 241 msi_count = pci_msi_count(pa->pa_pc, pa->pa_tag); 242 if (msi_count > 0 && (error = pci_msi_alloc_exact(pa, ihps, msi_count)) == 0) { 244 counts[PCI_INTR_TYPE_MSI] = msi_count;
|
/src/sys/arch/x86/pci/ |
pci_intr_machdep.c | 520 int intx_count, msi_count, msix_count; local in function:pci_intr_alloc 522 intx_count = msi_count = msix_count = 0; 525 msi_count = 1; 533 msi_count = counts[PCI_INTR_TYPE_MSI]; 560 if (msi_count == -1) /* use hardware max */ 561 msi_count = pci_msi_count(pa->pa_pc, pa->pa_tag); 562 if (msi_count > 0) { 563 error = pci_msi_alloc_exact(pa, ihps, msi_count); 566 counts[PCI_INTR_TYPE_MSI] = msi_count;
|
/src/sys/dev/pci/cxgb/ |
cxgb_main.c | 311 sc->msi_count = 0; 377 msi_needed = sc->msi_count = SGE_MSIX_COUNT; 379 if (((error = pci_alloc_msix(dev, &sc->msi_count)) != 0) || 380 (sc->msi_count != msi_needed)) { 381 device_printf(dev, "msix allocation failed - msi_count = %d" 382 " msi_needed=%d will try msi err=%d\n", sc->msi_count, 384 sc->msi_count = 0; 395 if ((msi_allowed >= 1) && (sc->msi_count == 0)) { 396 sc->msi_count = 1; 397 if (pci_alloc_msi(dev, &sc->msi_count)) { [all...] |
cxgb_adapter.h | 383 int msi_count; member in struct:adapter
|