Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/pci/controller/
Dvmd.c116 int msix_count; member
225 if (vmd->msix_count == 1 + vmd->first_vec) in vmd_next_irq()
241 for (i = best; i < vmd->msix_count; i++) in vmd_next_irq()
292 if (nvec > vmd->msix_count) in vmd_msi_prepare()
293 return vmd->msix_count; in vmd_msi_prepare()
352 if (!vmd->msix_count) in vmd_remove_irq_domain()
666 vmd->msix_count = pci_msix_vec_count(dev); in vmd_alloc_irqs()
667 if (vmd->msix_count < 0) in vmd_alloc_irqs()
670 vmd->msix_count = pci_alloc_irq_vectors(dev, vmd->first_vec + 1, in vmd_alloc_irqs()
671 vmd->msix_count, PCI_IRQ_MSIX); in vmd_alloc_irqs()
[all …]
/Linux-v6.1/drivers/net/ethernet/intel/fm10k/
Dfm10k_common.c130 u16 msix_count; in fm10k_get_pcie_msix_count_generic() local
133 msix_count = fm10k_read_pci_cfg_word(hw, FM10K_PCI_MSIX_MSG_CTRL); in fm10k_get_pcie_msix_count_generic()
134 msix_count &= FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK; in fm10k_get_pcie_msix_count_generic()
137 msix_count++; in fm10k_get_pcie_msix_count_generic()
139 if (msix_count > FM10K_MAX_MSIX_VECTORS) in fm10k_get_pcie_msix_count_generic()
140 msix_count = FM10K_MAX_MSIX_VECTORS; in fm10k_get_pcie_msix_count_generic()
142 return msix_count; in fm10k_get_pcie_msix_count_generic()
/Linux-v6.1/drivers/dma/ptdma/
Dptdma-pci.c27 int msix_count; member
64 pt_msix->msix_count = ret; in pt_get_msix_irqs()
113 if (pt_msix->msix_count) in pt_free_irqs()
/Linux-v6.1/drivers/crypto/ccp/
Dsp-pci.c30 int msix_count; member
110 sp_pci->msix_count = ret; in sp_get_msix_irqs()
114 sp->ccp_irq = (sp_pci->msix_count > 1) ? sp_pci->msix_entry[1].vector in sp_get_msix_irqs()
162 if (sp_pci->msix_count) in sp_free_irqs()
/Linux-v6.1/drivers/infiniband/hw/irdma/
Di40iw_if.c83 rf->msix_count = cdev_info->msix_count; in i40iw_fill_device_info()
Dhw.c470 if (!rf->msix_count) in irdma_save_msix_info()
473 size = sizeof(struct irdma_msix_vector) * rf->msix_count; in irdma_save_msix_info()
474 size += struct_size(iw_qvlist, qv_info, rf->msix_count); in irdma_save_msix_info()
480 (&rf->iw_msixtbl[rf->msix_count]); in irdma_save_msix_info()
483 iw_qvlist->num_vectors = rf->msix_count; in irdma_save_msix_info()
484 if (rf->msix_count <= num_online_cpus()) in irdma_save_msix_info()
488 for (i = 0, ceq_idx = 0; i < rf->msix_count; i++, iw_qvinfo++) { in irdma_save_msix_info()
1212 num_ceqs = min(rf->msix_count, rf->sc_dev.hmc_fpm_misc.max_ceqs); in irdma_setup_ceq_0()
1270 num_ceqs = min(rf->msix_count, rf->sc_dev.hmc_fpm_misc.max_ceqs); in irdma_setup_ceqs()
Dmain.c233 rf->msix_count = pf->num_rdma_msix; in irdma_fill_device_info()
Dmain.h262 u32 msix_count; member
/Linux-v6.1/drivers/net/ethernet/intel/iavf/
Diavf_client.h101 u16 msix_count; /* number of msix vectors*/ member
Diavf_client.c218 cinst->lan_info.msix_count = adapter->num_iwarp_msix; in iavf_client_add_instance()
/Linux-v6.1/include/linux/net/intel/
Di40e_client.h92 u16 msix_count; /* number of msix vectors*/ member
/Linux-v6.1/drivers/ntb/hw/amd/
Dntb_hw_amd.c713 int rc, i, msix_count, node; in ndev_init_isr() local
735 msix_count = pci_enable_msix_range(pdev, ndev->msix, in ndev_init_isr()
737 if (msix_count < 0) in ndev_init_isr()
743 if (msix_count < msix_min) { in ndev_init_isr()
748 for (i = 0; i < msix_count; ++i) { in ndev_init_isr()
/Linux-v6.1/drivers/ntb/hw/intel/
Dntb_hw_gen1.c368 int rc, i, msix_count, node; in ndev_init_isr() local
395 msix_count = pci_enable_msix_range(pdev, ndev->msix, in ndev_init_isr()
397 if (msix_count < 0) in ndev_init_isr()
400 for (i = 0; i < msix_count; ++i) { in ndev_init_isr()
409 dev_dbg(&pdev->dev, "Using %d msix interrupts\n", msix_count); in ndev_init_isr()
410 ndev->db_vec_count = msix_count; in ndev_init_isr()
/Linux-v6.1/drivers/scsi/qedi/
Dqedi.h313 s32 msix_count; member
Dqedi_main.c1411 for (i = 0; i < qedi->msix_count; i++) { in qedi_request_msix_irq()
1445 qedi->msix_count = rc; in qedi_setup_int()
/Linux-v6.1/drivers/net/ethernet/intel/ixgbe/
Dixgbe_common.c2917 u16 msix_count; in ixgbe_get_pcie_msix_count_generic() local
2938 msix_count = ixgbe_read_pci_cfg_word(hw, pcie_offset); in ixgbe_get_pcie_msix_count_generic()
2940 msix_count = 0; in ixgbe_get_pcie_msix_count_generic()
2941 msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK; in ixgbe_get_pcie_msix_count_generic()
2944 msix_count++; in ixgbe_get_pcie_msix_count_generic()
2946 if (msix_count > max_msix_count) in ixgbe_get_pcie_msix_count_generic()
2947 msix_count = max_msix_count; in ixgbe_get_pcie_msix_count_generic()
2949 return msix_count; in ixgbe_get_pcie_msix_count_generic()
/Linux-v6.1/drivers/net/ethernet/intel/i40e/
Di40e_client.c277 cdev->lan_info.msix_count = pf->num_iwarp_msix; in i40e_client_update_msix_info()
374 cdev->lan_info.msix_count = pf->num_iwarp_msix; in i40e_client_add_instance()
/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_isr.c4334 min((u16)ha->msix_count, (u16)(num_online_cpus() + min_vecs)), in qla24xx_enable_msix()
4338 min((u16)ha->msix_count, (u16)(num_online_cpus() + min_vecs)), in qla24xx_enable_msix()
4346 ha->msix_count, ret); in qla24xx_enable_msix()
4348 } else if (ret < ha->msix_count) { in qla24xx_enable_msix()
4351 ha->msix_count = ret; in qla24xx_enable_msix()
4354 ha->max_req_queues = ha->msix_count - 1; in qla24xx_enable_msix()
4368 ha->msix_entries = kcalloc(ha->msix_count, in qla24xx_enable_msix()
4379 for (i = 0; i < ha->msix_count; i++) { in qla24xx_enable_msix()
4571 for (i = 0; i < ha->msix_count; i++) { in qla2x00_free_irqs()
Dqla_os.c2082 ha->msix_count = QLA_BASE_VECTORS; in qla2x00_iospace_config()
2099 ha->msix_count = msix + 1; in qla2x00_iospace_config()
2102 ha->max_req_queues = ha->msix_count - 1; in qla2x00_iospace_config()
2110 "MSI-X vector count: %d.\n", ha->msix_count); in qla2x00_iospace_config()
2117 "MSIX Count: %d.\n", ha->msix_count); in qla2x00_iospace_config()
2165 ha->msix_count = QLA_BASE_VECTORS; in qla83xx_iospace_config()
2181 ha->msix_count = (msix & PCI_MSIX_FLAGS_QSIZE) + 1; in qla83xx_iospace_config()
2188 ha->max_req_queues = ha->msix_count - 1; in qla83xx_iospace_config()
2203 "MSI-X vector count: %d.\n", ha->msix_count); in qla83xx_iospace_config()
2210 "MSIX Count: %d.\n", ha->msix_count); in qla83xx_iospace_config()
Dqla_nx.c1671 ha->msix_count = ha->max_rsp_queues + 1; in qla82xx_iospace_config()
1676 ha->max_req_queues, ha->msix_count); in qla82xx_iospace_config()
1681 ha->max_req_queues, ha->msix_count); in qla82xx_iospace_config()
/Linux-v6.1/drivers/scsi/mpi3mr/
Dmpi3mr_fw.c794 mrioc->requested_poll_qcount, mrioc->msix_count); in mpi3mr_setup_isr()
800 mrioc->msix_count, mrioc->cpu_count); in mpi3mr_setup_isr()
2854 mrioc->msix_count = min_t(int, mrioc->msix_count, in mpi3mr_process_factsdata()
3696 mrioc->msix_count = (message_control & 0x3FF) + 1; in mpi3mr_setup_resources()
3708 mrioc->msix_count); in mpi3mr_setup_resources()
3712 mrioc->msix_count - 2); in mpi3mr_setup_resources()
Dmpi3mr.h1045 u16 msix_count; member
/Linux-v6.1/drivers/usb/host/
Dxhci.c341 xhci->msix_count = min(num_online_cpus() + 1, in xhci_setup_msix()
344 ret = pci_alloc_irq_vectors(pdev, xhci->msix_count, xhci->msix_count, in xhci_setup_msix()
352 for (i = 0; i < xhci->msix_count; i++) { in xhci_setup_msix()
386 for (i = 0; i < xhci->msix_count; i++) in xhci_cleanup_msix()
404 for (i = 0; i < xhci->msix_count; i++) in xhci_msix_sync_irqs()
Dxhci.h1788 int msix_count; member
/Linux-v6.1/drivers/scsi/megaraid/
Dmegaraid_sas_fusion.c789 int i, j, k, msix_count; in megasas_alloc_rdpq_fusion() local
811 msix_count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_alloc_rdpq_fusion()
812 msix_count += instance->iopoll_q_count; in megasas_alloc_rdpq_fusion()
839 dma_alloc_count = DIV_ROUND_UP(msix_count, RDPQ_MAX_INDEX_IN_ONE_CHUNK); in megasas_alloc_rdpq_fusion()
892 if (abs_index == msix_count) in megasas_alloc_rdpq_fusion()

12