Home
last modified time | relevance | path

Searched refs:fn_mask (Results 1 – 2 of 2) sorted by relevance

/rk3399_ARM-atf/plat/mediatek/lib/pm/armv8_2/
H A Dpwr_ctrl.c62 unsigned int fn_mask; member
68 .fn_mask = MTK_CPUPM_FN_MASK_DEFAULT,
72 #define IS_CPUIDLE_FN_ENABLE(x) ((mtk_cpu_pwr.ops != NULL) && ((mtk_cpu_pwr.fn_mask & x) != 0))
73 #define IS_CPUSMP_FN_ENABLE(x) ((mtk_cpu_pwr.smp != NULL) && ((mtk_cpu_pwr.fn_mask & x) != 0))
497 mtk_cpu_pwr.fn_mask |= fns; in register_cpu_pm_ops()
533 mtk_cpu_pwr.fn_mask |= fns; in register_cpu_smp_ops()
/rk3399_ARM-atf/plat/mediatek/lib/pm/armv9_0/
H A Dpwr_ctrl.c74 unsigned int fn_mask; member
80 .fn_mask = MTK_CPU_PWR_FN_MASK_DEFAULT,
84 #define IS_CPUIDLE_FN_ENABLE(x) (imtk_cpu_pwr.ops && (imtk_cpu_pwr.fn_mask & (x)))
85 #define IS_CPUSMP_FN_ENABLE(x) (imtk_cpu_pwr.smp && (imtk_cpu_pwr.fn_mask & (x)))
480 imtk_cpu_pwr.fn_mask |= fns; in register_cpu_pm_ops()
516 imtk_cpu_pwr.fn_mask |= fns; in register_cpu_smp_ops()