Lines Matching refs:m2m_vdev
687 mdp->m2m_vdev = video_device_alloc(); in mdp_m2m_device_register()
688 if (!mdp->m2m_vdev) { in mdp_m2m_device_register()
693 mdp->m2m_vdev->device_caps = V4L2_CAP_VIDEO_M2M_MPLANE | in mdp_m2m_device_register()
695 mdp->m2m_vdev->fops = &mdp_m2m_fops; in mdp_m2m_device_register()
696 mdp->m2m_vdev->ioctl_ops = &mdp_m2m_ioctl_ops; in mdp_m2m_device_register()
697 mdp->m2m_vdev->release = mdp_video_device_release; in mdp_m2m_device_register()
698 mdp->m2m_vdev->lock = &mdp->m2m_lock; in mdp_m2m_device_register()
699 mdp->m2m_vdev->vfl_dir = VFL_DIR_M2M; in mdp_m2m_device_register()
700 mdp->m2m_vdev->v4l2_dev = &mdp->v4l2_dev; in mdp_m2m_device_register()
701 snprintf(mdp->m2m_vdev->name, sizeof(mdp->m2m_vdev->name), "%s:m2m", in mdp_m2m_device_register()
703 video_set_drvdata(mdp->m2m_vdev, mdp); in mdp_m2m_device_register()
712 ret = video_register_device(mdp->m2m_vdev, VFL_TYPE_VIDEO, -1); in mdp_m2m_device_register()
719 mdp->m2m_vdev->num); in mdp_m2m_device_register()
725 video_device_release(mdp->m2m_vdev); in mdp_m2m_device_register()
733 video_unregister_device(mdp->m2m_vdev); in mdp_m2m_device_unregister()