total_vfs 1344 arch/powerpc/platforms/powernv/pci-ioda.c int total_vfs; total_vfs 1353 arch/powerpc/platforms/powernv/pci-ioda.c total_vfs = pci_sriov_get_totalvfs(pdev); total_vfs 2901 arch/powerpc/platforms/powernv/pci-ioda.c int mul, total_vfs; total_vfs 2907 arch/powerpc/platforms/powernv/pci-ioda.c total_vfs = pci_sriov_get_totalvfs(pdev); total_vfs 2938 arch/powerpc/platforms/powernv/pci-ioda.c mul = roundup_pow_of_two(total_vfs); total_vfs 371 drivers/net/ethernet/freescale/enetc/enetc_pf.c if (vf >= pf->total_vfs) total_vfs 392 drivers/net/ethernet/freescale/enetc/enetc_pf.c if (vf >= pf->total_vfs) total_vfs 409 drivers/net/ethernet/freescale/enetc/enetc_pf.c if (vf >= pf->total_vfs) total_vfs 427 drivers/net/ethernet/freescale/enetc/enetc_pf.c for (i = 0; i < pf->total_vfs + 1; i++) { total_vfs 448 drivers/net/ethernet/freescale/enetc/enetc_pf.c vf_entries = num_entries / (pf->total_vfs + 1); total_vfs 450 drivers/net/ethernet/freescale/enetc/enetc_pf.c for (i = 0; i < pf->total_vfs; i++) total_vfs 453 drivers/net/ethernet/freescale/enetc/enetc_pf.c num_entries - vf_entries * pf->total_vfs); total_vfs 495 drivers/net/ethernet/freescale/enetc/enetc_pf.c num_rings /= pf->total_vfs; total_vfs 500 drivers/net/ethernet/freescale/enetc/enetc_pf.c for (i = 0; i < pf->total_vfs; i++) total_vfs 841 drivers/net/ethernet/freescale/enetc/enetc_pf.c pf->total_vfs = pci_sriov_get_totalvfs(pdev); total_vfs 33 drivers/net/ethernet/freescale/enetc/enetc_pf.h int total_vfs; /* max number of VFs, set for PF at probe */ total_vfs 356 drivers/net/ethernet/intel/fm10k/fm10k_iov.c dglort.vsi_l = fls(hw->iov.total_vfs - 1); total_vfs 357 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c if (mask <= hw->iov.total_vfs) { total_vfs 2033 drivers/net/ethernet/intel/fm10k/fm10k_pci.c pci_sriov_set_totalvfs(pdev, hw->iov.total_vfs); total_vfs 177 drivers/net/ethernet/intel/fm10k/fm10k_pf.c hw->iov.total_vfs = fm10k_is_ari_hierarchy_pf(hw) ? 64 : 7; total_vfs 631 drivers/net/ethernet/intel/fm10k/fm10k_pf.c if ((num_vfs > num_pools) || (num_vfs > hw->iov.total_vfs)) total_vfs 626 drivers/net/ethernet/intel/fm10k/fm10k_type.h u16 total_vfs; total_vfs 623 drivers/net/ethernet/marvell/octeontx2/af/rvu.c for (id = 0; id < hw->total_vfs; id++) { total_vfs 650 drivers/net/ethernet/marvell/octeontx2/af/rvu.c hw->total_vfs = (cfg >> 20) & 0xFFF; total_vfs 788 drivers/net/ethernet/marvell/octeontx2/af/rvu.c rvu->hwvf = devm_kcalloc(rvu->dev, hw->total_vfs, total_vfs 198 drivers/net/ethernet/marvell/octeontx2/af/rvu.h u16 total_vfs; /* Max RVU VFs HW supports */ total_vfs 3209 drivers/net/ethernet/mellanox/mlx4/main.c u8 total_vfs, int existing_vfs, int reset_flow) total_vfs 3217 drivers/net/ethernet/mellanox/mlx4/main.c dev->dev_vfs = kcalloc(total_vfs, sizeof(*dev->dev_vfs), total_vfs 3226 drivers/net/ethernet/mellanox/mlx4/main.c if (existing_vfs != total_vfs) { total_vfs 3228 drivers/net/ethernet/mellanox/mlx4/main.c existing_vfs, total_vfs); total_vfs 3229 drivers/net/ethernet/mellanox/mlx4/main.c total_vfs = existing_vfs; total_vfs 3233 drivers/net/ethernet/mellanox/mlx4/main.c dev->dev_vfs = kcalloc(total_vfs, sizeof(*dev->dev_vfs), GFP_KERNEL); total_vfs 3240 drivers/net/ethernet/mellanox/mlx4/main.c if (total_vfs > fw_enabled_sriov_vfs) { total_vfs 3242 drivers/net/ethernet/mellanox/mlx4/main.c total_vfs, fw_enabled_sriov_vfs); total_vfs 3246 drivers/net/ethernet/mellanox/mlx4/main.c mlx4_warn(dev, "Enabling SR-IOV with %d VFs\n", total_vfs); total_vfs 3247 drivers/net/ethernet/mellanox/mlx4/main.c err = pci_enable_sriov(pdev, total_vfs); total_vfs 3258 drivers/net/ethernet/mellanox/mlx4/main.c dev->persist->num_vfs = total_vfs; total_vfs 3318 drivers/net/ethernet/mellanox/mlx4/main.c int total_vfs, int *nvfs, struct mlx4_priv *priv, total_vfs 3379 drivers/net/ethernet/mellanox/mlx4/main.c if (total_vfs) { total_vfs 3384 drivers/net/ethernet/mellanox/mlx4/main.c dev->persist->num_vfs = total_vfs; total_vfs 3444 drivers/net/ethernet/mellanox/mlx4/main.c total_vfs, total_vfs 3503 drivers/net/ethernet/mellanox/mlx4/main.c u64 dev_flags = mlx4_enable_sriov(dev, pdev, total_vfs, total_vfs 3719 drivers/net/ethernet/mellanox/mlx4/main.c unsigned total_vfs = 0; total_vfs 3735 drivers/net/ethernet/mellanox/mlx4/main.c total_vfs += nvfs[param_map[num_vfs_argc - 1][i]], i++) { total_vfs 3752 drivers/net/ethernet/mellanox/mlx4/main.c if (total_vfs > MLX4_MAX_NUM_VF) { total_vfs 3755 drivers/net/ethernet/mellanox/mlx4/main.c total_vfs, MLX4_MAX_NUM_VF); total_vfs 3819 drivers/net/ethernet/mellanox/mlx4/main.c if (total_vfs) { total_vfs 3848 drivers/net/ethernet/mellanox/mlx4/main.c err = mlx4_load_one(pdev, pci_dev_data, total_vfs, nvfs, priv, 0); total_vfs 4199 drivers/net/ethernet/mellanox/mlx4/main.c int pci_dev_data, err, total_vfs; total_vfs 4202 drivers/net/ethernet/mellanox/mlx4/main.c total_vfs = dev->persist->num_vfs; total_vfs 4207 drivers/net/ethernet/mellanox/mlx4/main.c err = mlx4_load_one(pdev, pci_dev_data, total_vfs, nvfs, priv, 1); total_vfs 4326 drivers/net/ethernet/mellanox/mlx4/main.c int total_vfs; total_vfs 4330 drivers/net/ethernet/mellanox/mlx4/main.c total_vfs = dev->persist->num_vfs; total_vfs 4335 drivers/net/ethernet/mellanox/mlx4/main.c err = mlx4_load_one(pdev, priv->pci_dev_data, total_vfs, nvfs, total_vfs 4391 drivers/net/ethernet/mellanox/mlx4/main.c int total_vfs; total_vfs 4395 drivers/net/ethernet/mellanox/mlx4/main.c total_vfs = dev->persist->num_vfs; total_vfs 4400 drivers/net/ethernet/mellanox/mlx4/main.c ret = mlx4_load_one(pdev, priv->pci_dev_data, total_vfs, total_vfs 226 drivers/net/ethernet/mellanox/mlx5/core/sriov.c int total_vfs; total_vfs 231 drivers/net/ethernet/mellanox/mlx5/core/sriov.c total_vfs = pci_sriov_get_totalvfs(pdev); total_vfs 234 drivers/net/ethernet/mellanox/mlx5/core/sriov.c sriov->vfs_ctx = kcalloc(total_vfs, sizeof(*sriov->vfs_ctx), GFP_KERNEL); total_vfs 1249 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_mngr->vf_count = p_hwfn->cdev->p_iov_info->total_vfs; total_vfs 1627 drivers/net/ethernet/qlogic/qed/qed_cxt.c p_iov->first_vf_in_pf + p_iov->total_vfs); total_vfs 1475 drivers/net/ethernet/qlogic/qed/qed_dev.c p_hwfn->cdev->p_iov_info->total_vfs : 0; total_vfs 2033 drivers/net/ethernet/qlogic/qed/qed_int.c u16 vfs = p_hwfn->cdev->p_iov_info->total_vfs; total_vfs 2179 drivers/net/ethernet/qlogic/qed/qed_int.c max_vf = p_iov->first_vf_in_pf + p_iov->total_vfs; total_vfs 2245 drivers/net/ethernet/qlogic/qed/qed_l2.c max_vf_vlan_filters = cdev->p_iov_info->total_vfs * total_vfs 2247 drivers/net/ethernet/qlogic/qed/qed_l2.c max_vf_mac_filters = cdev->p_iov_info->total_vfs * total_vfs 428 drivers/net/ethernet/qlogic/qed/qed_sp_commands.c p_ramrod->num_vfs = (u8) p_iov->total_vfs; total_vfs 166 drivers/net/ethernet/qlogic/qed/qed_sriov.c if ((rel_vf_id >= p_hwfn->cdev->p_iov_info->total_vfs) || total_vfs 371 drivers/net/ethernet/qlogic/qed/qed_sriov.c pos + PCI_SRIOV_TOTAL_VF, &iov->total_vfs); total_vfs 405 drivers/net/ethernet/qlogic/qed/qed_sriov.c iov->total_vfs, total_vfs 411 drivers/net/ethernet/qlogic/qed/qed_sriov.c iov->total_vfs > NUM_OF_VFS(cdev)) { total_vfs 421 drivers/net/ethernet/qlogic/qed/qed_sriov.c iov->total_vfs = 0; total_vfs 451 drivers/net/ethernet/qlogic/qed/qed_sriov.c for (idx = 0; idx < p_iov->total_vfs; idx++) { total_vfs 488 drivers/net/ethernet/qlogic/qed/qed_sriov.c num_vfs = p_hwfn->cdev->p_iov_info->total_vfs; total_vfs 636 drivers/net/ethernet/qlogic/qed/qed_sriov.c if (!cdev->p_iov_info->total_vfs) { total_vfs 720 drivers/net/ethernet/qlogic/qed/qed_sriov.c for (i = 0; i < cdev->p_iov_info->total_vfs; i++) total_vfs 3747 drivers/net/ethernet/qlogic/qed/qed_sriov.c for (i = 0; i < p_hwfn->cdev->p_iov_info->total_vfs; i++) total_vfs 3771 drivers/net/ethernet/qlogic/qed/qed_sriov.c for (i = 0; i < p_hwfn->cdev->p_iov_info->total_vfs; i++) { total_vfs 4088 drivers/net/ethernet/qlogic/qed/qed_sriov.c for (i = rel_vf_id; i < p_iov->total_vfs; i++) total_vfs 4731 drivers/net/ethernet/qlogic/qed/qed_sriov.c for (i = 0; i < hwfn->cdev->p_iov_info->total_vfs; i++) { total_vfs 118 drivers/net/ethernet/qlogic/qed/qed_sriov.h u16 total_vfs; /* total VFs associated with the PF */