Searched refs:hw_arch (Results 1 – 9 of 9) 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()
28 #define IS_VDEC_LAT_ARCH(hw_arch) ((hw_arch) >= MTK_VDEC_LAT_SINGLE_CORE) argument390 enum mtk_vdec_hw_arch hw_arch; member
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()312 if (IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch)) { in mtk_vcodec_probe()451 if (IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch)) in mtk_vcodec_probe()
255 if (!IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch) || in mtk_vdec_worker()475 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,493 .hw_arch = MTK_VDEC_LAT_SINGLE_CORE,510 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,
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()
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()
609 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,
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()2136 if (instance->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_vp9_slice_decode()