Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dmtk_vcodec_enc_drv.h17 #define MTK_ENC_CTX_IS_EXT(ctx) ((ctx)->dev->venc_pdata->uses_ext)
18 #define MTK_ENC_IOVA_IS_34BIT(ctx) ((ctx)->dev->venc_pdata->uses_34bit)
201 const struct mtk_vcodec_enc_pdata *venc_pdata; member
H A Dmtk_vcodec_enc_drv.c95 core_id = dev->venc_pdata->core_id; in mtk_vcodec_enc_irq_handler()
265 dev->venc_pdata = of_device_get_match_data(&pdev->dev); in mtk_vcodec_probe()
274 dev->reg_base[dev->venc_pdata->core_id] = in mtk_vcodec_probe()
276 if (IS_ERR(dev->reg_base[dev->venc_pdata->core_id])) { in mtk_vcodec_probe()
277 ret = PTR_ERR(dev->reg_base[dev->venc_pdata->core_id]); in mtk_vcodec_probe()
294 dev->enc_irq, ret, dev->venc_pdata->core_id); in mtk_vcodec_probe()
360 dev->venc_pdata->core_id, vfd_enc->num); in mtk_vcodec_probe()
H A Dmtk_vcodec_enc.c168 ctx->dev->venc_pdata); in vidioc_enum_framesizes()
186 fh_to_enc_ctx(priv)->dev->venc_pdata; in vidioc_enum_fmt_vid_cap()
196 fh_to_enc_ctx(priv)->dev->venc_pdata; in vidioc_enum_fmt_vid_out()
437 fmt = &ctx->dev->venc_pdata->capture_formats[0]; in vidioc_venc_s_fmt_cap()
492 fmt = &ctx->dev->venc_pdata->output_formats[0]; in vidioc_venc_s_fmt_out()
565 fmt = &ctx->dev->venc_pdata->capture_formats[0]; in vidioc_try_fmt_vid_cap_mplane()
587 fmt = &ctx->dev->venc_pdata->output_formats[0]; in vidioc_try_fmt_vid_out_mplane()
1281 q_data->fmt = &ctx->dev->venc_pdata->output_formats[0]; in mtk_vcodec_enc_set_default_params()
1310 q_data->fmt = &ctx->dev->venc_pdata->capture_formats[0]; in mtk_vcodec_enc_set_default_params()
1336 ctx->dev->venc_pdata->min_bitrate, in mtk_vcodec_enc_ctrls_setup()
[all …]