| /OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/ |
| H A D | adf_sriov.c | 69 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_enable_sriov() 133 int totalvfs = pci_sriov_get_totalvfs(accel_to_pci_dev(accel_dev)); in adf_disable_sriov() 188 int totalvfs = pci_sriov_get_totalvfs(pdev); in adf_sriov_configure()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | sriov.c | 219 return pci_sriov_get_totalvfs(dev->pdev); in mlx5_get_max_vfs() 231 total_vfs = pci_sriov_get_totalvfs(pdev); in mlx5_sriov_init()
|
| /OK3568_Linux_fs/kernel/drivers/pci/ |
| H A D | iov.c | 262 return sprintf(buf, "%u\n", pci_sriov_get_totalvfs(pdev)); in sriov_totalvfs_show() 299 if (num_vfs > pci_sriov_get_totalvfs(pdev)) in sriov_numvfs_store() 1048 int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function 1055 EXPORT_SYMBOL_GPL(pci_sriov_get_totalvfs);
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kernel/ |
| H A D | pci_dn.c | 192 for (i = 0; i < pci_sriov_get_totalvfs(pdev); i++) { in add_sriov_vf_pdns() 242 for (i = 0; i < pci_sriov_get_totalvfs(pdev); i++) { in remove_sriov_vf_pdns()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/cavium/thunder/ |
| H A D | nic_main.c | 101 int vf_cnt = pci_sriov_get_totalvfs(nic->pdev); in nic_enable_mbx_intr() 350 if (nic->num_vf_en >= pci_sriov_get_totalvfs(nic->pdev)) { in nic_set_lmac_vf_mapping() 351 nic->num_vf_en = pci_sriov_get_totalvfs(nic->pdev); in nic_set_lmac_vf_mapping() 405 hw->tl4_cnt = MAX_QUEUES_PER_QSET * pci_sriov_get_totalvfs(nic->pdev); in nic_get_hw_info()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/marvell/octeontx/ |
| H A D | otx_cptpf_main.c | 104 cpt->max_vfs = pci_sriov_get_totalvfs(cpt->pdev); in otx_cpt_device_init()
|
| /OK3568_Linux_fs/kernel/drivers/misc/genwqe/ |
| H A D | card_base.c | 346 totalvfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_setup_vf_jtimer() 1132 cd->num_vfs = pci_sriov_get_totalvfs(pci_dev); in genwqe_pci_setup()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/sfc/ |
| H A D | ef10_sriov.c | 270 if (pci_sriov_get_totalvfs(efx->pci_dev) <= 0) { in efx_ef10_vswitching_probe_pf()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/emulex/benet/ |
| H A D | be_main.c | 4148 pci_sriov_get_totalvfs(pdev), in be_clear() 4151 pci_sriov_get_totalvfs(pdev), in be_clear() 4449 max_vfs = pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config() 4465 pci_sriov_get_totalvfs(adapter->pdev); in be_get_sriov_config() 5036 if (!pci_sriov_get_totalvfs(adapter->pdev)) in be_ndo_bridge_getlink()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | pci.h | 2112 int pci_sriov_get_totalvfs(struct pci_dev *dev); 2150 static inline int pci_sriov_get_totalvfs(struct pci_dev *dev) in pci_sriov_get_totalvfs() function
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/freescale/enetc/ |
| H A D | enetc_pf.c | 1148 pf->total_vfs = pci_sriov_get_totalvfs(pdev); in enetc_pf_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/af/ |
| H A D | rvu.c | 2395 num_devs = rvu->hw->total_pfs + pci_sriov_get_totalvfs(rvu->pdev); in rvu_flr_init() 2499 vfs = pci_sriov_get_totalvfs(pdev); in rvu_enable_sriov()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/marvell/octeontx2/nic/ |
| H A D | otx2_pf.c | 2030 pf->total_vfs = pci_sriov_get_totalvfs(pdev); in otx2_probe()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_main.c | 3229 for (vf = 0, nvfs = pci_sriov_get_totalvfs(adap->pdev); in cxgb4_mgmt_fill_vf_station_mac_addr() 6373 adap->vfinfo = kcalloc(pci_sriov_get_totalvfs(pdev), in cxgb4_iov_configure()
|
| /OK3568_Linux_fs/kernel/drivers/crypto/hisilicon/ |
| H A D | qm.c | 3132 total_vfs = pci_sriov_get_totalvfs(pdev); in hisi_qm_sriov_enable()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | main.c | 3228 int fw_enabled_sriov_vfs = min(pci_sriov_get_totalvfs(pdev), in mlx4_enable_sriov()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| H A D | hclge_main.c | 9940 hdev->num_req_vfs = pci_sriov_get_totalvfs(pdev); in hclge_pci_init()
|