Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/pci/controller/
H A Dvmd.c99 int msix_count; member
205 if (vmd->msix_count == 1) in vmd_next_irq()
220 for (i = 1; i < vmd->msix_count; i++) in vmd_next_irq()
274 if (nvec > vmd->msix_count) in vmd_msi_prepare()
275 return vmd->msix_count; in vmd_msi_prepare()
549 vmd->msix_count = pci_msix_vec_count(dev); in vmd_alloc_irqs()
550 if (vmd->msix_count < 0) in vmd_alloc_irqs()
553 vmd->msix_count = pci_alloc_irq_vectors(dev, 1, vmd->msix_count, in vmd_alloc_irqs()
555 if (vmd->msix_count < 0) in vmd_alloc_irqs()
556 return vmd->msix_count; in vmd_alloc_irqs()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/fm10k/
H A 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()
/OK3568_Linux_fs/kernel/drivers/crypto/ccp/
H A Dsp-pci.c30 int msix_count; member
49 sp_pci->msix_count = ret; in sp_get_msix_irqs()
53 sp->ccp_irq = (sp_pci->msix_count > 1) ? sp_pci->msix_entry[1].vector in sp_get_msix_irqs()
101 if (sp_pci->msix_count) in sp_free_irqs()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/i40iw/
H A Di40iw_main.c789 num_ceqs = min(iwdev->msix_count, iwdev->sc_dev.hmc_fpm_misc.max_ceqs); in i40iw_setup_ceqs()
1426 if (!ldev->msix_count) { in i40iw_save_msix_info()
1431 iwdev->msix_count = ldev->msix_count; in i40iw_save_msix_info()
1433 size = sizeof(struct i40iw_msix_vector) * iwdev->msix_count; in i40iw_save_msix_info()
1435 size += sizeof(struct i40e_qv_info) * iwdev->msix_count - 1; in i40iw_save_msix_info()
1440 iwdev->iw_qvlist = (struct i40e_qvlist_info *)(&iwdev->iw_msixtbl[iwdev->msix_count]); in i40iw_save_msix_info()
1443 iw_qvlist->num_vectors = iwdev->msix_count; in i40iw_save_msix_info()
1444 if (iwdev->msix_count <= num_online_cpus()) in i40iw_save_msix_info()
1446 for (i = 0, ceq_idx = 0; i < iwdev->msix_count; i++, iw_qvinfo++) { in i40iw_save_msix_info()
H A Di40iw.h250 u32 msix_count; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/iavf/
H A Diavf_client.h101 u16 msix_count; /* number of msix vectors*/ member
H A Diavf_client.c218 cinst->lan_info.msix_count = adapter->num_iwarp_msix; in iavf_client_add_instance()
/OK3568_Linux_fs/kernel/drivers/ntb/hw/amd/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/net/intel/
H A Di40e_client.h94 u16 msix_count; /* number of msix vectors*/ member
/OK3568_Linux_fs/kernel/drivers/ntb/hw/intel/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c2916 u16 msix_count; in ixgbe_get_pcie_msix_count_generic() local
2937 msix_count = ixgbe_read_pci_cfg_word(hw, pcie_offset); in ixgbe_get_pcie_msix_count_generic()
2939 msix_count = 0; in ixgbe_get_pcie_msix_count_generic()
2940 msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK; in ixgbe_get_pcie_msix_count_generic()
2943 msix_count++; in ixgbe_get_pcie_msix_count_generic()
2945 if (msix_count > max_msix_count) in ixgbe_get_pcie_msix_count_generic()
2946 msix_count = max_msix_count; in ixgbe_get_pcie_msix_count_generic()
2948 return msix_count; in ixgbe_get_pcie_msix_count_generic()
/OK3568_Linux_fs/kernel/drivers/scsi/qedi/
H A Dqedi.h313 s32 msix_count; member
H A Dqedi_main.c1412 for (i = 0; i < qedi->msix_count; i++) { in qedi_request_msix_irq()
1446 qedi->msix_count = rc; in qedi_setup_int()
/OK3568_Linux_fs/kernel/drivers/scsi/qla2xxx/
H A Dqla_isr.c3954 ha->msix_count, PCI_IRQ_MSIX); in qla24xx_enable_msix()
3957 ha->msix_count, PCI_IRQ_MSIX | PCI_IRQ_AFFINITY, in qla24xx_enable_msix()
3964 ha->msix_count, ret); in qla24xx_enable_msix()
3966 } else if (ret < ha->msix_count) { in qla24xx_enable_msix()
3969 ha->msix_count = ret; in qla24xx_enable_msix()
3972 ha->max_req_queues = ha->msix_count - 1; in qla24xx_enable_msix()
3986 ha->msix_entries = kcalloc(ha->msix_count, in qla24xx_enable_msix()
3997 for (i = 0; i < ha->msix_count; i++) { in qla24xx_enable_msix()
4189 for (i = 0; i < ha->msix_count; i++) { in qla2x00_free_irqs()
H A Dqla_os.c1996 ha->msix_count = QLA_BASE_VECTORS; in qla2x00_iospace_config()
2013 ha->msix_count = msix + 1; in qla2x00_iospace_config()
2016 ha->max_req_queues = ha->msix_count - 1; in qla2x00_iospace_config()
2024 "MSI-X vector count: %d.\n", ha->msix_count); in qla2x00_iospace_config()
2031 "MSIX Count: %d.\n", ha->msix_count); in qla2x00_iospace_config()
2079 ha->msix_count = QLA_BASE_VECTORS; in qla83xx_iospace_config()
2095 ha->msix_count = (msix & PCI_MSIX_FLAGS_QSIZE) + 1; in qla83xx_iospace_config()
2102 ha->max_req_queues = ha->msix_count - 1; in qla83xx_iospace_config()
2117 "MSI-X vector count: %d.\n", ha->msix_count); in qla83xx_iospace_config()
2124 "MSIX Count: %d.\n", ha->msix_count); in qla83xx_iospace_config()
H A Dqla_nx.c1674 ha->msix_count = ha->max_rsp_queues + 1; in qla82xx_iospace_config()
1679 ha->max_req_queues, ha->msix_count); in qla82xx_iospace_config()
1684 ha->max_req_queues, ha->msix_count); in qla82xx_iospace_config()
H A Dqla_target.c4376 } else if (ha->msix_count) { in qlt_handle_cmd_for_atio()
7052 ha->msix_count += 1; /* For ATIO Q */ in qlt_83xx_iospace_config()
H A Dqla_def.h3960 uint16_t msix_count; member
H A Dqla_init.c9151 for (i = 0; i < ha->msix_count; i++) { in qla2xxx_create_qpair()
/OK3568_Linux_fs/kernel/drivers/usb/host/
H A Dxhci.c336 xhci->msix_count = min(num_online_cpus() + 1, in xhci_setup_msix()
339 ret = pci_alloc_irq_vectors(pdev, xhci->msix_count, xhci->msix_count, in xhci_setup_msix()
347 for (i = 0; i < xhci->msix_count; i++) { in xhci_setup_msix()
381 for (i = 0; i < xhci->msix_count; i++) in xhci_cleanup_msix()
399 for (i = 0; i < xhci->msix_count; i++) in xhci_msix_sync_irqs()
H A Dxhci.h1794 int msix_count; member
/OK3568_Linux_fs/kernel/drivers/net/ethernet/intel/i40e/
H A Di40e_client.c278 cdev->lan_info.msix_count = pf->num_iwarp_msix; in i40e_client_update_msix_info()
/OK3568_Linux_fs/kernel/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c754 int i, j, k, msix_count; in megasas_alloc_rdpq_fusion() local
776 msix_count = instance->msix_vectors > 0 ? instance->msix_vectors : 1; in megasas_alloc_rdpq_fusion()
803 dma_alloc_count = DIV_ROUND_UP(msix_count, RDPQ_MAX_INDEX_IN_ONE_CHUNK); in megasas_alloc_rdpq_fusion()
856 if (abs_index == msix_count) in megasas_alloc_rdpq_fusion()