Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/pci/controller/
H A Dvmd.c131 int msix_count; member
256 for (i = best; i < vmd->msix_count; i++) in vmd_next_irq()
307 if (nvec > vmd->msix_count) in vmd_msi_prepare()
308 return vmd->msix_count; in vmd_msi_prepare()
367 if (!vmd->msix_count) in vmd_remove_irq_domain()
696 if (vmd->msix_count < 0) in vmd_alloc_irqs()
700 vmd->msix_count, PCI_IRQ_MSIX); in vmd_alloc_irqs()
701 if (vmd->msix_count < 0) in vmd_alloc_irqs()
702 return vmd->msix_count; in vmd_alloc_irqs()
1037 for (i = 0; i < vmd->msix_count; i++) in vmd_cleanup_srcu()
[all …]
/openbmc/linux/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()
/openbmc/linux/drivers/dma/ptdma/
H A 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()
/openbmc/linux/drivers/crypto/ccp/
H A Dsp-pci.c37 int msix_count; member
174 sp_pci->msix_count = ret; in sp_get_msix_irqs()
178 sp->ccp_irq = (sp_pci->msix_count > 1) ? sp_pci->msix_entry[1].vector in sp_get_msix_irqs()
226 if (sp_pci->msix_count) in sp_free_irqs()
/openbmc/linux/drivers/infiniband/hw/irdma/
H A Di40iw_if.c83 rf->msix_count = cdev_info->msix_count; in i40iw_fill_device_info()
H A Dhw.c485 if (!rf->msix_count) in irdma_save_msix_info()
488 size = sizeof(struct irdma_msix_vector) * rf->msix_count; in irdma_save_msix_info()
489 size += struct_size(iw_qvlist, qv_info, rf->msix_count); in irdma_save_msix_info()
495 (&rf->iw_msixtbl[rf->msix_count]); in irdma_save_msix_info()
498 iw_qvlist->num_vectors = rf->msix_count; in irdma_save_msix_info()
499 if (rf->msix_count <= num_online_cpus()) in irdma_save_msix_info()
501 else if (rf->msix_count > num_online_cpus() + 1) in irdma_save_msix_info()
502 rf->msix_count = num_online_cpus() + 1; in irdma_save_msix_info()
505 for (i = 0, ceq_idx = 0; i < rf->msix_count; i++, iw_qvinfo++) { in irdma_save_msix_info()
1249 num_ceqs = min(rf->msix_count, rf->sc_dev.hmc_fpm_misc.max_ceqs); in irdma_setup_ceq_0()
[all …]
H A Dmain.c233 rf->msix_count = pf->num_rdma_msix; in irdma_fill_device_info()
H A Dmain.h265 u32 msix_count; member
/openbmc/linux/drivers/usb/host/
H A Dxhci-pci.c105 for (i = 0; i < xhci->msix_count; i++) in xhci_msix_sync_irqs()
123 for (i = 0; i < xhci->msix_count; i++) in xhci_cleanup_msix()
178 xhci->msix_count = min(num_online_cpus() + 1, in xhci_setup_msix()
181 ret = pci_alloc_irq_vectors(pdev, xhci->msix_count, xhci->msix_count, in xhci_setup_msix()
189 for (i = 0; i < xhci->msix_count; i++) { in xhci_setup_msix()
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.h33 int wx_get_pcie_msix_counts(struct wx *wx, u16 *msix_count, u16 max_msix_count);
H A Dwx_hw.c1635 int wx_get_pcie_msix_counts(struct wx *wx, u16 *msix_count, u16 max_msix_count) in wx_get_pcie_msix_counts() argument
1641 *msix_count = 1; in wx_get_pcie_msix_counts()
1649 msix_count); in wx_get_pcie_msix_counts()
1650 *msix_count &= WX_PCIE_MSIX_TBL_SZ_MASK; in wx_get_pcie_msix_counts()
1652 *msix_count += 1; in wx_get_pcie_msix_counts()
1654 if (*msix_count > max_msix_count) in wx_get_pcie_msix_counts()
1655 *msix_count = max_msix_count; in wx_get_pcie_msix_counts()
/openbmc/linux/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_rdma_msix; in iavf_client_add_instance()
/openbmc/linux/include/linux/net/intel/
H A Di40e_client.h92 u16 msix_count; /* number of msix vectors*/ member
/openbmc/linux/drivers/net/ethernet/wangxun/txgbe/
H A Dtxgbe_main.c352 u16 msix_count = 0; in txgbe_sw_init() local
372 err = wx_get_pcie_msix_counts(wx, &msix_count, TXGBE_MAX_MSIX_VECTORS); in txgbe_sw_init()
375 wx->mac.max_msix_vectors = msix_count; in txgbe_sw_init()
/openbmc/linux/drivers/net/ethernet/wangxun/ngbe/
H A Dngbe_main.c111 u16 msix_count = 0; in ngbe_sw_init() local
132 err = wx_get_pcie_msix_counts(wx, &msix_count, NGBE_MAX_MSIX_VECTORS); in ngbe_sw_init()
135 wx->mac.max_msix_vectors = msix_count; in ngbe_sw_init()
/openbmc/linux/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()
/openbmc/linux/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()
/openbmc/linux/drivers/scsi/qedi/
H A Dqedi.h313 s32 msix_count; member
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_common.c2904 u16 msix_count; in ixgbe_get_pcie_msix_count_generic() local
2925 msix_count = ixgbe_read_pci_cfg_word(hw, pcie_offset); in ixgbe_get_pcie_msix_count_generic()
2927 msix_count = 0; in ixgbe_get_pcie_msix_count_generic()
2928 msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK; in ixgbe_get_pcie_msix_count_generic()
2931 msix_count++; in ixgbe_get_pcie_msix_count_generic()
2933 if (msix_count > max_msix_count) in ixgbe_get_pcie_msix_count_generic()
2934 msix_count = max_msix_count; in ixgbe_get_pcie_msix_count_generic()
2936 return msix_count; in ixgbe_get_pcie_msix_count_generic()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_client.c276 cdev->lan_info.msix_count = pf->num_iwarp_msix; in i40e_client_update_msix_info()
373 cdev->lan_info.msix_count = pf->num_iwarp_msix; in i40e_client_add_instance()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_isr.c4542 min((u16)ha->msix_count, (u16)(num_online_cpus() + min_vecs)), in qla24xx_enable_msix()
4546 min((u16)ha->msix_count, (u16)(num_online_cpus() + min_vecs)), in qla24xx_enable_msix()
4554 ha->msix_count, ret); in qla24xx_enable_msix()
4556 } else if (ret < ha->msix_count) { in qla24xx_enable_msix()
4559 ha->msix_count = ret; in qla24xx_enable_msix()
4562 ha->max_req_queues = ha->msix_count - 1; in qla24xx_enable_msix()
4576 ha->msix_entries = kcalloc(ha->msix_count, in qla24xx_enable_msix()
4587 for (i = 0; i < ha->msix_count; i++) { in qla24xx_enable_msix()
4780 for (i = 0; i < ha->msix_count; i++) { in qla2x00_free_irqs()
H A Dqla_os.c2114 ha->msix_count = QLA_BASE_VECTORS; in qla2x00_iospace_config()
2131 ha->msix_count = msix + 1; in qla2x00_iospace_config()
2134 ha->max_req_queues = ha->msix_count - 1; in qla2x00_iospace_config()
2142 "MSI-X vector count: %d.\n", ha->msix_count); in qla2x00_iospace_config()
2149 "MSIX Count: %d.\n", ha->msix_count); in qla2x00_iospace_config()
2197 ha->msix_count = QLA_BASE_VECTORS; in qla83xx_iospace_config()
2213 ha->msix_count = (msix & PCI_MSIX_FLAGS_QSIZE) + 1; in qla83xx_iospace_config()
2220 ha->max_req_queues = ha->msix_count - 1; in qla83xx_iospace_config()
2235 "MSI-X vector count: %d.\n", ha->msix_count); in qla83xx_iospace_config()
2242 "MSIX Count: %d.\n", ha->msix_count); in qla83xx_iospace_config()
/openbmc/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c805 mrioc->requested_poll_qcount, mrioc->msix_count); in mpi3mr_setup_isr()
811 mrioc->msix_count, mrioc->cpu_count); in mpi3mr_setup_isr()
2886 mrioc->msix_count = min_t(int, mrioc->msix_count, in mpi3mr_process_factsdata()
3727 mrioc->msix_count = (message_control & 0x3FF) + 1; in mpi3mr_setup_resources()
3739 mrioc->msix_count); in mpi3mr_setup_resources()
3743 mrioc->msix_count - 2); in mpi3mr_setup_resources()
H A Dmpi3mr.h1063 u16 msix_count; member

12