Searched refs:vf_dev (Results 1 – 10 of 10) sorted by relevance
| /linux/drivers/vfio/ |
| H A D | debugfs.c | 16 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() 63 struct device *vf_dev = seq->private; in vfio_device_features_read() local 64 struct vfio_device *vdev = container_of(vf_dev, struct vfio_device, device); in vfio_device_features_read()
|
| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_vf_lib.h | 292 struct pci_dev *vf_dev) in ice_get_vf_by_dev() argument 294 int vf_id = pci_iov_vf_id(vf_dev); in ice_get_vf_by_dev() 299 return ice_get_vf_by_id(pf, pci_iov_vf_id(vf_dev)); in ice_get_vf_by_dev() 329 struct pci_dev *vf_dev) in ice_get_vf_by_dev() argument
|
| H A D | ice_sriov.h | 66 int ice_sriov_set_msix_vec_count(struct pci_dev *vf_dev, int msix_vec_count); 164 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 D | ice_sriov.c | 928 int ice_sriov_set_msix_vec_count(struct pci_dev *vf_dev, int msix_vec_count) in ice_sriov_set_msix_vec_count() argument 930 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()
|
| /linux/drivers/vfio/pci/hisilicon/ |
| H A D | hisi_acc_vfio_pci.c | 420 if (vf_data->dev_id != hisi_acc_vdev->vf_dev->device) { in vf_qm_check_match() 467 vf_data->dev_id = hisi_acc_vdev->vf_dev->device; in vf_qm_get_match_data() 636 struct pci_dev *vf_pdev = hisi_acc_vdev->vf_dev; in hisi_acc_check_int_state() 756 struct device *dev = &hisi_acc_vdev->vf_dev->dev; in hisi_acc_vf_load_state() 1022 struct device *dev = &hisi_acc_vdev->vf_dev->dev; in hisi_acc_vf_stop_device() 1231 struct pci_dev *vf_dev = vdev->pdev; in hisi_acc_vf_qm_init() local 1269 ioremap(pci_resource_start(vf_dev, VFIO_PCI_BAR2_REGION_INDEX), in hisi_acc_vf_qm_init() 1270 pci_resource_len(vf_dev, VFIO_PCI_BAR2_REGION_INDEX)); in hisi_acc_vf_qm_init() 1276 vf_qm->pdev = vf_dev; in hisi_acc_vf_qm_init() 1456 struct device *vf_dev = seq->private; in hisi_acc_vf_debug_cmd() local [all …]
|
| H A D | hisi_acc_vfio_pci.h | 145 struct pci_dev *vf_dev; member
|
| /linux/drivers/pci/ |
| H A D | iov.c | 252 struct pci_dev *vf_dev = to_pci_dev(dev); in sriov_vf_msix_count_store() local 253 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()
|
| /linux/drivers/crypto/marvell/octeontx2/ |
| H A D | otx2_cptpf.h | 16 struct pci_dev *vf_dev; member
|
| /linux/drivers/vdpa/octeon_ep/ |
| H A D | octep_vdpa_main.c | 701 static void octep_vdpa_assign_barspace(struct pci_dev *vf_dev, struct pci_dev *pf_dev, u8 idx) in octep_vdpa_assign_barspace() argument 703 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()
|
| /linux/drivers/net/ethernet/intel/i40e/ |
| H A D | i40e_virtchnl_pf.c | 172 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()
|