Searched refs:mdev_dev (Results  1 – 8 of 8) sorted by relevance
| /Linux-v5.4/samples/vfio-mdev/ | 
| D | mbochs.c | 250 	struct device *dev = mdev_dev(mdev_state->mdev);  in mbochs_check_framebuffer() 308 	struct device *dev = mdev_dev(mdev_state->mdev);  in handle_pci_cfg_write() 336 	struct device *dev = mdev_dev(mdev_state->mdev);  in handle_mmio_write() 366 	struct device *dev = mdev_dev(mdev_state->mdev);  in handle_mmio_read() 442 	struct device *dev = mdev_dev(mdev);  in mdev_access() 522 	struct device *dev = mdev_dev(mdev);  in mbochs_create() 733 	struct device *dev = mdev_dev(mdev_state->mdev);  in mbochs_put_pages() 806 	struct device *dev = mdev_dev(dmabuf->mdev_state->mdev);  in mbochs_mmap_dmabuf() 821 	struct device *dev = mdev_dev(dmabuf->mdev_state->mdev);  in mbochs_print_dmabuf() 838 	struct device *dev = mdev_dev(dmabuf->mdev_state->mdev);  in mbochs_map_dmabuf() [all …] 
 | 
| D | mdpy.c | 153 	struct device *dev = mdev_dev(mdev_state->mdev);  in handle_pci_cfg_write() 179 	struct device *dev = mdev_dev(mdev);  in mdev_access() 232 	struct device *dev = mdev_dev(mdev);  in mdpy_create() 278 	struct device *dev = mdev_dev(mdev);  in mdpy_remove()
  | 
| /Linux-v5.4/drivers/s390/crypto/ | 
| D | vfio_ap_ops.c | 125 		vfio_unpin_pages(mdev_dev(q->matrix_mdev->mdev),  in vfio_ap_free_aqic_resources() 212 	ret = vfio_pin_pages(mdev_dev(q->matrix_mdev->mdev), &g_pfn, 1,  in vfio_ap_irq_enable() 241 		vfio_unpin_pages(mdev_dev(q->matrix_mdev->mdev), &g_pfn, 1);  in vfio_ap_irq_enable() 1079 		vfio_unpin_pages(mdev_dev(matrix_mdev->mdev), &g_pfn, 1);  in vfio_ap_mdev_iommu_notifier() 1200 	ret = vfio_register_notifier(mdev_dev(mdev), VFIO_GROUP_NOTIFY,  in vfio_ap_mdev_open() 1209 	ret = vfio_register_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY,  in vfio_ap_mdev_open() 1214 	vfio_unregister_notifier(mdev_dev(mdev), VFIO_GROUP_NOTIFY,  in vfio_ap_mdev_open() 1234 	vfio_unregister_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY,  in vfio_ap_mdev_release() 1236 	vfio_unregister_notifier(mdev_dev(mdev), VFIO_GROUP_NOTIFY,  in vfio_ap_mdev_release()
  | 
| /Linux-v5.4/drivers/gpu/drm/i915/gvt/ | 
| D | kvmgt.c | 132 		ret = vfio_unpin_pages(mdev_dev(vgpu->vdev.mdev), &cur_gfn, 1);  in gvt_unpin_guest_page() 155 		ret = vfio_pin_pages(mdev_dev(vgpu->vdev.mdev), &cur_gfn, 1,  in gvt_pin_guest_page() 571 		mdev_dev(vgpu->vdev.mdev));  in kvmgt_get_vfio_device() 678 		     dev_name(mdev_dev(mdev)));  in intel_vgpu_create() 755 	ret = vfio_register_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY, &events,  in intel_vgpu_open() 764 	ret = vfio_register_notifier(mdev_dev(mdev), VFIO_GROUP_NOTIFY, &events,  in intel_vgpu_open() 788 	vfio_unregister_notifier(mdev_dev(mdev), VFIO_GROUP_NOTIFY,  in intel_vgpu_open() 792 	vfio_unregister_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY,  in intel_vgpu_open() 822 	ret = vfio_unregister_notifier(mdev_dev(vgpu->vdev.mdev), VFIO_IOMMU_NOTIFY,  in __intel_vgpu_release() 826 	ret = vfio_unregister_notifier(mdev_dev(vgpu->vdev.mdev), VFIO_GROUP_NOTIFY,  in __intel_vgpu_release()
  | 
| /Linux-v5.4/drivers/vfio/mdev/ | 
| D | mdev_core.c | 48 struct device *mdev_dev(struct mdev_device *mdev)  in mdev_dev()  function 52 EXPORT_SYMBOL(mdev_dev);
  | 
| /Linux-v5.4/drivers/s390/cio/ | 
| D | vfio_ccw_ops.c | 168 	ret = vfio_register_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY,  in vfio_ccw_mdev_open() 175 		vfio_unregister_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY,  in vfio_ccw_mdev_open() 194 	vfio_unregister_notifier(mdev_dev(mdev), VFIO_IOMMU_NOTIFY,  in vfio_ccw_mdev_release()
  | 
| D | vfio_ccw_fsm.c | 268 		io_region->ret_code = cp_init(&private->cp, mdev_dev(mdev),  in fsm_io_request()
  | 
| /Linux-v5.4/include/linux/ | 
| D | mdev.h | 145 struct device *mdev_dev(struct mdev_device *mdev);
  |