Searched refs:m2m_vdev (Results 1 – 4 of 4) sorted by relevance
53 imxmd->m2m_vdev = imx_media_csc_scaler_device_init(imxmd); in imx6_media_probe_complete()54 if (IS_ERR(imxmd->m2m_vdev)) { in imx6_media_probe_complete()55 ret = PTR_ERR(imxmd->m2m_vdev); in imx6_media_probe_complete()56 imxmd->m2m_vdev = NULL; in imx6_media_probe_complete()60 ret = imx_media_csc_scaler_device_register(imxmd->m2m_vdev); in imx6_media_probe_complete()111 if (imxmd->m2m_vdev) { in imx_media_remove()112 imx_media_csc_scaler_device_unregister(imxmd->m2m_vdev); in imx_media_remove()113 imxmd->m2m_vdev = NULL; in imx_media_remove()
163 struct imx_media_video_dev *m2m_vdev; member
672 mdp->m2m_vdev = video_device_alloc(); in mdp_m2m_device_register()673 if (!mdp->m2m_vdev) { in mdp_m2m_device_register()680 mdp->m2m_vdev->fops = &mdp_m2m_fops; in mdp_m2m_device_register()683 mdp->m2m_vdev->lock = &mdp->m2m_lock; in mdp_m2m_device_register()684 mdp->m2m_vdev->vfl_dir = VFL_DIR_M2M; in mdp_m2m_device_register()685 mdp->m2m_vdev->v4l2_dev = &mdp->v4l2_dev; in mdp_m2m_device_register()686 snprintf(mdp->m2m_vdev->name, sizeof(mdp->m2m_vdev->name), "%s:m2m", in mdp_m2m_device_register()688 video_set_drvdata(mdp->m2m_vdev, mdp); in mdp_m2m_device_register()704 mdp->m2m_vdev->num); in mdp_m2m_device_register()710 video_device_release(mdp->m2m_vdev); in mdp_m2m_device_register()[all …]
89 struct video_device *m2m_vdev; member