Home
last modified time | relevance | path

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

/linux/drivers/vfio/pci/virtio/
A Dmain.c20 struct vfio_pci_core_device core_device; member
38 (virtvdev->core_device.irq_type == VFIO_PCI_MSIX_IRQ_INDEX); in virtiovf_issue_legacy_rw_cmd()
39 struct pci_dev *pdev = virtvdev->core_device.pdev; in virtiovf_issue_legacy_rw_cmd()
83 struct vfio_pci_core_device *core_device = &virtvdev->core_device; in virtiovf_pci_bar0_rw() local
84 struct pci_dev *pdev = core_device->pdev; in virtiovf_pci_bar0_rw()
339 struct vfio_pci_core_device *core_device = &virtvdev->core_device; in virtiovf_set_notify_addr() local
346 ret = vfio_pci_core_setup_barmap(core_device, in virtiovf_set_notify_addr()
418 pdev = virtvdev->core_device.pdev; in virtiovf_pci_init_device()
504 dev_set_drvdata(&pdev->dev, &virtvdev->core_device); in virtiovf_pci_probe()
510 vfio_put_device(&virtvdev->core_device.vdev); in virtiovf_pci_probe()
[all …]
/linux/drivers/vfio/pci/qat/
A Dmain.c49 struct vfio_pci_core_device core_device; member
62 core_device.vdev); in qat_vf_pci_open_device()
109 struct qat_vf_core_device, core_device.vdev); in qat_vf_pci_close_device()
488 struct qat_vf_core_device, core_device.vdev); in qat_vf_pci_set_device_state()
520 struct qat_vf_core_device, core_device.vdev); in qat_vf_pci_get_device_state()
533 struct qat_vf_core_device, core_device.vdev); in qat_vf_pci_get_data_size()
551 struct qat_vf_core_device, core_device.vdev); in qat_vf_pci_release_dev()
627 return container_of(core_device, struct qat_vf_core_device, core_device); in qat_vf_drvdata()
653 pci_set_drvdata(pdev, &qat_vdev->core_device); in qat_vf_vfio_pci_probe()
661 vfio_put_device(&qat_vdev->core_device.vdev); in qat_vf_vfio_pci_probe()
[all …]
/linux/drivers/vfio/pci/nvgrace-gpu/
A Dmain.c42 struct vfio_pci_core_device core_device; member
55 core_device.vdev); in nvgrace_gpu_init_fake_bar_emu_regs()
81 core_device.vdev); in nvgrace_gpu_open_device()
102 core_device.vdev); in nvgrace_gpu_close_device()
126 core_device.vdev); in nvgrace_gpu_mmap()
202 core_device.vdev); in nvgrace_gpu_ioctl_get_region_info()
322 core_device.vdev); in nvgrace_gpu_read_config_emu()
373 core_device.vdev); in nvgrace_gpu_write_config_emu()
553 core_device.vdev); in nvgrace_gpu_read()
662 core_device.vdev); in nvgrace_gpu_write()
[all …]
/linux/drivers/vfio/pci/hisilicon/
A Dhisi_acc_vfio_pci.c548 core_device); in hisi_acc_drvdata()
1035 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_set_device_state()
1077 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_get_device_state()
1089 if (hisi_acc_vdev->core_device.vdev.migration_flags != in hisi_acc_vf_pci_aer_reset_done()
1282 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_open_device()
1306 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_close_device()
1322 struct hisi_acc_vf_core_device, core_device.vdev); in hisi_acc_vfio_pci_migrn_init_dev()
1393 core_device.vdev, &pdev->dev, ops); in hisi_acc_vfio_pci_probe()
1397 dev_set_drvdata(&pdev->dev, &hisi_acc_vdev->core_device); in hisi_acc_vfio_pci_probe()
1404 vfio_put_device(&hisi_acc_vdev->core_device.vdev); in hisi_acc_vfio_pci_probe()
[all …]
A Dhisi_acc_vfio_pci.h100 struct vfio_pci_core_device core_device; member
/linux/drivers/vfio/pci/mlx5/
A Dmain.c33 return container_of(core_device, struct mlx5vf_pci_core_device, in mlx5vf_drvdata()
34 core_device); in mlx5vf_drvdata()
1234 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_set_device_state()
1265 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_get_data_size()
1283 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_get_device_state()
1356 struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_init_dev()
1372 struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_pci_release_dev()
1408 dev_set_drvdata(&pdev->dev, &mvdev->core_device); in mlx5vf_pci_probe()
1415 vfio_put_device(&mvdev->core_device.vdev); in mlx5vf_pci_probe()
1423 vfio_pci_core_unregister_device(&mvdev->core_device); in mlx5vf_pci_remove()
[all …]
A Dcmd.c223 struct pci_dev *pdev = mvdev->core_device.pdev; in mlx5vf_cmd_set_migratable()
267 mvdev->core_device.vdev.migration_flags = in mlx5vf_cmd_set_migratable()
272 mvdev->core_device.vdev.mig_ops = mig_ops; in mlx5vf_cmd_set_migratable()
275 mvdev->core_device.vdev.log_ops = log_ops; in mlx5vf_cmd_set_migratable()
1492 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_stop_page_tracker()
1510 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_start_page_tracker()
1716 vdev, struct mlx5vf_pci_core_device, core_device.vdev); in mlx5vf_tracker_read_and_clear()
A Dcmd.h171 struct vfio_pci_core_device core_device; member
/linux/drivers/vfio/pci/pds/
A Dvfio_dev.c23 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()

Completed in 23 milliseconds