Searched refs:hw_arch (Results 1 – 10 of 10) sorted by relevance
19 enum mtk_vdec_hw_arch hw_arch = ctx->dev->vdec_pdata->hw_arch; in vdec_if_init() local29 ctx->hw_id = IS_VDEC_LAT_ARCH(hw_arch) ? MTK_VDEC_LAT0 : MTK_VDEC_CORE; in vdec_if_init()50 ctx->hw_id = IS_VDEC_LAT_ARCH(hw_arch) ? MTK_VDEC_LAT0 : MTK_VDEC_CORE; in vdec_if_init()
18 #define IS_VDEC_LAT_ARCH(hw_arch) ((hw_arch) >= MTK_VDEC_LAT_SINGLE_CORE) argument113 enum mtk_vdec_hw_arch hw_arch; member
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()367 if (IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch)) { in mtk_vcodec_probe()496 if (IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch)) in mtk_vcodec_probe()
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()
346 if (!IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch) || in mtk_vdec_worker()720 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,738 .hw_arch = MTK_VDEC_LAT_SINGLE_CORE,755 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,
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()
622 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,
813 if (inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_h264_slice_decode()
1059 if (!h_vdec || inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_hevc_slice_decode()
1928 if (instance->ctx->dev->vdec_pdata->hw_arch != MTK_VDEC_PURE_SINGLE_CORE) in vdec_vp9_slice_flush()2127 if (instance->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_vp9_slice_decode()