Searched refs:core_device (Results 1 – 6 of 6) sorted by relevance
/drivers/vfio/pci/hisilicon/ |
D | hisi_acc_vfio_pci.c | 545 struct vfio_pci_core_device *core_device = dev_get_drvdata(&pdev->dev); in hisi_acc_drvdata() local 547 return container_of(core_device, struct hisi_acc_vf_core_device, in hisi_acc_drvdata() 548 core_device); in hisi_acc_drvdata() 1049 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_set_device_state() 1091 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_get_device_state() 1103 if (hisi_acc_vdev->core_device.vdev.migration_flags != in hisi_acc_vf_pci_aer_reset_done() 1126 struct vfio_pci_core_device *vdev = &hisi_acc_vdev->core_device; in hisi_acc_vf_qm_init() 1308 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_open_device() 1309 struct vfio_pci_core_device *vdev = &hisi_acc_vdev->core_device; in hisi_acc_vfio_pci_open_device() 1332 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_close_device() [all …]
|
D | hisi_acc_vfio_pci.h | 100 struct vfio_pci_core_device core_device; member
|
/drivers/vfio/pci/mlx5/ |
D | main.c | 29 struct vfio_pci_core_device *core_device = dev_get_drvdata(&pdev->dev); in mlx5vf_drvdata() local 31 return container_of(core_device, struct mlx5vf_pci_core_device, in mlx5vf_drvdata() 32 core_device); in mlx5vf_drvdata() 1164 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_set_device_state() 1195 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_get_data_size() 1212 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_get_device_state() 1247 core_vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_open_device() 1248 struct vfio_pci_core_device *vdev = &mvdev->core_device; in mlx5vf_pci_open_device() 1264 core_vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_close_device() 1285 struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_init_dev() [all …]
|
D | cmd.h | 17 ((mvdev)->core_device.vdev.migration_flags & VFIO_MIGRATION_PRE_COPY) 160 struct vfio_pci_core_device core_device; member
|
D | cmd.c | 204 struct pci_dev *pdev = mvdev->core_device.pdev; in mlx5vf_cmd_set_migratable() 244 mvdev->core_device.vdev.migration_flags = in mlx5vf_cmd_set_migratable() 247 mvdev->core_device.vdev.mig_ops = mig_ops; in mlx5vf_cmd_set_migratable() 250 mvdev->core_device.vdev.log_ops = log_ops; in mlx5vf_cmd_set_migratable() 254 mvdev->core_device.vdev.migration_flags |= in mlx5vf_cmd_set_migratable() 1347 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_stop_page_tracker() 1365 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_start_page_tracker() 1571 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_tracker_read_and_clear()
|
/drivers/vfio/pci/pds/ |
D | vfio_dev.c | 23 struct vfio_pci_core_device *core_device = dev_get_drvdata(&pdev->dev); in pds_vfio_pci_drvdata() local 25 return container_of(core_device, struct pds_vfio_pci_device, in pds_vfio_pci_drvdata()
|