Lines Matching defs:core_vdev
22 static int vfio_fsl_mc_open_device(struct vfio_device *core_vdev)
25 container_of(core_vdev, struct vfio_fsl_mc_device, vdev);
97 static void vfio_fsl_mc_close_device(struct vfio_device *core_vdev)
100 container_of(core_vdev, struct vfio_fsl_mc_device, vdev);
120 static long vfio_fsl_mc_ioctl(struct vfio_device *core_vdev,
125 container_of(core_vdev, struct vfio_fsl_mc_device, vdev);
240 static ssize_t vfio_fsl_mc_read(struct vfio_device *core_vdev, char __user *buf,
244 container_of(core_vdev, struct vfio_fsl_mc_device, vdev);
318 static ssize_t vfio_fsl_mc_write(struct vfio_device *core_vdev,
323 container_of(core_vdev, struct vfio_fsl_mc_device, vdev);
384 static int vfio_fsl_mc_mmap(struct vfio_device *core_vdev,
388 container_of(core_vdev, struct vfio_fsl_mc_device, vdev);
512 static int vfio_fsl_mc_init_dev(struct vfio_device *core_vdev)
515 container_of(core_vdev, struct vfio_fsl_mc_device, vdev);
516 struct fsl_mc_device *mc_dev = to_fsl_mc_device(core_vdev->dev);
523 ret = vfio_assign_device_set(core_vdev, &mc_dev->dev);
525 ret = vfio_assign_device_set(core_vdev, mc_dev->dev.parent);
564 static void vfio_fsl_mc_release_dev(struct vfio_device *core_vdev)
567 container_of(core_vdev, struct vfio_fsl_mc_device, vdev);