Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/vfio/pci/mlx5/
Dmain.c29 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()
488 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_set_device_state()
519 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_get_device_state()
554 core_vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_open_device()
555 struct vfio_pci_core_device *vdev = &mvdev->core_device; in mlx5vf_pci_open_device()
571 core_vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_close_device()
591 struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_init_dev()
607 struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_release_dev()
[all …]
Dcmd.h95 struct vfio_pci_core_device core_device; member
Dcmd.c132 struct pci_dev *pdev = mvdev->core_device.pdev; in mlx5vf_cmd_set_migratable()
168 mvdev->core_device.vdev.migration_flags = in mlx5vf_cmd_set_migratable()
171 mvdev->core_device.vdev.mig_ops = mig_ops; in mlx5vf_cmd_set_migratable()
174 mvdev->core_device.vdev.log_ops = log_ops; in mlx5vf_cmd_set_migratable()
1085 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_stop_page_tracker()
1103 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_start_page_tracker()
1309 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_tracker_read_and_clear()
/Linux-v6.1/drivers/vfio/pci/hisilicon/
Dhisi_acc_vfio_pci.c548 struct vfio_pci_core_device *core_device = dev_get_drvdata(&pdev->dev); in hisi_acc_drvdata() local
550 return container_of(core_device, struct hisi_acc_vf_core_device, in hisi_acc_drvdata()
551 core_device); in hisi_acc_drvdata()
931 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_set_device_state()
965 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_get_device_state()
977 if (hisi_acc_vdev->core_device.vdev.migration_flags != in hisi_acc_vf_pci_aer_reset_done()
1000 struct vfio_pci_core_device *vdev = &hisi_acc_vdev->core_device; in hisi_acc_vf_qm_init()
1182 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_open_device()
1183 struct vfio_pci_core_device *vdev = &hisi_acc_vdev->core_device; in hisi_acc_vfio_pci_open_device()
1206 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_close_device()
[all …]
Dhisi_acc_vfio_pci.h99 struct vfio_pci_core_device core_device; member