Home
last modified time | relevance | path

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

/Zephyr-latest/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-latest/arch/arm/core/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()
Darm_mpu_v8_internal.h394 uint32_t r_ap; in is_user_accessible_region() local
398 r_ap = (mpu_get_rbar() & MPU_RBAR_AP_Msk) >> MPU_RBAR_AP_Pos; in is_user_accessible_region()
401 return r_ap == P_RW_U_RW; in is_user_accessible_region()
404 return ((r_ap == P_RW_U_RW) || (r_ap == P_RO_U_RO)); in is_user_accessible_region()
Dnxp_mpu.c593 uint32_t r_ap = SYSMPU->WORD[r_index][2]; in is_user_accessible_region() local
596 return (r_ap & MPU_REGION_WRITE) == MPU_REGION_WRITE; in is_user_accessible_region()
599 return (r_ap & MPU_REGION_READ) == MPU_REGION_READ; in is_user_accessible_region()