Home
last modified time | relevance | path

Searched refs:nr_virtfn (Results 1 – 4 of 4) sorted by relevance

/linux-2.6.39/drivers/pci/
Diov.c189 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() argument
239 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() argument
285 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 …]
Dpci.h241 u16 nr_virtfn; /* number of VFs available */ member
/linux-2.6.39/Documentation/PCI/
Dpci-iov-howto.txt43 int pci_enable_sriov(struct pci_dev *dev, int nr_virtfn);
44 'nr_virtfn' is number of VFs to be enabled.
/linux-2.6.39/include/linux/
Dpci.h1401 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