Searched refs:pci_num_vf (Results 1 - 11 of 11) sorted by relevance

/linux-4.1.27/drivers/pci/
H A Diov.c659 * pci_num_vf - return number of VFs associated with a PF device_release_driver
664 int pci_num_vf(struct pci_dev *dev) pci_num_vf() function
671 EXPORT_SYMBOL_GPL(pci_num_vf); variable
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_iov.c342 if (pci_num_vf(pdev) && pci_vfs_assigned(pdev)) fm10k_iov_disable()
367 int current_vfs = pci_num_vf(pdev); fm10k_iov_configure()
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_sriov.c134 pre_existing_vfs = pci_num_vf(adapter->pdev); ixgbe_enable_sriov()
251 int pre_existing_vfs = pci_num_vf(dev); ixgbe_pci_sriov_enable()
/linux-4.1.27/drivers/net/ethernet/emulex/benet/
H A Dbe_main.c3614 old_vfs = pci_num_vf(adapter->pdev); be_vf_setup()
3803 old_vfs = pci_num_vf(adapter->pdev); be_get_sriov_config()
3818 int old_vfs = pci_num_vf(adapter->pdev); be_alloc_sriov_res()
4057 return pci_num_vf(adapter->pdev) ? false : true; be_reset_required()
5691 if (skyhawk_chip(adapter) && !pci_num_vf(pdev)) { be_pci_sriov_configure()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_ethtool.c1846 if (pci_num_vf(bp->pdev)) { bnx2x_set_ringparam()
2908 if (pci_num_vf(bp->pdev)) { bnx2x_self_test()
3483 if (pci_num_vf(bp->pdev)) { bnx2x_set_channels()
H A Dbnx2x_cmn.c4789 if (pci_num_vf(bp->pdev)) { bnx2x_change_mtu()
4819 if (pci_num_vf(bp->pdev)) { bnx2x_fix_features()
4853 if (!pci_num_vf(bp->pdev)) { bnx2x_set_features()
/linux-4.1.27/include/linux/
H A Dpci.h827 #define dev_num_vf(d) ((dev_is_pci(d) ? pci_num_vf(to_pci_dev(d)) : 0))
1688 int pci_num_vf(struct pci_dev *dev); pci_mmcfg_late_init()
1705 static inline int pci_num_vf(struct pci_dev *dev) { return 0; } pci_vfs_assigned() function
/linux-4.1.27/drivers/net/ethernet/intel/i40e/
H A Di40e_virtchnl_pf.c925 if (pci_num_vf(pf->pdev) != num_alloc_vfs) { i40e_alloc_vfs()
980 int pre_existing_vfs = pci_num_vf(pdev); i40e_pci_sriov_enable()
H A Di40e_main.c9882 if (pci_num_vf(pdev)) i40e_probe()
9949 if (pci_num_vf(pdev)) { i40e_probe()
9952 err = i40e_alloc_vfs(pf, pci_num_vf(pdev)); i40e_probe()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
H A Dmain.c2836 existing_vfs = pci_num_vf(pdev); mlx4_load_one()
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A Digb_main.c2716 int old_vfs = pci_num_vf(pdev); igb_enable_sriov()

Completed in 360 milliseconds