Searched refs:plat_local_state (Results 1 – 1 of 1) sorted by relevance
248 static inline int is_local_state_run(unsigned int plat_local_state) in is_local_state_run() argument250 return (plat_local_state == PSCI_LOCAL_STATE_RUN) ? 1 : 0; in is_local_state_run()256 static inline int is_local_state_retn(unsigned int plat_local_state) in is_local_state_retn() argument258 return ((plat_local_state > PSCI_LOCAL_STATE_RUN) && in is_local_state_retn()259 (plat_local_state <= PLAT_MAX_RET_STATE)) ? 1 : 0; in is_local_state_retn()265 static inline int is_local_state_off(unsigned int plat_local_state) in is_local_state_off() argument267 return ((plat_local_state > PLAT_MAX_RET_STATE) && in is_local_state_off()268 (plat_local_state <= PLAT_MAX_OFF_STATE)) ? 1 : 0; in is_local_state_off()