/freebsd-current/sys/dev/smartpqi/ |
H A D | smartpqi_intr.c | 222 int msix_count = softs->intr_count; local 223 size_t msix_size = sizeof(pqi_intr_ctx_t) * msix_count; 291 for (i = 1; i < msix_count; ++i) { 386 int msix_count = softs->intr_count; local 391 os_mem_free(softs, (char*)softs->os_specific.msi_ctx, sizeof(pqi_intr_ctx_t) * msix_count); 394 for (; i < msix_count; ++i) {
|
/freebsd-current/sys/dev/ahci/ |
H A D | ahci_pci.c | 497 int msi_count, msix_count; local 502 msix_count = pci_msix_count(dev); 584 msix_count = 0; 587 if (msix_count > 0) { 594 msix_count = 0; 599 if (msix_count > 0) { 655 if (msi_count == 0 && msix_count == 0) 661 msix_count = min(1, msix_count); 670 if (msix_count > [all...] |
/freebsd-current/sys/dev/mpi3mr/ |
H A D | mpi3mr_pci.c | 506 sc->msix_count = 0; 526 for (i = 0; i < sc->msix_count; i++) { 538 sc->msix_count = i; 547 sc->msix_count = i; 552 mpi3mr_dprint(sc, MPI3MR_INFO, "Set up %d MSI-x interrupts\n", sc->msix_count); 564 for (i = 0; i < sc->msix_count; i++) { 616 sc->msix_count = msgs;
|
H A D | mpi3mr.h | 556 int msix_count; member in struct:mpi3mr_softc
|
H A D | mpi3mr.c | 873 num_queues = min(num_queues, sc->msix_count); 5391 for (i = 0; i < sc->msix_count; i++) {
|
/freebsd-current/sys/dev/qlxgb/ |
H A D | qla_os.c | 277 ha->msix_count = pci_msix_count(dev); 279 if (ha->msix_count < qla_get_msix_count(ha)) { 280 device_printf(dev, "%s: msix_count[%d] not enough\n", __func__, 281 ha->msix_count); 286 " msix_count 0x%x pci_reg %p\n", __func__, ha, 287 ha->irq, ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg)); 289 ha->msix_count = qla_get_msix_count(ha); 291 if (pci_alloc_msix(dev, &ha->msix_count)) { 293 ha->msix_count); 294 ha->msix_count [all...] |
H A D | qla_def.h | 139 int msix_count; member in struct:qla_host
|
/freebsd-current/sys/dev/qlxge/ |
H A D | qls_os.c | 376 ha->msix_count = pci_msix_count(dev); 378 if (ha->msix_count < qls_get_msix_count(ha)) { 379 device_printf(dev, "%s: msix_count[%d] not enough\n", __func__, 380 ha->msix_count); 384 ha->msix_count = qls_get_msix_count(ha); 386 QL_DPRINT2((dev, "\n%s: ha %p pci_func 0x%x msix_count 0x%x" 388 ha->pci_func, ha->msix_count, ha->pci_reg, ha->pci_reg1)); 390 if (pci_alloc_msix(dev, &ha->msix_count)) { 392 ha->msix_count); 393 ha->msix_count [all...] |
H A D | qls_def.h | 277 int msix_count; member in struct:qla_host
|
/freebsd-current/sys/dev/qlxgbe/ |
H A D | ql_os.c | 373 ha->msix_count = pci_msix_count(dev); 375 if (ha->msix_count < 1 ) { 376 device_printf(dev, "%s: msix_count[%d] not enough\n", __func__, 377 ha->msix_count); 381 if (ha->msix_count < (ha->hw.num_sds_rings + 1)) { 382 ha->hw.num_sds_rings = ha->msix_count - 1; 386 " msix_count 0x%x pci_reg %p pci_reg1 %p\n", __func__, ha, 387 ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg, 409 " msix_count 0x%x pci_reg %p pci_reg1 %p num_rcvq = %d\n", 410 __func__, ha, ha->pci_func, rsrc_len, ha->msix_count, [all...] |
H A D | ql_def.h | 168 int msix_count; member in struct:qla_host
|
/freebsd-current/sys/dev/irdma/ |
H A D | irdma_hw.c | 498 if (!rf->msix_count) { 503 size = sizeof(struct irdma_msix_vector) * rf->msix_count; 505 size += sizeof(*iw_qvinfo) * rf->msix_count - 1; 511 (&rf->iw_msixtbl[rf->msix_count]); 514 iw_qvlist->num_vectors = rf->msix_count; 515 if (rf->msix_count <= num_online_cpus()) 517 else if (rf->msix_count > num_online_cpus() + 1) 518 rf->msix_count = num_online_cpus() + 1; 520 for (i = 0, ceq_idx = 0; i < rf->msix_count; i++, iw_qvinfo++) { 1338 num_ceqs = min(rf->msix_count, r [all...] |
H A D | icrdma.c | 529 rf->msix_count = peer->msix.count; 533 rf->msix_count, rf->msix_info.entry, rf->msix_info.vector);
|
H A D | irdma_main.h | 292 u32 msix_count; member in struct:irdma_pci_f
|
/freebsd-current/sys/dev/ixgbe/ |
H A D | ixgbe_common.c | 3677 u16 msix_count = 1; local 3695 return msix_count; 3699 msix_count = IXGBE_READ_PCIE_WORD(hw, pcie_offset); 3701 msix_count = 0; 3702 msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK; 3705 msix_count++; 3707 if (msix_count > max_msix_count) 3708 msix_count = max_msix_count; 3710 return msix_count;
|
/freebsd-current/sys/dev/qlnx/qlnxe/ |
H A D | qlnx_os.c | 881 ha->msix_count = pci_msix_count(dev); 889 if (!ha->msix_count || 890 (ha->msix_count < (num_sp_msix + 1 + num_rdma_irqs))) { 891 device_printf(dev, "%s: msix_count[%d] not enough\n", __func__, 892 ha->msix_count); 896 if (ha->msix_count > (ha->num_rss + num_sp_msix + num_rdma_irqs)) 897 ha->msix_count = ha->num_rss + num_sp_msix + num_rdma_irqs; 899 ha->num_rss = ha->msix_count - (num_sp_msix + num_rdma_irqs); 910 ha->msix_count, mp_ncpus, ha->num_rss, ha->num_tc); 912 if (pci_alloc_msix(dev, &ha->msix_count)) { [all...] |
H A D | qlnx_def.h | 392 int msix_count; member in struct:qlnx_host
|
/freebsd-current/sys/dev/bxe/ |
H A D | bxe.c | 8928 int msix_count = 0; local 8938 msix_count = pci_msix_count(sc->dev); 8946 msi_count, msix_count); 8955 (msix_count < 2)) { 8961 num_requested = min((sc->num_queues + 1), msix_count);
|