Searched refs:vdec_pdata (Results 1 – 12 of 12) sorted by relevance
30 switch (dev->vdec_pdata->hw_arch) { in mtk_vcodec_get_hw_count()36 mtk_v4l2_err("hw arch %d not supported", dev->vdec_pdata->hw_arch); in mtk_vcodec_get_hw_count()114 if (dev->vdec_pdata->is_subdev_supported) in mtk_vcodec_init_dec_resources()158 if (ctx->dev->vdec_pdata->is_subdev_supported) { in fops_vcodec_open()177 ret = dev->vdec_pdata->ctrls_setup(ctx); in fops_vcodec_open()215 ctx->dev->vdec_pdata->init_vdec_params(ctx); in fops_vcodec_open()289 dev->vdec_pdata = of_device_get_match_data(&pdev->dev); in mtk_vcodec_probe()312 if (IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch)) { in mtk_vcodec_probe()385 if (dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_probe()406 if (dev->vdec_pdata->uses_stateless_api) { in mtk_vcodec_probe()[all …]
118 if (vdec_dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_dec_enable_irq()136 if (vdec_dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_dec_disable_irq()183 if (vdec_dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_dec_get_pm()239 if (IS_VDEC_LAT_ARCH(ctx->dev->vdec_pdata->hw_arch) && in mtk_vcodec_dec_enable_hardware()259 if (IS_VDEC_LAT_ARCH(ctx->dev->vdec_pdata->hw_arch) && in mtk_vcodec_dec_disable_hardware()
40 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in mtk_vdec_get_cap_fmt()156 INIT_WORK(&ctx->decode_work, ctx->dev->vdec_pdata->worker); in mtk_vcodec_dec_set_default_params()166 q_data->fmt = ctx->dev->vdec_pdata->default_out_fmt; in mtk_vcodec_dec_set_default_params()178 q_data->fmt = ctx->dev->vdec_pdata->default_cap_fmt; in mtk_vcodec_dec_set_default_params()254 if (ctx->dev->vdec_pdata->uses_stateless_api) in vidioc_vdec_subscribe_evt()337 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in vidioc_try_fmt_vid_cap_mplane()355 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in vidioc_try_fmt_vid_out_mplane()451 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in vidioc_vdec_s_fmt()575 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in vidioc_enum_framesizes()610 const struct mtk_vcodec_dec_pdata *dec_pdata = ctx->dev->vdec_pdata; in vidioc_enum_fmt()[all …]
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()
95 if (vdec_dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_set_curr_ctx()118 if (vdec_dev->vdec_pdata->is_subdev_supported) { in mtk_vcodec_get_curr_ctx()
140 if (vpu->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_LAT_SINGLE_CORE) { in vcodec_vpu_send_msg()198 if (vpu->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_LAT_SINGLE_CORE) { in vpu_dec_init()
255 if (!IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch) || in mtk_vdec_worker()350 const struct mtk_vcodec_dec_pdata *pdata = dev->vdec_pdata; in mtk_vcodec_add_formats()428 if (!ctx->dev->vdec_pdata->is_subdev_supported) in mtk_init_vdec_params()
487 const struct mtk_vcodec_dec_pdata *vdec_pdata; member
473 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx); in vdec_h264_slice_core_decode()541 ctx->dev->vdec_pdata->cap_to_disp(ctx, !!err, lat_buf->src_buf_req); in vdec_h264_slice_core_decode()731 fb = inst->ctx->dev->vdec_pdata->get_cap_buffer(inst->ctx); in vdec_h264_slice_single_decode()820 if (inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_h264_slice_decode()
1935 if (instance->ctx->dev->vdec_pdata->hw_arch != MTK_VDEC_PURE_SINGLE_CORE) in vdec_vp9_slice_flush()2006 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx); in vdec_vp9_slice_single_decode()2136 if (instance->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_vp9_slice_decode()2164 fb = ctx->dev->vdec_pdata->get_cap_buffer(ctx); in vdec_vp9_slice_core_decode()2205 ctx->dev->vdec_pdata->cap_to_disp(ctx, 0, lat_buf->src_buf_req); in vdec_vp9_slice_core_decode()2215 ctx->dev->vdec_pdata->cap_to_disp(ctx, 1, lat_buf->src_buf_req); in vdec_vp9_slice_core_decode()
338 fb = inst->ctx->dev->vdec_pdata->get_cap_buffer(inst->ctx); in vdec_vp8_slice_decode()
354 fb = inst->ctx->dev->vdec_pdata->get_cap_buffer(inst->ctx); in vdec_h264_slice_decode()