Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/platform/mediatek/vcodec/
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_drv.h28 #define IS_VDEC_LAT_ARCH(hw_arch) ((hw_arch) >= MTK_VDEC_LAT_SINGLE_CORE) argument
390 enum mtk_vdec_hw_arch hw_arch; member
Dmtk_vcodec_dec_drv.c30 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()
Dmtk_vcodec_dec_stateless.c255 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,
Dmtk_vcodec_dec_pm.c239 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()
Dvdec_vpu_if.c140 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()
Dmtk_vcodec_dec_stateful.c609 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,
/linux-6.1.9/drivers/media/platform/mediatek/vcodec/vdec/
Dvdec_h264_req_multi_if.c820 if (inst->ctx->dev->vdec_pdata->hw_arch == MTK_VDEC_PURE_SINGLE_CORE) in vdec_h264_slice_decode()
Dvdec_vp9_req_lat_if.c1935 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()