Home
last modified time | relevance | path

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

/linux-6.15/drivers/vfio/
H 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-6.15/drivers/vfio/pci/hisilicon/
H 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()
569 struct pci_dev *vf_pdev = hisi_acc_vdev->vf_dev; in hisi_acc_check_int_state()
689 struct device *dev = &hisi_acc_vdev->vf_dev->dev; in hisi_acc_vf_load_state()
955 struct device *dev = &hisi_acc_vdev->vf_dev->dev; in hisi_acc_vf_stop_device()
1134 struct pci_dev *vf_dev = vdev->pdev; in hisi_acc_vf_qm_init() local
1162 vf_qm->pdev = vf_dev; in hisi_acc_vf_qm_init()
1338 struct device *vf_dev = seq->private; in hisi_acc_vf_debug_cmd() local
1367 struct device *vf_dev = seq->private; in hisi_acc_vf_dev_read() local
1414 struct device *vf_dev = seq->private; in hisi_acc_vf_migf_read() local
[all …]
H A Dhisi_acc_vfio_pci.h115 struct pci_dev *vf_dev; member
/linux-6.15/drivers/net/ethernet/intel/ice/
H 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
H A Dice_sriov.c927 int ice_sriov_set_msix_vec_count(struct pci_dev *vf_dev, int msix_vec_count) in ice_sriov_set_msix_vec_count() argument
929 struct pci_dev *pdev = pci_physfn(vf_dev); in ice_sriov_set_msix_vec_count()
956 if (vf_dev->devfn == pci_iov_virtfn_devfn(pdev, id)) in ice_sriov_set_msix_vec_count()
/linux-6.15/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptpf.h16 struct pci_dev *vf_dev; member
/linux-6.15/drivers/pci/
H 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-6.15/drivers/vdpa/octeon_ep/
H A Doctep_vdpa_main.c698 static void octep_vdpa_assign_barspace(struct pci_dev *vf_dev, struct pci_dev *pf_dev, u8 idx) in octep_vdpa_assign_barspace() argument
700 struct resource *vf_res = vf_dev->resource + PCI_STD_RESOURCES + 4; in octep_vdpa_assign_barspace()
705 vf_res->name = pci_name(vf_dev); in octep_vdpa_assign_barspace()
711 pcibios_bus_to_resource(vf_dev->bus, vf_res, &bus_region); in octep_vdpa_assign_barspace()
/linux-6.15/drivers/net/ethernet/intel/i40e/
H 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()