Home
last modified time | relevance | path

Searched refs:vfd_enc (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.c237 struct video_device *vfd_enc; in mtk_vcodec_probe() local
314 vfd_enc = video_device_alloc(); in mtk_vcodec_probe()
315 if (!vfd_enc) { in mtk_vcodec_probe()
324 vfd_enc->v4l2_dev = &dev->v4l2_dev; in mtk_vcodec_probe()
325 vfd_enc->vfl_dir = VFL_DIR_M2M; in mtk_vcodec_probe()
329 snprintf(vfd_enc->name, sizeof(vfd_enc->name), "%s", in mtk_vcodec_probe()
331 video_set_drvdata(vfd_enc, dev); in mtk_vcodec_probe()
332 dev->vfd_enc = vfd_enc; in mtk_vcodec_probe()
369 video_unregister_device(vfd_enc); in mtk_vcodec_probe()
465 if (dev->vfd_enc) in mtk_vcodec_enc_remove()
[all …]
H A Dmtk_vcodec_enc_drv.h193 struct video_device *vfd_enc; member
/openbmc/linux/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c816 } else if (vdev == dev->vfd_enc) { in s5p_mfc_open()
865 } else if (vdev == dev->vfd_enc) { in s5p_mfc_open()
892 } else if (vdev == dev->vfd_enc) { in s5p_mfc_open()
1384 dev->vfd_enc = vfd; in s5p_mfc_probe()
1402 ret = video_register_device(dev->vfd_enc, VFL_TYPE_VIDEO, 0); in s5p_mfc_probe()
1408 "encoder registered as /dev/video%d\n", dev->vfd_enc->num); in s5p_mfc_probe()
1418 video_device_release(dev->vfd_enc); in s5p_mfc_probe()
1460 video_unregister_device(dev->vfd_enc); in s5p_mfc_remove()
H A Ds5p_mfc_common.h305 struct video_device *vfd_enc; member
H A Ds5p_mfc_enc.c1319 strscpy(cap->card, dev->vfd_enc->name, sizeof(cap->card)); in vidioc_querycap()