Home
last modified time | relevance | path

Searched refs:vfd_enc (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/platform/mtk-vcodec/
H A Dmtk_vcodec_enc_drv.c264 struct video_device *vfd_enc; in mtk_vcodec_probe() local
375 vfd_enc = video_device_alloc(); in mtk_vcodec_probe()
376 if (!vfd_enc) { in mtk_vcodec_probe()
381 vfd_enc->fops = &mtk_vcodec_fops; in mtk_vcodec_probe()
382 vfd_enc->ioctl_ops = &mtk_venc_ioctl_ops; in mtk_vcodec_probe()
383 vfd_enc->release = video_device_release; in mtk_vcodec_probe()
384 vfd_enc->lock = &dev->dev_mutex; in mtk_vcodec_probe()
385 vfd_enc->v4l2_dev = &dev->v4l2_dev; in mtk_vcodec_probe()
386 vfd_enc->vfl_dir = VFL_DIR_M2M; in mtk_vcodec_probe()
387 vfd_enc in mtk_vcodec_probe()
[all...]
H A Dmtk_vcodec_drv.h341 * @vfd_enc: Video device for encoder.
376 struct video_device *vfd_enc; member
/kernel/linux/linux-6.6/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.c233 struct video_device *vfd_enc; in mtk_vcodec_probe() local
309 vfd_enc = video_device_alloc(); in mtk_vcodec_probe()
310 if (!vfd_enc) { in mtk_vcodec_probe()
315 vfd_enc->fops = &mtk_vcodec_fops; in mtk_vcodec_probe()
316 vfd_enc->ioctl_ops = &mtk_venc_ioctl_ops; in mtk_vcodec_probe()
317 vfd_enc->release = video_device_release; in mtk_vcodec_probe()
318 vfd_enc->lock = &dev->dev_mutex; in mtk_vcodec_probe()
319 vfd_enc->v4l2_dev = &dev->v4l2_dev; in mtk_vcodec_probe()
320 vfd_enc->vfl_dir = VFL_DIR_M2M; in mtk_vcodec_probe()
321 vfd_enc in mtk_vcodec_probe()
[all...]
H A Dmtk_vcodec_enc_drv.h166 * @vfd_enc: Video device for encoder.
192 struct video_device *vfd_enc; member
/kernel/linux/linux-5.10/drivers/media/platform/s5p-mfc/
H A Ds5p_mfc.c801 } else if (vdev == dev->vfd_enc) { in s5p_mfc_open()
850 } else if (vdev == dev->vfd_enc) { in s5p_mfc_open()
877 } else if (vdev == dev->vfd_enc) { in s5p_mfc_open()
1377 dev->vfd_enc = vfd; in s5p_mfc_probe()
1395 ret = video_register_device(dev->vfd_enc, VFL_TYPE_VIDEO, 0); in s5p_mfc_probe()
1401 "encoder registered as /dev/video%d\n", dev->vfd_enc->num); in s5p_mfc_probe()
1410 video_device_release(dev->vfd_enc); in s5p_mfc_probe()
1452 video_unregister_device(dev->vfd_enc); in s5p_mfc_remove()
1454 video_device_release(dev->vfd_enc); in s5p_mfc_remove()
H A Ds5p_mfc_common.h258 * @vfd_enc: video device for encoding
301 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()
/kernel/linux/linux-6.6/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.h258 * @vfd_enc: video device for encoding
305 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()

Completed in 15 milliseconds