Searched refs:msi_count (Results 1 - 9 of 9) sorted by relevance
/freebsd-11-stable/sys/dev/smartpqi/ |
H A D | smartpqi_intr.c | 50 int msi_count = 0; local 57 msi_count = pci_msix_count(dev); 59 if (msi_count > softs->num_cpus_online) 60 msi_count = softs->num_cpus_online; 61 if (msi_count > PQI_MAX_MSIX) 62 msi_count = PQI_MAX_MSIX; 63 if (msi_count == 0 || (error = pci_alloc_msix(dev, &msi_count)) != 0) { 64 device_printf(dev, "alloc msix failed - msi_count=%d, err=%d; " 65 "will try MSI\n", msi_count, erro [all...] |
/freebsd-11-stable/sys/x86/x86/ |
H A D | msi.c | 120 u_int msi_count:8; /* Messages in this group. (g) */ member in struct:msi_intsrc 265 if (msi->msi_count > 1) { 268 msi->msi_count, msi->msi_maxcount); 282 for (i = 1; i < msi->msi_count; i++) { 303 for (i = 1; i < msi->msi_count; i++) { 477 fsrc->msi_count = count; 515 if (first->msi_first != first || first->msi_count != count) { 545 first->msi_count = 0; 592 for (k = msi->msi_count - 1, i = first_msi_irq; k > 0 && 699 msi->msi_count [all...] |
/freebsd-11-stable/sys/dev/ahci/ |
H A D | ahci_pci.c | 473 int msi_count, msix_count; local 476 msi_count = pci_msi_count(dev); 576 if (msi_count == 0 && msix_count == 0) 581 msi_count = min(1, msi_count); 598 * Try to allocate MSI if msi_count is greater than 0 601 if ((error != 0) && (msi_count > 0)) { 602 error = pci_alloc_msi(dev, &msi_count); 604 ctlr->numirqs = msi_count;
|
/freebsd-11-stable/sys/amd64/vmm/io/ |
H A D | ppt.c | 506 int msi_count, startrid, error, tmp; local 525 msi_count = pci_msi_count(ppt->dev); 526 if (msi_count == 0) { 528 msi_count = 1; 537 if (numvec > msi_count)
|
/freebsd-11-stable/sys/dev/aacraid/ |
H A D | aacraid.c | 1856 int cap, msi_count, error = 0; local 1871 msi_count = 1; 1872 if ((error = pci_alloc_msi(dev, &msi_count)) != 0) { 1891 msi_count = pci_msix_count(dev); 1892 if (msi_count > AAC_MAX_MSIX) 1893 msi_count = AAC_MAX_MSIX; 1894 if (msi_count > sc->aac_max_msix) 1895 msi_count = sc->aac_max_msix; 1896 if (msi_count == 0 || (error = pci_alloc_msix(dev, &msi_count)) ! 1985 int i, msi_count, rid; local [all...] |
/freebsd-11-stable/sys/dev/cxgb/ |
H A D | cxgb_main.c | 451 sc->msi_count = 0; 538 msi_needed = sc->msi_count = sc->params.nports * port_qsets + 1; 541 (error = pci_alloc_msix(dev, &sc->msi_count)) != 0 || 542 sc->msi_count != msi_needed) { 544 "msi_count=%d, msi_needed=%d, err=%d; " 545 "will try MSI\n", sc->msi_count, 547 sc->msi_count = 0; 558 sc->msi_count); 562 if ((msi_allowed >= 1) && (sc->msi_count == 0)) { 563 sc->msi_count [all...] |
H A D | cxgb_adapter.h | 386 int msi_count; member in struct:adapter
|
/freebsd-11-stable/sys/dev/nxge/ |
H A D | if_nxge.c | 785 int msi_count = 0, status = XGE_HAL_OK; local 897 msi_count = pci_msi_count(dev); 898 if(msi_count > 1) { 901 xge_trace(XGE_ERR, "MSI count: %d", msi_count); 904 msi_count = 1; 905 error = pci_alloc_msi(dev, &msi_count); 908 xge_trace(XGE_ERR, "Allocated messages: %d", msi_count); 950 lldev->enabled_msi, msi_count);
|
/freebsd-11-stable/sys/dev/bxe/ |
H A D | bxe.c | 8981 int msi_count = 0; local 8994 msi_count = pci_msi_count(sc->dev); 8998 msi_count, msix_count); 9076 (msi_count < 1)) {
|
Completed in 224 milliseconds