/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_common.c | 130 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 D | ptdma-pci.c | 27 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 D | vmd.c | 131 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 D | wx_hw.h | 40 int wx_get_pcie_msix_counts(struct wx *wx, u16 *msix_count, u16 max_msix_count);
|
H A D | wx_hw.c | 1865 * @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 D | i40iw_if.c | 83 rf->msix_count = cdev_info->msix_count;
|
H A D | hw.c | 485 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 D | main.c | 233 rf->msix_count = pf->num_rdma_msix;
|
H A D | main.h | 265 u32 msix_count; member in struct:irdma_pci_f
|
/linux-master/drivers/crypto/ccp/ |
H A D | sp-pci.c | 37 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 D | i40e_client.h | 92 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 D | ngbe_main.c | 89 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 D | txgbe_main.c | 231 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 D | qedi.h | 313 s32 msix_count; member in struct:qedi_ctx
|
H A D | qedi_main.c | 1412 for (i = 0; i < qedi->msix_count; i++) { 1446 qedi->msix_count = rc;
|
/linux-master/drivers/ntb/hw/amd/ |
H A D | ntb_hw_amd.c | 713 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 D | i40e_client.c | 274 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 D | ntb_hw_gen1.c | 368 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 D | ixgbe_common.c | 2904 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 D | qla_isr.c | 4542 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 D | qla_os.c | 2120 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 D | qla_nx.c | 1671 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 D | mpi3mr_fw.c | 805 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 D | mpi3mr.h | 918 * @msix_count: Number of MSIX vectors used 1076 u16 msix_count; member in struct:mpi3mr_ioc
|
/linux-master/drivers/scsi/megaraid/ |
H A D | megaraid_sas_fusion.c | 789 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)
|