Lines Matching refs:vfdev
126 struct pci_dev *vfdev; in ixgbe_get_vfs() local
136 vfdev = pci_get_device(vendor, vf_id, NULL); in ixgbe_get_vfs()
137 for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { in ixgbe_get_vfs()
138 if (!vfdev->is_virtfn) in ixgbe_get_vfs()
140 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
144 pci_dev_get(vfdev); in ixgbe_get_vfs()
145 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs()
214 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov() local
216 if (!vfdev) in ixgbe_disable_sriov()
218 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov()
219 pci_dev_put(vfdev); in ixgbe_disable_sriov()