Searched refs:nr_virtfn (Results 1 – 4 of 4) sorted by relevance
189 if (!iov->nr_virtfn) in sriov_migration()211 for (i = iov->initial; i < iov->nr_virtfn; i++) { in sriov_migration_task()232 static int sriov_enable_migration(struct pci_dev *dev, int nr_virtfn) in sriov_enable_migration() argument239 if (nr_virtfn <= iov->initial) in sriov_enable_migration()248 if (table + nr_virtfn > pci_resource_len(dev, bir)) in sriov_enable_migration()252 iov->mstate = ioremap(pa, nr_virtfn); in sriov_enable_migration()275 static int sriov_enable(struct pci_dev *dev, int nr_virtfn) in sriov_enable() argument285 if (!nr_virtfn) in sriov_enable()288 if (iov->nr_virtfn) in sriov_enable()296 if (nr_virtfn < 0 || nr_virtfn > iov->total || in sriov_enable()[all …]
241 u16 nr_virtfn; /* number of VFs available */ member
43 int pci_enable_sriov(struct pci_dev *dev, int nr_virtfn);44 'nr_virtfn' is number of VFs to be enabled.
1401 extern int pci_enable_sriov(struct pci_dev *dev, int nr_virtfn);1406 static inline int pci_enable_sriov(struct pci_dev *dev, int nr_virtfn) in pci_enable_sriov() argument