Searched refs:vf_dev (Results 1 – 5 of 5) sorted by relevance
16 struct pci_dev *vf_dev; member
252 struct pci_dev *vf_dev = to_pci_dev(dev); in sriov_vf_msix_count_store() local253 struct pci_dev *pdev = pci_physfn(vf_dev); in sriov_vf_msix_count_store()268 device_lock(&vf_dev->dev); in sriov_vf_msix_count_store()269 if (vf_dev->driver) { in sriov_vf_msix_count_store()279 ret = pdev->driver->sriov_set_msix_vec_count(vf_dev, val); in sriov_vf_msix_count_store()282 device_unlock(&vf_dev->dev); in sriov_vf_msix_count_store()
701 static void octep_vdpa_assign_barspace(struct pci_dev *vf_dev, struct pci_dev *pf_dev, u8 idx) in octep_vdpa_assign_barspace() argument703 struct resource *vf_res = vf_dev->resource + PCI_STD_RESOURCES + 4; in octep_vdpa_assign_barspace()708 vf_res->name = pci_name(vf_dev); in octep_vdpa_assign_barspace()714 pcibios_bus_to_resource(vf_dev->bus, vf_res, &bus_region); in octep_vdpa_assign_barspace()
928 int ice_sriov_set_msix_vec_count(struct pci_dev *vf_dev, int msix_vec_count) in ice_sriov_set_msix_vec_count() argument930 struct pci_dev *pdev = pci_physfn(vf_dev); in ice_sriov_set_msix_vec_count()954 vf = ice_get_vf_by_dev(pf, vf_dev); in ice_sriov_set_msix_vec_count()
172 struct pci_dev *vf_dev = NULL; in i40e_restore_all_vfs_msi_state() local175 while ((vf_dev = pci_get_device(pdev->vendor, vf_id, vf_dev))) { in i40e_restore_all_vfs_msi_state()176 if (vf_dev->is_virtfn && vf_dev->physfn == pdev) in i40e_restore_all_vfs_msi_state()177 pci_restore_msi_state(vf_dev); in i40e_restore_all_vfs_msi_state()