Home
last modified time | relevance | path

Searched refs:m2m_vdev (Results 1 – 4 of 4) sorted by relevance

/drivers/staging/media/imx/
Dimx-media-dev.c53 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()
Dimx-media.h163 struct imx_media_video_dev *m2m_vdev; member
/drivers/media/platform/mediatek/mdp3/
Dmtk-mdp3-m2m.c676 mdp->m2m_vdev = video_device_alloc(); in mdp_m2m_device_register()
677 if (!mdp->m2m_vdev) { in mdp_m2m_device_register()
682 mdp->m2m_vdev->device_caps = V4L2_CAP_VIDEO_M2M_MPLANE | in mdp_m2m_device_register()
684 mdp->m2m_vdev->fops = &mdp_m2m_fops; in mdp_m2m_device_register()
685 mdp->m2m_vdev->ioctl_ops = &mdp_m2m_ioctl_ops; in mdp_m2m_device_register()
686 mdp->m2m_vdev->release = mdp_video_device_release; in mdp_m2m_device_register()
687 mdp->m2m_vdev->lock = &mdp->m2m_lock; in mdp_m2m_device_register()
688 mdp->m2m_vdev->vfl_dir = VFL_DIR_M2M; in mdp_m2m_device_register()
689 mdp->m2m_vdev->v4l2_dev = &mdp->v4l2_dev; in mdp_m2m_device_register()
690 snprintf(mdp->m2m_vdev->name, sizeof(mdp->m2m_vdev->name), "%s:m2m", in mdp_m2m_device_register()
[all …]
Dmtk-mdp3-core.h80 struct video_device *m2m_vdev; member