Home
last modified time | relevance | path

Searched refs:vf_dev (Results 1 – 9 of 9) sorted by relevance

/linux/drivers/vfio/
A Ddebugfs.c16 struct device *vf_dev = seq->private; in vfio_device_state_read() local
17 struct vfio_device *vdev = container_of(vf_dev, in vfio_device_state_read()
/linux/drivers/vfio/pci/hisilicon/
A Dhisi_acc_vfio_pci.c371 if (vf_data->dev_id != hisi_acc_vdev->vf_dev->device) { in vf_qm_check_match()
423 vf_data->dev_id = hisi_acc_vdev->vf_dev->device; in vf_qm_get_match_data()
557 struct pci_dev *vf_pdev = hisi_acc_vdev->vf_dev; in hisi_acc_check_int_state()
655 struct device *dev = &hisi_acc_vdev->vf_dev->dev; in hisi_acc_vf_load_state()
921 struct device *dev = &hisi_acc_vdev->vf_dev->dev; in hisi_acc_vf_stop_device()
1102 struct pci_dev *vf_dev = vdev->pdev; in hisi_acc_vf_qm_init() local
1124 ioremap(pci_resource_start(vf_dev, VFIO_PCI_BAR2_REGION_INDEX), in hisi_acc_vf_qm_init()
1125 pci_resource_len(vf_dev, VFIO_PCI_BAR2_REGION_INDEX)); in hisi_acc_vf_qm_init()
1130 vf_qm->pdev = vf_dev; in hisi_acc_vf_qm_init()
1328 hisi_acc_vdev->vf_dev = pdev; in hisi_acc_vfio_pci_migrn_init_dev()
A Dhisi_acc_vfio_pci.h107 struct pci_dev *vf_dev; member
/linux/drivers/net/ethernet/intel/ice/
A Dice_sriov.h66 int ice_sriov_set_msix_vec_count(struct pci_dev *vf_dev, int msix_vec_count);
163 ice_sriov_set_msix_vec_count(struct pci_dev *vf_dev, int msix_vec_count) in ice_sriov_set_msix_vec_count() argument
A Dice_sriov.c1057 int ice_sriov_set_msix_vec_count(struct pci_dev *vf_dev, int msix_vec_count) in ice_sriov_set_msix_vec_count() argument
1059 struct pci_dev *pdev = pci_physfn(vf_dev); in ice_sriov_set_msix_vec_count()
1086 if (vf_dev->devfn == pci_iov_virtfn_devfn(pdev, id)) in ice_sriov_set_msix_vec_count()
/linux/drivers/pci/
A Diov.c226 struct pci_dev *vf_dev = to_pci_dev(dev); in sriov_vf_msix_count_store() local
227 struct pci_dev *pdev = pci_physfn(vf_dev); in sriov_vf_msix_count_store()
242 device_lock(&vf_dev->dev); in sriov_vf_msix_count_store()
243 if (vf_dev->driver) { in sriov_vf_msix_count_store()
253 ret = pdev->driver->sriov_set_msix_vec_count(vf_dev, val); in sriov_vf_msix_count_store()
256 device_unlock(&vf_dev->dev); in sriov_vf_msix_count_store()
/linux/drivers/crypto/marvell/octeontx2/
A Dotx2_cptpf.h16 struct pci_dev *vf_dev; member
/linux/drivers/vdpa/octeon_ep/
A Doctep_vdpa_main.c657 static void octep_vdpa_assign_barspace(struct pci_dev *vf_dev, struct pci_dev *pf_dev, u8 idx) in octep_vdpa_assign_barspace() argument
659 struct resource *vf_res = vf_dev->resource + PCI_STD_RESOURCES + 4; in octep_vdpa_assign_barspace()
664 vf_res->name = pci_name(vf_dev); in octep_vdpa_assign_barspace()
670 pcibios_bus_to_resource(vf_dev->bus, vf_res, &bus_region); in octep_vdpa_assign_barspace()
/linux/drivers/net/ethernet/intel/i40e/
A Di40e_virtchnl_pf.c172 struct pci_dev *vf_dev = NULL; in i40e_restore_all_vfs_msi_state() local
175 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()

Completed in 45 milliseconds