Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/arch/arc/core/mpu/
Darc_mpu_v2_internal.h148 uint32_t r_ap; in _is_user_accessible_region() local
150 r_ap = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDP0 + r_index * 2U); in _is_user_accessible_region()
152 r_ap &= AUX_MPU_RDP_ATTR_MASK; in _is_user_accessible_region()
155 return ((r_ap & (AUX_MPU_ATTR_UW | AUX_MPU_ATTR_KW)) == in _is_user_accessible_region()
159 return ((r_ap & (AUX_MPU_ATTR_UR | AUX_MPU_ATTR_KR)) == in _is_user_accessible_region()
Darc_mpu_v6_internal.h187 uint32_t r_ap; in _is_user_accessible_region() local
192 r_ap = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RDP0 + index); in _is_user_accessible_region()
194 r_ap &= AUX_MPU_RDP_ATTR_MASK; in _is_user_accessible_region()
197 return ((r_ap & (AUX_MPU_ATTR_UW | AUX_MPU_ATTR_KW)) == in _is_user_accessible_region()
201 return ((r_ap & (AUX_MPU_ATTR_UR | AUX_MPU_ATTR_KR)) == in _is_user_accessible_region()
Darc_mpu_v4_internal.h231 uint32_t r_ap; in _is_user_accessible_region() local
234 r_ap = z_arc_v2_aux_reg_read(_ARC_V2_MPU_RPER); in _is_user_accessible_region()
235 r_ap &= AUX_MPU_RPER_ATTR_MASK; in _is_user_accessible_region()
238 return ((r_ap & (AUX_MPU_ATTR_UW | AUX_MPU_ATTR_KW)) == in _is_user_accessible_region()
242 return ((r_ap & (AUX_MPU_ATTR_UR | AUX_MPU_ATTR_KR)) == in _is_user_accessible_region()
/Zephyr-Core-2.7.6/arch/arm/core/aarch32/mpu/
Darm_mpu_v7_internal.h158 uint32_t r_ap = get_region_ap(r_index); in is_user_accessible_region() local
162 return r_ap == P_RW_U_RW; in is_user_accessible_region()
165 return r_ap & MPU_USER_READ_ACCESSIBLE_Msk; in is_user_accessible_region()
Dnxp_mpu.c527 uint32_t r_ap = SYSMPU->WORD[r_index][2]; in is_user_accessible_region() local
530 return (r_ap & MPU_REGION_WRITE) == MPU_REGION_WRITE; in is_user_accessible_region()
533 return (r_ap & MPU_REGION_READ) == MPU_REGION_READ; in is_user_accessible_region()