Lines Matching refs:security_state
81 u_register_t get_scr_el3_from_routing_model(uint32_t security_state) in get_scr_el3_from_routing_model() argument
85 assert(sec_state_is_valid(security_state)); in get_scr_el3_from_routing_model()
86 scr_el3 = intr_type_descs[INTR_TYPE_NS].scr_el3[security_state]; in get_scr_el3_from_routing_model()
87 scr_el3 |= intr_type_descs[INTR_TYPE_S_EL1].scr_el3[security_state]; in get_scr_el3_from_routing_model()
88 scr_el3 |= intr_type_descs[INTR_TYPE_EL3].scr_el3[security_state]; in get_scr_el3_from_routing_model()
100 uint32_t security_state) in set_scr_el3_from_rm() argument
104 flag = get_interrupt_rm_flag(interrupt_type_flags, security_state); in set_scr_el3_from_rm()
105 bit_pos = plat_interrupt_type_to_line(type, security_state); in set_scr_el3_from_rm()
106 intr_type_descs[type].scr_el3[security_state] = (u_register_t)flag << bit_pos; in set_scr_el3_from_rm()
113 if (cm_get_context(security_state) != NULL) in set_scr_el3_from_rm()
114 cm_write_scr_el3_bit(security_state, bit_pos, flag); in set_scr_el3_from_rm()
149 int disable_intr_rm_local(uint32_t type, uint32_t security_state) in disable_intr_rm_local() argument
155 flag = get_interrupt_rm_flag(INTR_DEFAULT_RM, security_state); in disable_intr_rm_local()
157 bit_pos = plat_interrupt_type_to_line(type, security_state); in disable_intr_rm_local()
158 cm_write_scr_el3_bit(security_state, bit_pos, flag); in disable_intr_rm_local()
167 int enable_intr_rm_local(uint32_t type, uint32_t security_state) in enable_intr_rm_local() argument
174 security_state); in enable_intr_rm_local()
176 bit_pos = plat_interrupt_type_to_line(type, security_state); in enable_intr_rm_local()
177 cm_write_scr_el3_bit(security_state, bit_pos, flag); in enable_intr_rm_local()