Searched refs:plat_local_state (Results 1 – 1 of 1) sorted by relevance
234 static inline int is_local_state_run(unsigned int plat_local_state) in is_local_state_run() argument236 return (plat_local_state == PSCI_LOCAL_STATE_RUN) ? 1 : 0; in is_local_state_run()242 static inline int is_local_state_retn(unsigned int plat_local_state) in is_local_state_retn() argument244 return ((plat_local_state > PSCI_LOCAL_STATE_RUN) && in is_local_state_retn()245 (plat_local_state <= PLAT_MAX_RET_STATE)) ? 1 : 0; in is_local_state_retn()251 static inline int is_local_state_off(unsigned int plat_local_state) in is_local_state_off() argument253 return ((plat_local_state > PLAT_MAX_RET_STATE) && in is_local_state_off()254 (plat_local_state <= PLAT_MAX_OFF_STATE)) ? 1 : 0; in is_local_state_off()