Home
last modified time | relevance | path

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

/linux-6.15/drivers/media/platform/mediatek/vcodec/decoder/
H A Dmtk_vcodec_dec_drv.c356 struct video_device *vfd_dec; in mtk_vcodec_probe() local
423 vfd_dec = video_device_alloc(); in mtk_vcodec_probe()
424 if (!vfd_dec) { in mtk_vcodec_probe()
429 vfd_dec->fops = &mtk_vcodec_fops; in mtk_vcodec_probe()
432 vfd_dec->lock = &dev->dev_mutex; in mtk_vcodec_probe()
434 vfd_dec->vfl_dir = VFL_DIR_M2M; in mtk_vcodec_probe()
438 snprintf(vfd_dec->name, sizeof(vfd_dec->name), "%s", in mtk_vcodec_probe()
440 video_set_drvdata(vfd_dec, dev); in mtk_vcodec_probe()
441 dev->vfd_dec = vfd_dec; in mtk_vcodec_probe()
517 video_unregister_device(vfd_dec); in mtk_vcodec_probe()
[all …]
H A Dmtk_vcodec_dec_drv.h268 struct video_device *vfd_dec; member
/linux-6.15/drivers/media/platform/samsung/s5p-mfc/
H A Ds5p_mfc.c812 if (vdev == dev->vfd_dec) { in s5p_mfc_open()
868 if (vdev == dev->vfd_dec) { in s5p_mfc_open()
895 if (vdev == dev->vfd_dec) { in s5p_mfc_open()
1373 dev->vfd_dec = vfd; in s5p_mfc_probe()
1401 ret = video_register_device(dev->vfd_dec, VFL_TYPE_VIDEO, 0); in s5p_mfc_probe()
1407 "decoder registered as /dev/video%d\n", dev->vfd_dec->num); in s5p_mfc_probe()
1422 video_unregister_device(dev->vfd_dec); in s5p_mfc_probe()
1423 dev->vfd_dec = NULL; in s5p_mfc_probe()
1427 video_device_release(dev->vfd_dec); in s5p_mfc_probe()
1468 video_unregister_device(dev->vfd_dec); in s5p_mfc_remove()
H A Ds5p_mfc_common.h306 struct video_device *vfd_dec; member
H A Ds5p_mfc_dec.c304 strscpy(cap->card, dev->vfd_dec->name, sizeof(cap->card)); in vidioc_querycap()