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

12

/linux-master/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_common.c130 u16 msix_count; local
133 msix_count = fm10k_read_pci_cfg_word(hw, FM10K_PCI_MSIX_MSG_CTRL);
134 msix_count &= FM10K_PCI_MSIX_MSG_CTRL_TBL_SZ_MASK;
137 msix_count++;
139 if (msix_count > FM10K_MAX_MSIX_VECTORS)
140 msix_count = FM10K_MAX_MSIX_VECTORS;
142 return msix_count;
/linux-master/drivers/dma/ptdma/
H A Dptdma-pci.c27 int msix_count; member in struct:pt_msix
64 pt_msix->msix_count = ret;
113 if (pt_msix->msix_count)
/linux-master/drivers/pci/controller/
H A Dvmd.c131 int msix_count; member in struct:vmd_dev
240 if (vmd->msix_count == 1 + vmd->first_vec)
256 for (i = best; i < vmd->msix_count; i++)
307 if (nvec > vmd->msix_count)
308 return vmd->msix_count;
367 if (!vmd->msix_count)
695 vmd->msix_count = pci_msix_vec_count(dev);
696 if (vmd->msix_count < 0)
699 vmd->msix_count = pci_alloc_irq_vectors(dev, vmd->first_vec + 1,
700 vmd->msix_count, PCI_IRQ_MSI
[all...]
/linux-master/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.h40 int wx_get_pcie_msix_counts(struct wx *wx, u16 *msix_count, u16 max_msix_count);
H A Dwx_hw.c1865 * @msix_count: number of MSI interrupts that can be obtained
1871 int wx_get_pcie_msix_counts(struct wx *wx, u16 *msix_count, u16 max_msix_count) argument
1877 *msix_count = 1;
1885 msix_count);
1886 *msix_count &= WX_PCIE_MSIX_TBL_SZ_MASK;
1888 *msix_count += 1;
1890 if (*msix_count > max_msix_count)
1891 *msix_count = max_msix_count;
/linux-master/drivers/infiniband/hw/irdma/
H A Di40iw_if.c83 rf->msix_count = cdev_info->msix_count;
H A Dhw.c485 if (!rf->msix_count)
488 size = sizeof(struct irdma_msix_vector) * rf->msix_count;
489 size += struct_size(iw_qvlist, qv_info, rf->msix_count);
495 (&rf->iw_msixtbl[rf->msix_count]);
498 iw_qvlist->num_vectors = rf->msix_count;
499 if (rf->msix_count <= num_online_cpus())
501 else if (rf->msix_count > num_online_cpus() + 1)
502 rf->msix_count = num_online_cpus() + 1;
505 for (i = 0, ceq_idx = 0; i < rf->msix_count; i++, iw_qvinfo++) {
1249 num_ceqs = min(rf->msix_count, r
[all...]
H A Dmain.c233 rf->msix_count = pf->num_rdma_msix;
H A Dmain.h265 u32 msix_count; member in struct:irdma_pci_f
/linux-master/drivers/crypto/ccp/
H A Dsp-pci.c37 int msix_count; member in struct:sp_pci
174 sp_pci->msix_count = ret;
178 sp->ccp_irq = (sp_pci->msix_count > 1) ? sp_pci->msix_entry[1].vector
226 if (sp_pci->msix_count)
/linux-master/include/linux/net/intel/
H A Di40e_client.h92 u16 msix_count; /* number of msix vectors*/ member in struct:i40e_info
93 /* Array down below will be dynamically allocated based on msix_count */
/linux-master/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c89 u16 msix_count = 0; local
110 err = wx_get_pcie_msix_counts(wx, &msix_count, NGBE_MAX_MSIX_VECTORS);
113 wx->mac.max_msix_vectors = msix_count;
/linux-master/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_main.c231 u16 msix_count = 0; local
251 err = wx_get_pcie_msix_counts(wx, &msix_count, TXGBE_MAX_MSIX_VECTORS);
254 wx->mac.max_msix_vectors = msix_count;
/linux-master/drivers/scsi/qedi/
H A Dqedi.h313 s32 msix_count; member in struct:qedi_ctx
H A Dqedi_main.c1412 for (i = 0; i < qedi->msix_count; i++) {
1446 qedi->msix_count = rc;
/linux-master/drivers/ntb/hw/amd/
H A Dntb_hw_amd.c713 int rc, i, msix_count, node; local
735 msix_count = pci_enable_msix_range(pdev, ndev->msix,
737 if (msix_count < 0)
743 if (msix_count < msix_min) {
748 for (i = 0; i < msix_count; ++i) {
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_client.c274 cdev->lan_info.msix_count = pf->num_iwarp_msix;
371 cdev->lan_info.msix_count = pf->num_iwarp_msix;
/linux-master/drivers/ntb/hw/intel/
H A Dntb_hw_gen1.c368 int rc, i, msix_count, node; local
395 msix_count = pci_enable_msix_range(pdev, ndev->msix,
397 if (msix_count < 0)
400 for (i = 0; i < msix_count; ++i) {
409 dev_dbg(&pdev->dev, "Using %d msix interrupts\n", msix_count);
410 ndev->db_vec_count = msix_count;
/linux-master/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c2904 u16 msix_count; local
2925 msix_count = ixgbe_read_pci_cfg_word(hw, pcie_offset);
2927 msix_count = 0;
2928 msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK;
2931 msix_count++;
2933 if (msix_count > max_msix_count)
2934 msix_count = max_msix_count;
2936 return msix_count;
/linux-master/drivers/scsi/qla2xxx/
H A Dqla_isr.c4542 min((u16)ha->msix_count, (u16)(num_online_cpus() + min_vecs)),
4546 min((u16)ha->msix_count, (u16)(num_online_cpus() + min_vecs)),
4554 ha->msix_count, ret);
4556 } else if (ret < ha->msix_count) {
4559 ha->msix_count = ret;
4562 ha->max_req_queues = ha->msix_count - 1;
4576 ha->msix_entries = kcalloc(ha->msix_count,
4587 for (i = 0; i < ha->msix_count; i++) {
4780 for (i = 0; i < ha->msix_count; i++) {
H A Dqla_os.c2120 ha->msix_count = QLA_BASE_VECTORS;
2137 ha->msix_count = msix + 1;
2140 ha->max_req_queues = ha->msix_count - 1;
2148 "MSI-X vector count: %d.\n", ha->msix_count);
2155 "MSIX Count: %d.\n", ha->msix_count);
2203 ha->msix_count = QLA_BASE_VECTORS;
2219 ha->msix_count = (msix & PCI_MSIX_FLAGS_QSIZE) + 1;
2226 ha->max_req_queues = ha->msix_count - 1;
2241 "MSI-X vector count: %d.\n", ha->msix_count);
2248 "MSIX Count: %d.\n", ha->msix_count);
[all...]
H A Dqla_nx.c1671 ha->msix_count = ha->max_rsp_queues + 1;
1674 "max_req_queues=%d msix_count=%d.\n",
1676 ha->max_req_queues, ha->msix_count);
1679 "max_req_queues=%d msix_count=%d.\n",
1681 ha->max_req_queues, ha->msix_count);
/linux-master/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c805 mrioc->requested_poll_qcount, mrioc->msix_count);
811 mrioc->msix_count, mrioc->cpu_count);
2992 mrioc->msix_count = min_t(int, mrioc->msix_count,
3836 mrioc->msix_count = (message_control & 0x3FF) + 1;
3848 mrioc->msix_count);
3852 mrioc->msix_count - 2);
H A Dmpi3mr.h918 * @msix_count: Number of MSIX vectors used
1076 u16 msix_count; member in struct:mpi3mr_ioc
/linux-master/drivers/scsi/megaraid/
H A Dmegaraid_sas_fusion.c789 int i, j, k, msix_count; local
811 msix_count = instance->msix_vectors > 0 ? instance->msix_vectors : 1;
812 msix_count += instance->iopoll_q_count;
839 dma_alloc_count = DIV_ROUND_UP(msix_count, RDPQ_MAX_INDEX_IN_ONE_CHUNK);
892 if (abs_index == msix_count)

Completed in 305 milliseconds

12