Home
last modified time | relevance | path

Searched refs:sp_ptr (Results 1 – 1 of 1) sorted by relevance

/external/arm-trusted-firmware/services/std_svc/spm_mm/
Dspm_mm_main.c35 void sp_state_set(sp_context_t *sp_ptr, sp_state_t state) in sp_state_set() argument
37 spin_lock(&(sp_ptr->state_lock)); in sp_state_set()
38 sp_ptr->state = state; in sp_state_set()
39 spin_unlock(&(sp_ptr->state_lock)); in sp_state_set()
46 void sp_state_wait_switch(sp_context_t *sp_ptr, sp_state_t from, sp_state_t to) in sp_state_wait_switch() argument
51 spin_lock(&(sp_ptr->state_lock)); in sp_state_wait_switch()
53 if (sp_ptr->state == from) { in sp_state_wait_switch()
54 sp_ptr->state = to; in sp_state_wait_switch()
59 spin_unlock(&(sp_ptr->state_lock)); in sp_state_wait_switch()
67 int sp_state_try_switch(sp_context_t *sp_ptr, sp_state_t from, sp_state_t to) in sp_state_try_switch() argument
[all …]