Lines Matching refs:security_state
20 void *cm_get_context(uint32_t security_state) in cm_get_context() argument
22 assert(sec_state_is_valid(security_state)); in cm_get_context()
24 return get_cpu_data(cpu_context[get_cpu_context_index(security_state)]); in cm_get_context()
31 void cm_set_context(void *context, uint32_t security_state) in cm_set_context() argument
33 assert(sec_state_is_valid(security_state)); in cm_set_context()
35 set_cpu_data(cpu_context[get_cpu_context_index(security_state)], in cm_set_context()
46 unsigned int security_state) in cm_get_context_by_index() argument
48 assert(sec_state_is_valid(security_state)); in cm_get_context_by_index()
51 cpu_context[get_cpu_context_index(security_state)]); in cm_get_context_by_index()
59 unsigned int security_state) in cm_set_context_by_index() argument
61 assert(sec_state_is_valid(security_state)); in cm_set_context_by_index()
64 cpu_context[get_cpu_context_index(security_state)], in cm_set_context_by_index()