Searched refs:vdec_pdata (Results 1 – 14 of 14) sorted by relevance
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/ |
D | mtk_vcodec_dec_drv.c | 31 switch (dev->vdec_pdata->hw_arch) { in mtk_vcodec_get_hw_count() 37 mtk_v4l2_vdec_err(ctx, "hw arch %d not supported", dev->vdec_pdata->hw_arch); in mtk_vcodec_get_hw_count() 169 if (dev->vdec_pdata->is_subdev_supported) in mtk_vcodec_init_dec_resources() 213 if (ctx->dev->vdec_pdata->is_subdev_supported) { in fops_vcodec_open() 232 ret = dev->vdec_pdata->ctrls_setup(ctx); in fops_vcodec_open() 269 ctx->dev->vdec_pdata->init_vdec_params(ctx); in fops_vcodec_open() 344 dev->vdec_pdata = of_device_get_match_data(&pdev->dev); in mtk_vcodec_probe() 367 if (IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch)) { in mtk_vcodec_probe() 429 if (dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_probe() 450 if (dev->vdec_pdata->uses_stateless_api) { in mtk_vcodec_probe() [all …]
|
D | mtk_vcodec_dec_pm.c | 115 if (vdec_dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_dec_enable_irq() 133 if (vdec_dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_dec_disable_irq() 180 if (vdec_dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_dec_get_pm() 236 if (IS_VDEC_LAT_ARCH(ctx->dev->vdec_pdata->hw_arch) && in mtk_vcodec_dec_enable_hardware() 256 if (IS_VDEC_LAT_ARCH(ctx->dev->vdec_pdata->hw_arch) && in mtk_vcodec_dec_disable_hardware()
|
D | mtk_vcodec_dec.c | 38 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in mtk_vdec_get_cap_fmt() 154 INIT_WORK(&ctx->decode_work, ctx->dev->vdec_pdata->worker); in mtk_vcodec_dec_set_default_params() 164 q_data->fmt = ctx->dev->vdec_pdata->default_out_fmt; in mtk_vcodec_dec_set_default_params() 176 q_data->fmt = ctx->dev->vdec_pdata->default_cap_fmt; in mtk_vcodec_dec_set_default_params() 250 if (ctx->dev->vdec_pdata->uses_stateless_api) in vidioc_vdec_subscribe_evt() 332 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in vidioc_try_fmt_vid_cap_mplane() 350 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in vidioc_try_fmt_vid_out_mplane() 446 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in vidioc_vdec_s_fmt() 572 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in vidioc_enum_framesizes() 604 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in vidioc_enum_fmt() [all …]
|
D | vdec_drv_if.c | 19 enum mtk_vdec_hw_arch hw_arch = ctx->dev->vdec_pdata->hw_arch; in vdec_if_init() 24 if (!ctx->dev->vdec_pdata->is_subdev_supported) { in vdec_if_init()
|
D | mtk_vcodec_dec_stateless.c | 346 if (!IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch) || in mtk_vdec_worker() 434 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in mtk_vdec_s_ctrl() 577 const struct mtk_vcodec_dec_pdata *pdata = dev->vdec_pdata; in mtk_vcodec_add_formats() 673 if (!ctx->dev->vdec_pdata->is_subdev_supported) in mtk_init_vdec_params()
|
D | vdec_vpu_if.c | 159 if (vpu->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_LAT_SINGLE_CORE) { in vcodec_vpu_send_msg() 216 if (vpu->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_LAT_SINGLE_CORE) { in vpu_dec_init()
|
D | mtk_vcodec_dec_drv.h | 264 const struct mtk_vcodec_dec_pdata *vdec_pdata; member
|
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/common/ |
D | mtk_vcodec_util.c | 110 if (vdec_dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_set_curr_ctx() 133 if (vdec_dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_get_curr_ctx()
|
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
D | vdec_h264_req_multi_if.c | 470 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx); in vdec_h264_slice_core_decode() 536 ctx->dev->vdec_pdata->cap_to_disp(ctx, !!err, lat_buf->src_buf_req); in vdec_h264_slice_core_decode() 726 fb = inst->ctx->dev->vdec_pdata->get_cap_buffer(inst->ctx); in vdec_h264_slice_single_decode() 813 if (inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_h264_slice_decode()
|
D | vdec_hevc_req_multi_if.c | 806 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx); in vdec_hevc_slice_setup_core_buffer() 964 ctx->dev->vdec_pdata->cap_to_disp(ctx, !!err, lat_buf->src_buf_req); in vdec_hevc_slice_core_decode() 1059 if (!h_vdec || inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_hevc_slice_decode()
|
D | vdec_vp9_req_lat_if.c | 1928 if (instance->ctx->dev->vdec_pdata->hw_arch != MTK_VDEC_PURE_SINGLE_CORE) in vdec_vp9_slice_flush() 1997 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx); in vdec_vp9_slice_single_decode() 2127 if (instance->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_vp9_slice_decode() 2155 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx); in vdec_vp9_slice_core_decode() 2196 ctx->dev->vdec_pdata->cap_to_disp(ctx, 0, lat_buf->src_buf_req); in vdec_vp9_slice_core_decode() 2206 ctx->dev->vdec_pdata->cap_to_disp(ctx, 1, lat_buf->src_buf_req); in vdec_vp9_slice_core_decode()
|
D | vdec_vp8_req_if.c | 337 fb = inst->ctx->dev->vdec_pdata->get_cap_buffer(inst->ctx); in vdec_vp8_slice_decode()
|
D | vdec_h264_req_if.c | 349 fb = inst->ctx->dev->vdec_pdata->get_cap_buffer(inst->ctx); in vdec_h264_slice_decode()
|
D | vdec_av1_req_lat_if.c | 2150 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx); in vdec_av1_slice_core_decode() 2190 ctx->dev->vdec_pdata->cap_to_disp(ctx, 0, lat_buf->src_buf_req); in vdec_av1_slice_core_decode() 2199 ctx->dev->vdec_pdata->cap_to_disp(ctx, 1, lat_buf->src_buf_req); in vdec_av1_slice_core_decode()
|