Lines Matching refs:vfdev
149 struct pci_dev *vfdev; in ixgbe_get_vfs() local
159 vfdev = pci_get_device(vendor, vf_id, NULL); in ixgbe_get_vfs()
160 for (; vfdev; vfdev = pci_get_device(vendor, vf_id, vfdev)) { in ixgbe_get_vfs()
161 if (!vfdev->is_virtfn) in ixgbe_get_vfs()
163 if (vfdev->physfn != pdev) in ixgbe_get_vfs()
167 pci_dev_get(vfdev); in ixgbe_get_vfs()
168 adapter->vfinfo[vf].vfdev = vfdev; in ixgbe_get_vfs()
240 struct pci_dev *vfdev = adapter->vfinfo[vf].vfdev; in ixgbe_disable_sriov() local
242 if (!vfdev) in ixgbe_disable_sriov()
244 adapter->vfinfo[vf].vfdev = NULL; in ixgbe_disable_sriov()
245 pci_dev_put(vfdev); in ixgbe_disable_sriov()