Home
last modified time | relevance | path

Searched defs:num_vfs (Results 1 – 25 of 90) sorted by relevance

1234

/linux/drivers/gpu/drm/xe/
H A Dxe_pci_sriov.c23 static int pf_needs_provisioning(struct xe_gt *gt, unsigned int num_vfs) in pf_needs_provisioning()
34 static int pf_provision_vfs(struct xe_device *xe, unsigned int num_vfs) in pf_provision_vfs()
50 static void pf_unprovision_vfs(struct xe_device *xe, unsigned int num_vfs) in pf_unprovision_vfs()
61 static void pf_reset_vfs(struct xe_device *xe, unsigned int num_vfs) in pf_reset_vfs()
84 static void pf_link_vfs(struct xe_device *xe, int num_vfs) in pf_link_vfs()
121 static void pf_engine_activity_stats(struct xe_device *xe, unsigned int num_vfs, bool enable) in pf_engine_activity_stats()
135 static int resize_vf_vram_bar(struct xe_device *xe, int num_vfs) in resize_vf_vram_bar()
147 static int pf_enable_vfs(struct xe_device *xe, int num_vfs) in pf_enable_vfs()
209 u16 num_vfs = pci_num_vf(pdev); in pf_disable_vfs() local
244 int xe_pci_sriov_configure(struct pci_dev *pdev, int num_vfs) in xe_pci_sriov_configure()
H A Dxe_gt_sriov_pf_config.c597 static int pf_config_bulk_set_u64_done(struct xe_gt *gt, unsigned int first, unsigned int num_vfs, in pf_config_bulk_set_u64_done()
639 unsigned int num_vfs, u64 size) in xe_gt_sriov_pf_config_bulk_set_ggtt()
678 static u64 pf_estimate_fair_ggtt(struct xe_gt *gt, unsigned int num_vfs) in pf_estimate_fair_ggtt()
710 unsigned int num_vfs) in xe_gt_sriov_pf_config_set_fair_ggtt()
921 static int pf_config_bulk_set_u32_done(struct xe_gt *gt, unsigned int first, unsigned int num_vfs, in pf_config_bulk_set_u32_done()
961 unsigned int num_vfs, u32 num_ctxs) in xe_gt_sriov_pf_config_bulk_set_ctxs()
984 static u32 pf_estimate_fair_ctxs(struct xe_gt *gt, unsigned int num_vfs) in pf_estimate_fair_ctxs()
1014 unsigned int num_vfs) in xe_gt_sriov_pf_config_set_fair_ctxs()
1209 unsigned int num_vfs, u32 num_dbs) in xe_gt_sriov_pf_config_bulk_set_dbs()
1232 static u32 pf_estimate_fair_dbs(struct xe_gt *gt, unsigned int num_vfs) in pf_estimate_fair_dbs()
[all …]
H A Dxe_pci_sriov.h14 static inline int xe_pci_sriov_configure(struct pci_dev *pdev, int num_vfs) in xe_pci_sriov_configure()
H A Dxe_gt_sriov_pf.c39 unsigned int num_vfs = xe_gt_sriov_pf_get_totalvfs(gt); in pf_alloc_metadata() local
/linux/arch/powerpc/platforms/powernv/
H A Dpci-sriov.c284 static int pnv_pci_vf_release_m64(struct pci_dev *pdev, u16 num_vfs) in pnv_pci_vf_release_m64()
415 static int pnv_pci_vf_assign_m64(struct pci_dev *pdev, u16 num_vfs) in pnv_pci_vf_assign_m64()
508 u16 num_vfs; in pnv_pci_vf_resource_shift() local
593 u16 num_vfs, base_pe; in pnv_pci_sriov_disable() local
614 static void pnv_ioda_setup_vf_PE(struct pci_dev *pdev, u16 num_vfs) in pnv_ioda_setup_vf_PE()
674 static int pnv_pci_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pnv_pci_sriov_enable()
754 int pnv_pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pnv_pcibios_sriov_enable()
/linux/drivers/crypto/cavium/nitrox/
H A Dnitrox_sriov.c15 static inline bool num_vfs_valid(int num_vfs) in num_vfs_valid()
31 static inline enum vf_mode num_vfs_to_mode(int num_vfs) in num_vfs_to_mode()
153 static int nitrox_sriov_enable(struct pci_dev *pdev, int num_vfs) in nitrox_sriov_enable()
228 int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs) in nitrox_sriov_configure()
H A Dnitrox_isr.h15 static inline int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs) in nitrox_sriov_configure()
/linux/drivers/crypto/intel/qat/qat_common/
H A Dadf_pfvf_pf_msg.c17 int i, num_vfs = pci_num_vf(accel_to_pci_dev(accel_dev)); in adf_pf2vf_notify_restarting() local
37 int num_vfs = pci_num_vf(accel_to_pci_dev(accel_dev)); in adf_pf2vf_wait_for_restarting_complete() local
60 int i, num_vfs = pci_num_vf(accel_to_pci_dev(accel_dev)); in adf_pf2vf_notify_restarted() local
75 int i, num_vfs = pci_num_vf(accel_to_pci_dev(accel_dev)); in adf_pf2vf_notify_fatal_error() local
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_sriov.c369 static int bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) in bnxt_set_vf_attr()
381 static int bnxt_hwrm_func_vf_resource_free(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_vf_resource_free()
424 static int bnxt_alloc_vf_resources(struct bnxt *bp, int num_vfs) in bnxt_alloc_vf_resources()
523 static void bnxt_hwrm_roce_sriov_cfg(struct bnxt *bp, int num_vfs) in bnxt_hwrm_roce_sriov_cfg()
576 static int bnxt_hwrm_func_vf_resc_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_hwrm_func_vf_resc_cfg()
697 static int bnxt_hwrm_func_cfg(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_cfg()
782 static int bnxt_func_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_func_cfg()
790 int bnxt_cfg_hw_sriov(struct bnxt *bp, int *num_vfs, bool reset) in bnxt_cfg_hw_sriov()
818 static int bnxt_sriov_enable(struct bnxt *bp, int *num_vfs) in bnxt_sriov_enable()
924 u16 num_vfs = pci_num_vf(bp->pdev); in bnxt_sriov_disable() local
[all …]
H A Dbnxt_vfr.c265 u16 num_vfs, i; in bnxt_vf_reps_close() local
313 u16 num_vfs = pci_num_vf(bp->pdev); in __bnxt_vf_reps_destroy() local
381 u16 num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_free() local
418 u16 *cfa_code_map = bp->cfa_code_map, num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_alloc() local
491 u16 *cfa_code_map = NULL, num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_create() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c72 static int mlx5_device_enable_sriov(struct mlx5_core_dev *dev, int num_vfs) in mlx5_device_enable_sriov()
126 mlx5_device_disable_sriov(struct mlx5_core_dev *dev, int num_vfs, bool clear_vf, bool num_vf_change) in mlx5_device_disable_sriov()
179 static int mlx5_sriov_enable(struct pci_dev *pdev, int num_vfs) in mlx5_sriov_enable()
205 int num_vfs = pci_num_vf(dev->pdev); in mlx5_sriov_disable() local
213 int mlx5_core_sriov_configure(struct pci_dev *pdev, int num_vfs) in mlx5_core_sriov_configure()
H A Deswitch.c1182 void mlx5_eswitch_unload_vf_vports(struct mlx5_eswitch *esw, u16 num_vfs) in mlx5_eswitch_unload_vf_vports()
1207 int mlx5_eswitch_load_vf_vports(struct mlx5_eswitch *esw, u16 num_vfs, in mlx5_eswitch_load_vf_vports()
1372 mlx5_eswitch_update_num_of_vfs(struct mlx5_eswitch *esw, int num_vfs) in mlx5_eswitch_update_num_of_vfs()
1467 int mlx5_eswitch_enable_locked(struct mlx5_eswitch *esw, int num_vfs) in mlx5_eswitch_enable_locked()
1528 int mlx5_eswitch_enable(struct mlx5_eswitch *esw, int num_vfs) in mlx5_eswitch_enable()
/linux/arch/powerpc/platforms/pseries/
H A Dpci.c30 static int pseries_send_map_pe(struct pci_dev *pdev, u16 num_vfs, in pseries_send_map_pe()
76 static int pseries_associate_pes(struct pci_dev *pdev, u16 num_vfs) in pseries_associate_pes()
120 static int pseries_pci_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pseries_pci_sriov_enable()
163 static int pseries_pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pseries_pcibios_sriov_enable()
/linux/drivers/net/ethernet/sfc/
H A Def100_sriov.c16 static int efx_ef100_pci_sriov_enable(struct efx_nic *efx, int num_vfs) in efx_ef100_pci_sriov_enable()
66 int efx_ef100_sriov_configure(struct efx_nic *efx, int num_vfs) in efx_ef100_sriov_configure()
H A Def10_sriov.c377 static int efx_ef10_pci_sriov_enable(struct efx_nic *efx, int num_vfs) in efx_ef10_pci_sriov_enable()
434 int efx_ef10_sriov_configure(struct efx_nic *efx, int num_vfs) in efx_ef10_sriov_configure()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_iov.c287 int num_vfs, i; in fm10k_iov_suspend() local
332 int num_vfs, i; in fm10k_iov_resume() local
423 static s32 fm10k_iov_alloc_data(struct pci_dev *pdev, int num_vfs) in fm10k_iov_alloc_data()
491 int fm10k_iov_configure(struct pci_dev *pdev, int num_vfs) in fm10k_iov_configure()
/linux/drivers/net/ethernet/pensando/ionic/
H A Dionic_bus_pci.c144 static int ionic_vf_alloc(struct ionic *ionic, int num_vfs) in ionic_vf_alloc()
183 static int ionic_sriov_configure(struct pci_dev *pdev, int num_vfs) in ionic_sriov_configure()
309 int num_vfs; in ionic_probe() local
/linux/drivers/pci/
H A Diov.c446 u16 num_vfs; in sriov_numvfs_show() local
469 u16 num_vfs; in sriov_numvfs_store() local
614 int __weak pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pcibios_sriov_enable()
624 static int sriov_add_vfs(struct pci_dev *dev, u16 num_vfs) in sriov_add_vfs()
1375 u32 pci_iov_vf_bar_get_sizes(struct pci_dev *dev, int resno, int num_vfs) in pci_iov_vf_bar_get_sizes()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c26 unsigned int num_vfs) in ixgbe_alloc_vf_macvlans()
53 unsigned int num_vfs) in __ixgbe_enable_sriov()
159 unsigned int num_vfs; in ixgbe_enable_sriov() local
209 unsigned int num_vfs = adapter->num_vfs, vf; in ixgbe_disable_sriov() local
276 static int ixgbe_pci_sriov_enable(struct pci_dev *dev, int num_vfs) in ixgbe_pci_sriov_enable()
360 int ixgbe_pci_sriov_configure(struct pci_dev *dev, int num_vfs) in ixgbe_pci_sriov_configure()
/linux/drivers/net/ethernet/intel/ice/
H A Dice_sriov.c371 static int ice_set_per_vf_res(struct ice_pf *pf, u16 num_vfs) in ice_set_per_vf_res()
683 static int ice_create_vf_entries(struct ice_pf *pf, u16 num_vfs) in ice_create_vf_entries()
742 static int ice_ena_vfs(struct ice_pf *pf, u16 num_vfs) in ice_ena_vfs()
810 static int ice_pci_sriov_ena(struct ice_pf *pf, int num_vfs) in ice_pci_sriov_ena()
1039 int ice_sriov_configure(struct pci_dev *pdev, int num_vfs) in ice_sriov_configure()
H A Dice_sriov.h80 int __always_unused num_vfs) in ice_sriov_configure()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_sriov.c22 static int wx_alloc_vf_macvlans(struct wx *wx, u8 num_vfs) in wx_alloc_vf_macvlans()
74 static int __wx_enable_sriov(struct wx *wx, u8 num_vfs) in __wx_enable_sriov()
148 int num_vfs) in wx_pci_sriov_enable()
184 int wx_pci_sriov_configure(struct pci_dev *pdev, int num_vfs) in wx_pci_sriov_configure()
/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_sriov_pf.c75 u32 num_vfs, max, temp; in qlcnic_sriov_pf_cal_res_limit() local
566 static int qlcnic_sriov_pf_enable(struct qlcnic_adapter *adapter, int num_vfs) in qlcnic_sriov_pf_enable()
581 int num_vfs) in __qlcnic_pci_sriov_enable()
618 static int qlcnic_pci_sriov_enable(struct qlcnic_adapter *adapter, int num_vfs) in qlcnic_pci_sriov_enable()
667 int qlcnic_pci_sriov_configure(struct pci_dev *dev, int num_vfs) in qlcnic_pci_sriov_configure()
1767 u16 num_vfs = sriov->num_vfs; in qlcnic_sriov_pf_reset() local
1806 int i, num_vfs; in qlcnic_sriov_set_vf_mac() local
/linux/drivers/net/ethernet/netronome/nfp/nic/
H A Dmain.c24 static int nfp_nic_sriov_enable(struct nfp_app *app, int num_vfs) in nfp_nic_sriov_enable()
/linux/drivers/net/ethernet/netronome/nfp/
H A Dnfp_main.c242 static int nfp_pcie_sriov_enable(struct pci_dev *pdev, int num_vfs) in nfp_pcie_sriov_enable()
318 static int nfp_pcie_sriov_configure(struct pci_dev *pdev, int num_vfs) in nfp_pcie_sriov_configure()

1234