/linux-6.3-rc2/drivers/crypto/marvell/octeontx2/ |
A D | otx2_cptpf_main.c | 17 int num_vfs) in cptpf_enable_vfpf_mbox_intr() 43 int num_vfs) in cptpf_disable_vfpf_mbox_intr() 68 int num_vfs) in cptpf_enable_vf_flr_me_intrs() 99 int num_vfs) in cptpf_disable_vf_flr_me_intrs() 232 int num_vfs) in cptpf_unregister_vfpf_intr() 238 static int cptpf_register_vfpf_intr(struct otx2_cptpf_dev *cptpf, int num_vfs) in cptpf_register_vfpf_intr() 330 static int cptpf_flr_wq_init(struct otx2_cptpf_dev *cptpf, int num_vfs) in cptpf_flr_wq_init() 354 static int cptpf_vfpf_mbox_init(struct otx2_cptpf_dev *cptpf, int num_vfs) in cptpf_vfpf_mbox_init() 630 int num_vfs = pci_num_vf(pdev); in cptpf_sriov_disable() local 645 static int cptpf_sriov_enable(struct pci_dev *pdev, int num_vfs) in cptpf_sriov_enable() [all …]
|
/linux-6.3-rc2/drivers/crypto/cavium/nitrox/ |
A D | nitrox_sriov.c | 15 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()
|
A D | nitrox_isr.h | 15 static inline int nitrox_sriov_configure(struct pci_dev *pdev, int num_vfs) in nitrox_sriov_configure()
|
/linux-6.3-rc2/arch/powerpc/platforms/powernv/ |
A D | pci-sriov.c | 284 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-6.3-rc2/drivers/net/ethernet/mellanox/mlx5/core/ |
A D | sriov.c | 72 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) in mlx5_device_disable_sriov() 158 static int mlx5_sriov_enable(struct pci_dev *pdev, int num_vfs) in mlx5_sriov_enable() 184 int num_vfs = pci_num_vf(dev->pdev); in mlx5_sriov_disable() local 192 int mlx5_core_sriov_configure(struct pci_dev *pdev, int num_vfs) in mlx5_core_sriov_configure()
|
A D | eswitch.c | 1078 void mlx5_eswitch_unload_vf_vports(struct mlx5_eswitch *esw, u16 num_vfs) in mlx5_eswitch_unload_vf_vports() 1090 int mlx5_eswitch_load_vf_vports(struct mlx5_eswitch *esw, u16 num_vfs, in mlx5_eswitch_load_vf_vports() 1207 mlx5_eswitch_update_num_of_vfs(struct mlx5_eswitch *esw, int num_vfs) in mlx5_eswitch_update_num_of_vfs() 1299 int mlx5_eswitch_enable_locked(struct mlx5_eswitch *esw, int num_vfs) in mlx5_eswitch_enable_locked() 1353 int mlx5_eswitch_enable(struct mlx5_eswitch *esw, int num_vfs) in mlx5_eswitch_enable()
|
/linux-6.3-rc2/drivers/net/ethernet/broadcom/bnxt/ |
A D | bnxt_sriov.c | 367 static int bnxt_set_vf_attr(struct bnxt *bp, int num_vfs) in bnxt_set_vf_attr() 379 static int bnxt_hwrm_func_vf_resource_free(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_vf_resource_free() 422 static int bnxt_alloc_vf_resources(struct bnxt *bp, int num_vfs) in bnxt_alloc_vf_resources() 524 static int bnxt_hwrm_func_vf_resc_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_hwrm_func_vf_resc_cfg() 637 static int bnxt_hwrm_func_cfg(struct bnxt *bp, int num_vfs) in bnxt_hwrm_func_cfg() 722 static int bnxt_func_cfg(struct bnxt *bp, int num_vfs, bool reset) in bnxt_func_cfg() 730 int bnxt_cfg_hw_sriov(struct bnxt *bp, int *num_vfs, bool reset) in bnxt_cfg_hw_sriov() 755 static int bnxt_sriov_enable(struct bnxt *bp, int *num_vfs) in bnxt_sriov_enable() 845 u16 num_vfs = pci_num_vf(bp->pdev); in bnxt_sriov_disable() local 874 int bnxt_sriov_configure(struct pci_dev *pdev, int num_vfs) in bnxt_sriov_configure() [all …]
|
A D | bnxt_vfr.c | 266 u16 num_vfs, i; in bnxt_vf_reps_close() local 315 u16 num_vfs = pci_num_vf(bp->pdev); in __bnxt_vf_reps_destroy() local 378 u16 num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_free() local 415 u16 *cfa_code_map = bp->cfa_code_map, num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_alloc() local 487 u16 *cfa_code_map = NULL, num_vfs = pci_num_vf(bp->pdev); in bnxt_vf_reps_create() local
|
/linux-6.3-rc2/arch/powerpc/platforms/pseries/ |
A D | pci.c | 57 static int pseries_send_map_pe(struct pci_dev *pdev, u16 num_vfs, in pseries_send_map_pe() 103 static int pseries_associate_pes(struct pci_dev *pdev, u16 num_vfs) in pseries_associate_pes() 147 static int pseries_pci_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pseries_pci_sriov_enable() 190 static int pseries_pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pseries_pcibios_sriov_enable()
|
/linux-6.3-rc2/drivers/net/ethernet/sfc/ |
A D | ef100_sriov.c | 16 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()
|
A D | ef10_sriov.c | 377 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-6.3-rc2/drivers/net/ethernet/pensando/ionic/ |
A D | ionic_bus_pci.c | 143 static int ionic_vf_alloc(struct ionic *ionic, int num_vfs) in ionic_vf_alloc() 182 static int ionic_sriov_configure(struct pci_dev *pdev, int num_vfs) in ionic_sriov_configure() 220 int num_vfs; in ionic_probe() local
|
A D | ionic.h | 61 int num_vfs; member
|
/linux-6.3-rc2/drivers/net/ethernet/intel/fm10k/ |
A D | fm10k_iov.c | 287 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-6.3-rc2/drivers/net/ethernet/intel/ixgbe/ |
A D | ixgbe_sriov.c | 25 unsigned int num_vfs) in ixgbe_alloc_vf_macvlans() 51 unsigned int num_vfs) in __ixgbe_enable_sriov() 157 unsigned int num_vfs; in ixgbe_enable_sriov() local 207 unsigned int num_vfs = adapter->num_vfs, vf; in ixgbe_disable_sriov() local 270 static int ixgbe_pci_sriov_enable(struct pci_dev *dev, int num_vfs) in ixgbe_pci_sriov_enable() 354 int ixgbe_pci_sriov_configure(struct pci_dev *dev, int num_vfs) in ixgbe_pci_sriov_configure()
|
/linux-6.3-rc2/drivers/net/ethernet/intel/ice/ |
A D | ice_sriov.c | 494 static int ice_set_per_vf_res(struct ice_pf *pf, u16 num_vfs) in ice_set_per_vf_res() 828 static int ice_create_vf_entries(struct ice_pf *pf, u16 num_vfs) in ice_create_vf_entries() 870 static int ice_ena_vfs(struct ice_pf *pf, u16 num_vfs) in ice_ena_vfs() 944 static int ice_pci_sriov_ena(struct ice_pf *pf, int num_vfs) in ice_pci_sriov_ena() 1007 int ice_sriov_configure(struct pci_dev *pdev, int num_vfs) in ice_sriov_configure()
|
A D | ice_sriov.h | 89 int __always_unused num_vfs) in ice_sriov_configure()
|
/linux-6.3-rc2/drivers/pci/ |
A D | iov.c | 399 u16 num_vfs; in sriov_numvfs_show() local 422 u16 num_vfs; in sriov_numvfs_store() local 567 int __weak pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) in pcibios_sriov_enable() 577 static int sriov_add_vfs(struct pci_dev *dev, u16 num_vfs) in sriov_add_vfs()
|
/linux-6.3-rc2/drivers/crypto/qat/qat_common/ |
A D | adf_pfvf_pf_msg.c | 13 int i, num_vfs = pci_num_vf(accel_to_pci_dev(accel_dev)); in adf_pf2vf_notify_restarting() local
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qlcnic/ |
A D | qlcnic_sriov_pf.c | 75 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-6.3-rc2/drivers/net/ethernet/netronome/nfp/nic/ |
A D | main.c | 24 static int nfp_nic_sriov_enable(struct nfp_app *app, int num_vfs) in nfp_nic_sriov_enable()
|
/linux-6.3-rc2/drivers/crypto/cavium/cpt/ |
A D | cptpf_main.c | 19 static u32 num_vfs = 4; /* Default 4 VF enabled */ variable 502 static int cpt_sriov_init(struct cpt_device *cpt, int num_vfs) in cpt_sriov_init()
|
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/ |
A D | nfp_main.c | 242 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()
|
/linux-6.3-rc2/drivers/net/ethernet/freescale/enetc/ |
A D | enetc_pf.h | 33 int num_vfs; /* number of active VFs, after sriov_init */ member
|
/linux-6.3-rc2/drivers/crypto/marvell/octeontx/ |
A D | otx_cptvf.h | 72 u8 num_vfs; /* Number of enabled VFs */ member
|