Home
last modified time | relevance | path

Searched refs:MTK_LOCAL_PSTATE_WIDTH (Results 1 – 3 of 3) sorted by relevance

/external/arm-trusted-firmware/plat/mediatek/mt8173/include/
Dmt8173_def.h111 #define MTK_LOCAL_PSTATE_WIDTH 4 macro
112 #define MTK_LOCAL_PSTATE_MASK ((1 << MTK_LOCAL_PSTATE_WIDTH) - 1)
130 (((lvl1_state) << MTK_LOCAL_PSTATE_WIDTH) | \
136 (((lvl2_state) << (MTK_LOCAL_PSTATE_WIDTH * 2)) | \
/external/arm-trusted-firmware/plat/mediatek/mt8183/
Dplat_pm.c46 #define MTK_LOCAL_PSTATE_WIDTH 4 macro
47 #define MTK_LOCAL_PSTATE_MASK ((1 << MTK_LOCAL_PSTATE_WIDTH) - 1)
67 (((lvl1_state) << MTK_LOCAL_PSTATE_WIDTH) | \
73 (((lvl2_state) << (MTK_LOCAL_PSTATE_WIDTH * 2)) | \
473 state_id >>= MTK_LOCAL_PSTATE_WIDTH; in plat_mtk_validate_power_state()
/external/arm-trusted-firmware/plat/mediatek/mt8173/
Dplat_pm.c536 state_id >>= MTK_LOCAL_PSTATE_WIDTH; in plat_validate_power_state()