Lines Matching refs:state_id
53 bool spm_is_valid_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_is_valid_rc_cpu_buck_ldo() argument
56 (void)state_id; in spm_is_valid_rc_cpu_buck_ldo()
61 unsigned int spm_allow_rc_cpu_buck_ldo(int state_id) in spm_allow_rc_cpu_buck_ldo() argument
63 (void)state_id; in spm_allow_rc_cpu_buck_ldo()
68 int spm_run_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_run_rc_cpu_buck_ldo() argument
74 (IS_PLAT_SUSPEND_ID(state_id) ? in spm_run_rc_cpu_buck_ldo()
77 if (IS_PLAT_SUSPEND_ID(state_id)) { in spm_run_rc_cpu_buck_ldo()
78 mt_spm_suspend_enter(state_id, in spm_run_rc_cpu_buck_ldo()
83 mt_spm_idle_generic_enter(state_id, 0U, in spm_run_rc_cpu_buck_ldo()
92 int spm_reset_rc_cpu_buck_ldo(unsigned int cpu, int state_id) in spm_reset_rc_cpu_buck_ldo() argument
99 if (IS_PLAT_SUSPEND_ID(state_id)) { in spm_reset_rc_cpu_buck_ldo()
100 mt_spm_suspend_resume(state_id, MT_SPM_EX_OP_SET_WDT, NULL); in spm_reset_rc_cpu_buck_ldo()
102 mt_spm_idle_generic_resume(state_id, 0U, NULL); in spm_reset_rc_cpu_buck_ldo()