Home
last modified time | relevance | path

Searched refs:venc_pdata (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/drivers/media/platform/mediatek/vcodec/
A Dmtk_vcodec_enc_drv.c97 mtk_v4l2_debug(1, "id=%d coreid:%d", ctx->id, dev->venc_pdata->core_id); in mtk_vcodec_enc_irq_handler()
98 addr = dev->reg_base[dev->venc_pdata->core_id] + in mtk_vcodec_enc_irq_handler()
101 ctx->irq_status = readl(dev->reg_base[dev->venc_pdata->core_id] + in mtk_vcodec_enc_irq_handler()
259 dev->venc_pdata = of_device_get_match_data(&pdev->dev); in mtk_vcodec_probe()
268 dev->reg_base[dev->venc_pdata->core_id] = in mtk_vcodec_probe()
270 if (IS_ERR(dev->reg_base[dev->venc_pdata->core_id])) { in mtk_vcodec_probe()
271 ret = PTR_ERR(dev->reg_base[dev->venc_pdata->core_id]); in mtk_vcodec_probe()
288 dev->enc_irq, ret, dev->venc_pdata->core_id); in mtk_vcodec_probe()
357 dev->venc_pdata->core_id, vfd_enc->num); in mtk_vcodec_probe()
A Dmtk_vcodec_enc.c181 ctx->dev->venc_pdata); in vidioc_enum_framesizes()
199 fh_to_ctx(priv)->dev->venc_pdata; in vidioc_enum_fmt_vid_cap()
209 fh_to_ctx(priv)->dev->venc_pdata; in vidioc_enum_fmt_vid_out()
449 fmt = &ctx->dev->venc_pdata->capture_formats[0]; in vidioc_venc_s_fmt_cap()
504 fmt = &ctx->dev->venc_pdata->output_formats[0]; in vidioc_venc_s_fmt_out()
577 fmt = &ctx->dev->venc_pdata->capture_formats[0]; in vidioc_try_fmt_vid_cap_mplane()
599 fmt = &ctx->dev->venc_pdata->output_formats[0]; in vidioc_try_fmt_vid_out_mplane()
1323 q_data->fmt = &ctx->dev->venc_pdata->output_formats[0]; in mtk_vcodec_enc_set_default_params()
1352 q_data->fmt = &ctx->dev->venc_pdata->capture_formats[0]; in mtk_vcodec_enc_set_default_params()
1378 ctx->dev->venc_pdata->min_bitrate, in mtk_vcodec_enc_ctrls_setup()
[all …]
A Dmtk_vcodec_drv.h421 #define MTK_ENC_CTX_IS_EXT(ctx) ((ctx)->dev->venc_pdata->uses_ext)
422 #define MTK_ENC_IOVA_IS_34BIT(ctx) ((ctx)->dev->venc_pdata->uses_34bit)
488 const struct mtk_vcodec_enc_pdata *venc_pdata; member

Completed in 9 milliseconds