Home
last modified time | relevance | path

Searched refs:msi_count (Results 1 – 7 of 7) sorted by relevance

/freebsd-9-stable/sys/x86/x86/
Dmsi.c116 u_int msi_count:8; /* Messages in this group. (g) */ member
236 if (msi->msi_count > 1) { in msi_assign_cpu()
239 msi->msi_count, msi->msi_maxcount); in msi_assign_cpu()
253 for (i = 1; i < msi->msi_count; i++) { in msi_assign_cpu()
274 for (i = 1; i < msi->msi_count; i++) { in msi_assign_cpu()
411 fsrc->msi_count = count; in msi_alloc()
450 if (first->msi_first != first || first->msi_count != count) { in msi_release()
472 first->msi_count = 0; in msi_release()
575 msi->msi_count = 1; in msix_alloc()
612 msi->msi_count = 0; in msix_release()
/freebsd-9-stable/sys/dev/aacraid/
Daacraid.c1846 int cap, msi_count, error = 0; in aac_define_int_mode() local
1859 msi_count = pci_msix_count(dev); in aac_define_int_mode()
1860 if (msi_count > AAC_MAX_MSIX) in aac_define_int_mode()
1861 msi_count = AAC_MAX_MSIX; in aac_define_int_mode()
1862 if (msi_count > sc->aac_max_msix) in aac_define_int_mode()
1863 msi_count = sc->aac_max_msix; in aac_define_int_mode()
1864 if (msi_count == 0 || (error = pci_alloc_msix(dev, &msi_count)) != 0) { in aac_define_int_mode()
1866 "will try MSI\n", msi_count, error); in aac_define_int_mode()
1871 msi_count); in aac_define_int_mode()
1875 msi_count = 1; in aac_define_int_mode()
[all …]
/freebsd-9-stable/sys/dev/cxgb/
Dcxgb_main.c454 sc->msi_count = 0; in cxgb_controller_attach()
541 msi_needed = sc->msi_count = sc->params.nports * port_qsets + 1; in cxgb_controller_attach()
544 (error = pci_alloc_msix(dev, &sc->msi_count)) != 0 || in cxgb_controller_attach()
545 sc->msi_count != msi_needed) { in cxgb_controller_attach()
548 "will try MSI\n", sc->msi_count, in cxgb_controller_attach()
550 sc->msi_count = 0; in cxgb_controller_attach()
561 sc->msi_count); in cxgb_controller_attach()
565 if ((msi_allowed >= 1) && (sc->msi_count == 0)) { in cxgb_controller_attach()
566 sc->msi_count = 1; in cxgb_controller_attach()
567 if ((error = pci_alloc_msi(dev, &sc->msi_count)) != 0) { in cxgb_controller_attach()
[all …]
Dcxgb_adapter.h384 int msi_count; member
/freebsd-9-stable/sys/dev/nxge/
Dif_nxge.c784 int msi_count = 0, status = XGE_HAL_OK; in xge_attach() local
896 msi_count = pci_msi_count(dev); in xge_attach()
897 if(msi_count > 1) { in xge_attach()
900 xge_trace(XGE_ERR, "MSI count: %d", msi_count); in xge_attach()
903 msi_count = 1; in xge_attach()
904 error = pci_alloc_msi(dev, &msi_count); in xge_attach()
907 xge_trace(XGE_ERR, "Allocated messages: %d", msi_count); in xge_attach()
949 lldev->enabled_msi, msi_count); in xge_attach()
/freebsd-9-stable/sys/dev/pci/
Dpci_if.m139 METHOD int msi_count {
/freebsd-9-stable/sys/dev/bxe/
Dbxe.c8990 int msi_count = 0; in bxe_interrupt_alloc() local
9003 msi_count = pci_msi_count(sc->dev); in bxe_interrupt_alloc()
9007 msi_count, msix_count); in bxe_interrupt_alloc()
9085 (msi_count < 1)) { in bxe_interrupt_alloc()