Lines Matching defs:state
25 static int pwr_state_prompt(unsigned int cpu, const psci_power_state_t *state)
30 static int pwr_state_reflect(unsigned int cpu, const psci_power_state_t *state)
34 if (IS_SYSTEM_SUSPEND_STATE(state)) {
41 static int pwr_cpu_pwron(unsigned int cpu, const psci_power_state_t *state)
46 static int pwr_cpu_pwrdwn(unsigned int cpu, const psci_power_state_t *state)
54 static int pwr_cluster_pwron(unsigned int cpu, const psci_power_state_t *state)
59 static int pwr_cluster_pwrdwn(unsigned int cpu, const psci_power_state_t *state)
64 static int pwr_mcusys_pwron(unsigned int cpu, const psci_power_state_t *state)
66 if (!IS_MCUSYS_OFF_STATE(state) || (plat_mt_lp_cpu_rc < 0)) {
76 const psci_power_state_t *state)
78 int state_id = state->pwr_domain_state[MTK_AFFLVL_MCUSYS];
80 if (!IS_MCUSYS_OFF_STATE(state) || (plat_mt_lp_cpu_rc < 0)) {
90 static int pwr_mcusys_pwrdwn(unsigned int cpu, const psci_power_state_t *state)
92 int state_id = state->pwr_domain_state[MTK_AFFLVL_MCUSYS];
94 if (!IS_MCUSYS_OFF_STATE(state)) {