Home
last modified time | relevance | path

Searched refs:mdev_dev (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.15/samples/vfio-mdev/
Dmbochs.c242 struct device *dev = mdev_dev(mdev_state->mdev); in mbochs_check_framebuffer()
300 struct device *dev = mdev_dev(mdev_state->mdev); in handle_pci_cfg_write()
328 struct device *dev = mdev_dev(mdev_state->mdev); in handle_mmio_write()
358 struct device *dev = mdev_dev(mdev_state->mdev); in handle_mmio_read()
513 struct device *dev = mdev_dev(mdev); in mbochs_probe()
736 struct device *dev = mdev_dev(mdev_state->mdev); in mbochs_put_pages()
810 struct device *dev = mdev_dev(dmabuf->mdev_state->mdev); in mbochs_mmap_dmabuf()
825 struct device *dev = mdev_dev(dmabuf->mdev_state->mdev); in mbochs_print_dmabuf()
842 struct device *dev = mdev_dev(dmabuf->mdev_state->mdev); in mbochs_map_dmabuf()
871 struct device *dev = mdev_dev(dmabuf->mdev_state->mdev); in mbochs_unmap_dmabuf()
[all …]
Dmdpy.c145 struct device *dev = mdev_dev(mdev_state->mdev); in handle_pci_cfg_write()
223 struct device *dev = mdev_dev(mdev); in mdpy_probe()
/Linux-v5.15/drivers/s390/cio/
Dvfio_ccw_ops.c171 ret = vfio_register_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY, in vfio_ccw_mdev_open_device()
192 vfio_unregister_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY, in vfio_ccw_mdev_open_device()
211 vfio_unregister_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY, in vfio_ccw_mdev_close_device()
625 dev_notice_ratelimited(mdev_dev(private->mdev), in vfio_ccw_mdev_request()
631 dev_notice(mdev_dev(private->mdev), in vfio_ccw_mdev_request()
Dvfio_ccw_fsm.c265 io_region->ret_code = cp_init(&private->cp, mdev_dev(mdev), in fsm_io_request()
/Linux-v5.15/drivers/gpu/drm/i915/gvt/
Dkvmgt.c713 mdev_dev(vdev->mdev)); in kvmgt_get_vfio_device()
820 dev_name(mdev_dev(mdev))); in intel_vgpu_create()
900 ret = vfio_register_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY, &events, in intel_vgpu_open_device()
909 ret = vfio_register_notifier(mdev_dev(mdev), VFIO_GROUP_NOTIFY, &events, in intel_vgpu_open_device()
917 vfio_group = vfio_group_get_external_user_from_dev(mdev_dev(mdev)); in intel_vgpu_open_device()
947 vfio_unregister_notifier(mdev_dev(mdev), VFIO_GROUP_NOTIFY, in intel_vgpu_open_device()
951 vfio_unregister_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY, in intel_vgpu_open_device()
984 ret = vfio_unregister_notifier(mdev_dev(vdev->mdev), VFIO_IOMMU_NOTIFY, in __intel_vgpu_release()
989 ret = vfio_unregister_notifier(mdev_dev(vdev->mdev), VFIO_GROUP_NOTIFY, in __intel_vgpu_release()
/Linux-v5.15/include/linux/
Dmdev.h176 static inline struct device *mdev_dev(struct mdev_device *mdev) in mdev_dev() function
/Linux-v5.15/drivers/vfio/mdev/
Dvfio_mdev.c97 dev_notice(mdev_dev(mdev), in vfio_mdev_request()
/Linux-v5.15/drivers/s390/crypto/
Dvfio_ap_ops.c125 vfio_unpin_pages(mdev_dev(q->matrix_mdev->mdev), in vfio_ap_free_aqic_resources()
215 ret = vfio_pin_pages(mdev_dev(q->matrix_mdev->mdev), &g_pfn, 1, in vfio_ap_irq_enable()
244 vfio_unpin_pages(mdev_dev(q->matrix_mdev->mdev), &g_pfn, 1); in vfio_ap_irq_enable()
1133 vfio_unpin_pages(mdev_dev(matrix_mdev->mdev), &g_pfn, 1); in vfio_ap_mdev_iommu_notifier()