Searched refs:vfd_enc (Results 1 – 2 of 2) sorted by relevance
238 struct video_device *vfd_enc; in mtk_vcodec_probe() local315 vfd_enc = video_device_alloc(); in mtk_vcodec_probe()316 if (!vfd_enc) { in mtk_vcodec_probe()321 vfd_enc->fops = &mtk_vcodec_fops; in mtk_vcodec_probe()322 vfd_enc->ioctl_ops = &mtk_venc_ioctl_ops; in mtk_vcodec_probe()323 vfd_enc->release = video_device_release; in mtk_vcodec_probe()324 vfd_enc->lock = &dev->dev_mutex; in mtk_vcodec_probe()325 vfd_enc->v4l2_dev = &dev->v4l2_dev; in mtk_vcodec_probe()326 vfd_enc->vfl_dir = VFL_DIR_M2M; in mtk_vcodec_probe()327 vfd_enc->device_caps = V4L2_CAP_VIDEO_M2M_MPLANE | in mtk_vcodec_probe()[all …]
835 } else if (vdev == dev->vfd_enc) { in s5p_mfc_open()884 } else if (vdev == dev->vfd_enc) { in s5p_mfc_open()911 } else if (vdev == dev->vfd_enc) { in s5p_mfc_open()1404 dev->vfd_enc = vfd; in s5p_mfc_probe()1422 ret = video_register_device(dev->vfd_enc, VFL_TYPE_VIDEO, 0); in s5p_mfc_probe()1428 "encoder registered as /dev/video%d\n", dev->vfd_enc->num); in s5p_mfc_probe()1438 video_device_release(dev->vfd_enc); in s5p_mfc_probe()1480 video_unregister_device(dev->vfd_enc); in s5p_mfc_remove()