Home
last modified time | relevance | path

Searched refs:num_VFs (Results 1 – 3 of 3) sorted by relevance

/drivers/pci/
Diov.c189 if (!iov->num_VFs) in sriov_migration()
211 for (i = iov->initial_VFs; i < iov->num_VFs; i++) { in sriov_migration_task()
289 if (iov->num_VFs) in sriov_enable()
371 iov->num_VFs = nr_virtfn; in sriov_enable()
396 if (!iov->num_VFs) in sriov_disable()
402 for (i = 0; i < iov->num_VFs; i++) in sriov_disable()
414 iov->num_VFs = 0; in sriov_disable()
524 BUG_ON(dev->sriov->num_VFs); in sriov_release()
549 pci_write_config_word(dev, iov->pos + PCI_SRIOV_NUM_VF, iov->num_VFs); in sriov_restore_state()
727 return dev->sriov->num_VFs; in pci_num_vf()
Dpci-sysfs.c421 return sprintf(buf, "%u\n", pdev->sriov->num_VFs); in sriov_numvfs_show()
446 if (num_vfs == pdev->sriov->num_VFs) in sriov_numvfs_store()
464 if (pdev->sriov->num_VFs) { in sriov_numvfs_store()
466 pdev->sriov->num_VFs, num_vfs); in sriov_numvfs_store()
Dpci.h233 u16 num_VFs; /* number of VFs available */ member