Lines Matching refs:security_state
20 void *cm_get_context(uint32_t security_state) in cm_get_context() argument
22 assert(security_state <= NON_SECURE); in cm_get_context()
24 return get_cpu_data(cpu_context[security_state]); in cm_get_context()
31 void cm_set_context(void *context, uint32_t security_state) in cm_set_context() argument
33 assert(security_state <= NON_SECURE); in cm_set_context()
35 set_cpu_data(cpu_context[security_state], context); in cm_set_context()
45 unsigned int security_state) in cm_get_context_by_index() argument
47 assert(sec_state_is_valid(security_state)); in cm_get_context_by_index()
49 return get_cpu_data_by_index(cpu_idx, cpu_context[security_state]); in cm_get_context_by_index()
57 unsigned int security_state) in cm_set_context_by_index() argument
59 assert(sec_state_is_valid(security_state)); in cm_set_context_by_index()
61 set_cpu_data_by_index(cpu_idx, cpu_context[security_state], context); in cm_set_context_by_index()