Home
last modified time | relevance | path

Searched refs:msix_count (Results 1 – 12 of 12) sorted by relevance

/NextBSD/sys/dev/ahci/
HDahci_pci.c408 int msi_count, msix_count; in ahci_pci_attach() local
412 msix_count = pci_msix_count(dev); in ahci_pci_attach()
441 if (msix_count > 0) { in ahci_pci_attach()
448 msix_count = 0; in ahci_pci_attach()
453 if (msix_count > 0) { in ahci_pci_attach()
506 if (msi_count == 0 && msix_count == 0) in ahci_pci_attach()
512 msix_count = min(1, msix_count); in ahci_pci_attach()
521 if (msix_count > 0) { in ahci_pci_attach()
522 error = pci_alloc_msix(dev, &msix_count); in ahci_pci_attach()
524 ctlr->numirqs = msix_count; in ahci_pci_attach()
/NextBSD/sys/dev/qlxgb/
HDqla_os.c280 ha->msix_count = pci_msix_count(dev); in qla_pci_attach()
282 if (ha->msix_count < qla_get_msix_count(ha)) { in qla_pci_attach()
284 ha->msix_count); in qla_pci_attach()
290 ha->irq, ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg)); in qla_pci_attach()
292 ha->msix_count = qla_get_msix_count(ha); in qla_pci_attach()
294 if (pci_alloc_msix(dev, &ha->msix_count)) { in qla_pci_attach()
296 ha->msix_count); in qla_pci_attach()
297 ha->msix_count = 0; in qla_pci_attach()
307 for (i = 0; i < ha->msix_count; i++) { in qla_pci_attach()
432 for (i = 0; i < ha->msix_count; i++) { in qla_pci_detach()
[all …]
HDqla_def.h139 int msix_count; member
/NextBSD/sys/dev/qlxgbe/
HDql_os.c335 ha->msix_count = pci_msix_count(dev); in qla_pci_attach()
337 if (ha->msix_count < (ha->hw.num_sds_rings + 1)) { in qla_pci_attach()
339 ha->msix_count); in qla_pci_attach()
345 ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg)); in qla_pci_attach()
367 ha->pci_func, rsrc_len, ha->msix_count, ha->pci_reg, num_rcvq); in qla_pci_attach()
371 if ((ha->msix_count < 64) || (num_rcvq != 32)) { in qla_pci_attach()
378 ha->msix_count = ha->hw.num_sds_rings + 1; in qla_pci_attach()
380 if (pci_alloc_msix(dev, &ha->msix_count)) { in qla_pci_attach()
382 ha->msix_count); in qla_pci_attach()
383 ha->msix_count = 0; in qla_pci_attach()
[all …]
HDql_def.h156 int msix_count; member
HDql_hw.c2385 if (ha->msix_count == 2) { in qla_init_rcv_cntxt()
2505 if (ha->msix_count == 2) { in qla_add_rcv_rings()
/NextBSD/sys/dev/qlxge/
HDqls_os.c385 ha->msix_count = pci_msix_count(dev); in qls_pci_attach()
387 if (ha->msix_count < qls_get_msix_count(ha)) { in qls_pci_attach()
389 ha->msix_count); in qls_pci_attach()
393 ha->msix_count = qls_get_msix_count(ha); in qls_pci_attach()
397 ha->pci_func, ha->msix_count, ha->pci_reg, ha->pci_reg1); in qls_pci_attach()
399 if (pci_alloc_msix(dev, &ha->msix_count)) { in qls_pci_attach()
401 ha->msix_count); in qls_pci_attach()
402 ha->msix_count = 0; in qls_pci_attach()
569 if (ha->msix_count) in qls_release()
HDqls_def.h280 int msix_count; member
/NextBSD/sys/dev/vxge/
HDvxge.c1789 int msix_vec_reqd, intr_count, msix_count; in vxge_alloc_isr_resources() local
1836 msix_count = 0; in vxge_alloc_isr_resources()
1840 vdev->config.isr_info[msix_count].irq_rid = irq_rid + 2; in vxge_alloc_isr_resources()
1841 vdev->config.isr_info[msix_count].irq_res = in vxge_alloc_isr_resources()
1843 &vdev->config.isr_info[msix_count].irq_rid, in vxge_alloc_isr_resources()
1846 if (vdev->config.isr_info[msix_count].irq_res == NULL) { in vxge_alloc_isr_resources()
1849 vdev->config.isr_info[msix_count].irq_rid); in vxge_alloc_isr_resources()
1856 vdev->config.isr_info[msix_count].irq_res, in vxge_alloc_isr_resources()
1861 msix_count++; in vxge_alloc_isr_resources()
1864 vdev->config.isr_info[msix_count].irq_rid = 3; in vxge_alloc_isr_resources()
[all …]
/NextBSD/sys/dev/ixgbe/
HDixgbe_common.c3568 u16 msix_count = 1; in ixgbe_get_pcie_msix_count_generic() local
3585 return msix_count; in ixgbe_get_pcie_msix_count_generic()
3589 msix_count = IXGBE_READ_PCIE_WORD(hw, pcie_offset); in ixgbe_get_pcie_msix_count_generic()
3591 msix_count = 0; in ixgbe_get_pcie_msix_count_generic()
3592 msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK; in ixgbe_get_pcie_msix_count_generic()
3595 msix_count++; in ixgbe_get_pcie_msix_count_generic()
3597 if (msix_count > max_msix_count) in ixgbe_get_pcie_msix_count_generic()
3598 msix_count = max_msix_count; in ixgbe_get_pcie_msix_count_generic()
3600 return msix_count; in ixgbe_get_pcie_msix_count_generic()
/NextBSD/sys/dev/pci/
HDpci_if.m196 METHOD int msix_count {
/NextBSD/sys/dev/bxe/
HDbxe.c9356 int msix_count = 0; in bxe_interrupt_alloc() local
9366 msix_count = pci_msix_count(sc->dev); in bxe_interrupt_alloc()
9374 msi_count, msix_count); in bxe_interrupt_alloc()
9383 (msix_count < 2)) { in bxe_interrupt_alloc()
9389 num_requested = min((sc->num_queues + 1), msix_count); in bxe_interrupt_alloc()