Home
last modified time | relevance | path

Searched refs:hw_arch (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/
Dvdec_drv_if.c19 enum mtk_vdec_hw_arch hw_arch = ctx->dev->vdec_pdata->hw_arch; in vdec_if_init() local
29 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()
Dmtk_vcodec_dec_drv.h18 #define IS_VDEC_LAT_ARCH(hw_arch) ((hw_arch) >= MTK_VDEC_LAT_SINGLE_CORE) argument
123 enum mtk_vdec_hw_arch hw_arch; member
Dmtk_vcodec_dec_drv.c31 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()
397 if (IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch)) { in mtk_vcodec_probe()
527 if (IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch)) in mtk_vcodec_probe()
Dmtk_vcodec_dec_pm.c236 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()
Dvdec_vpu_if.c161 if (vpu->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_LAT_SINGLE_CORE) { in vcodec_vpu_send_msg()
218 if (vpu->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_LAT_SINGLE_CORE) { in vpu_dec_init()
Dmtk_vcodec_dec_stateless.c375 if (!IS_VDEC_LAT_ARCH(dev->vdec_pdata->hw_arch) || in mtk_vdec_worker()
886 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,
904 .hw_arch = MTK_VDEC_LAT_SINGLE_CORE,
921 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,
Dmtk_vcodec_dec_stateful.c622 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,
/linux-6.12.1/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_h264_req_multi_if.c818 if (inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_h264_slice_decode()
Dvdec_hevc_req_multi_if.c1059 if (!h_vdec || inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_hevc_slice_decode()
Dvdec_vp9_req_lat_if.c1922 if (instance->ctx->dev->vdec_pdata->hw_arch != MTK_VDEC_PURE_SINGLE_CORE) in vdec_vp9_slice_flush()
2121 if (instance->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_vp9_slice_decode()