Searched refs:vf_dev (Results 1 – 3 of 3) sorted by relevance
184 struct pci_dev *vf_dev = to_pci_dev(dev); in sriov_vf_msix_count_store() local185 struct pci_dev *pdev = pci_physfn(vf_dev); in sriov_vf_msix_count_store()201 device_lock(&vf_dev->dev); in sriov_vf_msix_count_store()202 if (vf_dev->driver) { in sriov_vf_msix_count_store()212 ret = pdev->driver->sriov_set_msix_vec_count(vf_dev, val); in sriov_vf_msix_count_store()215 device_unlock(&vf_dev->dev); in sriov_vf_msix_count_store()
16 struct pci_dev *vf_dev; member
170 struct pci_dev *vf_dev = NULL; in i40e_restore_all_vfs_msi_state() local173 while ((vf_dev = pci_get_device(pdev->vendor, vf_id, vf_dev))) { in i40e_restore_all_vfs_msi_state()174 if (vf_dev->is_virtfn && vf_dev->physfn == pdev) in i40e_restore_all_vfs_msi_state()175 pci_restore_msi_state(vf_dev); in i40e_restore_all_vfs_msi_state()