Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/vfio/pci/hisilicon/
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()
669 struct device *dev = &hisi_acc_vdev->vf_dev->dev; in hisi_acc_vf_load_state()
935 struct device *dev = &hisi_acc_vdev->vf_dev->dev; in hisi_acc_vf_stop_device()
1128 struct pci_dev *vf_dev = vdev->pdev; in hisi_acc_vf_qm_init() local
1150 ioremap(pci_resource_start(vf_dev, VFIO_PCI_BAR2_REGION_INDEX), in hisi_acc_vf_qm_init()
1151 pci_resource_len(vf_dev, VFIO_PCI_BAR2_REGION_INDEX)); in hisi_acc_vf_qm_init()
1156 vf_qm->pdev = vf_dev; in hisi_acc_vf_qm_init()
1354 hisi_acc_vdev->vf_dev = pdev; in hisi_acc_vfio_pci_migrn_init_dev()
Dhisi_acc_vfio_pci.h107 struct pci_dev *vf_dev; member
/linux-6.6.21/drivers/crypto/marvell/octeontx2/
Dotx2_cptpf.h16 struct pci_dev *vf_dev; member
/linux-6.6.21/drivers/pci/
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-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e_virtchnl_pf.c170 struct pci_dev *vf_dev = NULL; in i40e_restore_all_vfs_msi_state() local
173 while ((vf_dev = pci_get_device(pdev->vendor, vf_id, vf_dev))) { in i40e_restore_all_vfs_msi_state()
174 if (vf_dev->is_virtfn && vf_dev->physfn == pdev) in i40e_restore_all_vfs_msi_state()
175 pci_restore_msi_state(vf_dev); in i40e_restore_all_vfs_msi_state()