Home
last modified time | relevance | path

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

/Linux-v6.6/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
113 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()
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()
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()
Dmtk_vcodec_dec_stateless.c346 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,
Dvdec_vpu_if.c159 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()
Dmtk_vcodec_dec_stateful.c622 .hw_arch = MTK_VDEC_PURE_SINGLE_CORE,
/Linux-v6.6/drivers/media/platform/mediatek/vcodec/decoder/vdec/
Dvdec_h264_req_multi_if.c813 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.c1928 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()