Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/platform/mtk-vcodec/
Dmtk_vcodec_dec_drv.c237 struct video_device *vfd_dec; in mtk_vcodec_probe() local
311 vfd_dec = video_device_alloc(); in mtk_vcodec_probe()
312 if (!vfd_dec) { in mtk_vcodec_probe()
317 vfd_dec->fops = &mtk_vcodec_fops; in mtk_vcodec_probe()
318 vfd_dec->ioctl_ops = &mtk_vdec_ioctl_ops; in mtk_vcodec_probe()
319 vfd_dec->release = video_device_release; in mtk_vcodec_probe()
320 vfd_dec->lock = &dev->dev_mutex; in mtk_vcodec_probe()
321 vfd_dec->v4l2_dev = &dev->v4l2_dev; in mtk_vcodec_probe()
322 vfd_dec->vfl_dir = VFL_DIR_M2M; in mtk_vcodec_probe()
323 vfd_dec->device_caps = V4L2_CAP_VIDEO_M2M_MPLANE | in mtk_vcodec_probe()
[all …]
Dmtk_vcodec_drv.h345 struct video_device *vfd_dec; member
/Linux-v4.19/drivers/media/platform/s5p-mfc/
Ds5p_mfc.c794 if (vdev == dev->vfd_dec) { in s5p_mfc_open()
850 if (vdev == dev->vfd_dec) { in s5p_mfc_open()
877 if (vdev == dev->vfd_dec) { in s5p_mfc_open()
1346 dev->vfd_dec = vfd; in s5p_mfc_probe()
1373 ret = video_register_device(dev->vfd_dec, VFL_TYPE_GRABBER, 0); in s5p_mfc_probe()
1379 "decoder registered as /dev/video%d\n", dev->vfd_dec->num); in s5p_mfc_probe()
1394 video_unregister_device(dev->vfd_dec); in s5p_mfc_probe()
1398 video_device_release(dev->vfd_dec); in s5p_mfc_probe()
1439 video_unregister_device(dev->vfd_dec); in s5p_mfc_remove()
1441 video_device_release(dev->vfd_dec); in s5p_mfc_remove()
Ds5p_mfc_common.h304 struct video_device *vfd_dec; member
Ds5p_mfc_dec.c275 strlcpy(cap->card, dev->vfd_dec->name, sizeof(cap->card)); in vidioc_querycap()