Lines Matching refs:vfdev
129 struct pci_dev *vfdev; in ixgbe_get_vfs() local
139 vfdev = pci_get_device(vendor, vf_id, NULL); in ixgbe_get_vfs()
140 for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { in ixgbe_get_vfs()
141 if (!vfdev->is_virtfn) in ixgbe_get_vfs()
143 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
147 pci_dev_get(vfdev); in ixgbe_get_vfs()
148 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs()
221 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov() local
223 if (!vfdev) in ixgbe_disable_sriov()
225 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov()
226 pci_dev_put(vfdev); in ixgbe_disable_sriov()