Searched refs:region_num (Results 1 – 6 of 6) sorted by relevance
/Zephyr-Core-3.5.0/arch/arm/core/mpu/ |
D | arm_core_mpu.c | 207 uint8_t region_num = 0U; in z_arm_configure_dynamic_mpu_regions() local 232 __ASSERT(region_num < _MAX_DYNAMIC_MPU_REGIONS_NUM, in z_arm_configure_dynamic_mpu_regions() 235 dynamic_regions[region_num].start = partition->start; in z_arm_configure_dynamic_mpu_regions() 236 dynamic_regions[region_num].size = partition->size; in z_arm_configure_dynamic_mpu_regions() 237 dynamic_regions[region_num].attr = partition->attr; in z_arm_configure_dynamic_mpu_regions() 239 region_num++; in z_arm_configure_dynamic_mpu_regions() 254 __ASSERT(region_num < _MAX_DYNAMIC_MPU_REGIONS_NUM, in z_arm_configure_dynamic_mpu_regions() 257 dynamic_regions[region_num].start = base; in z_arm_configure_dynamic_mpu_regions() 258 dynamic_regions[region_num].size = size; in z_arm_configure_dynamic_mpu_regions() 259 dynamic_regions[region_num].attr = K_MEM_PARTITION_P_RW_U_RW; in z_arm_configure_dynamic_mpu_regions() [all …]
|
/Zephyr-Core-3.5.0/drivers/mm/ |
D | mm_drv_ti_rat.c | 38 uint16_t region_num, uint32_t enable) in address_trans_set_region() argument 41 uint64_t system_addr = addr_translate_config->region_config[region_num].system_addr; in address_trans_set_region() 42 uint32_t local_addr = addr_translate_config->region_config[region_num].local_addr; in address_trans_set_region() 43 uint32_t size = addr_translate_config->region_config[region_num].size; in address_trans_set_region() 53 sys_write32(0, RAT_CTRL(rat_base_addr, region_num)); in address_trans_set_region() 54 sys_write32(local_addr, RAT_BASE(rat_base_addr, region_num)); in address_trans_set_region() 55 sys_write32(system_addrL, RAT_TRANS_L(rat_base_addr, region_num)); in address_trans_set_region() 56 sys_write32(system_addrH, RAT_TRANS_H(rat_base_addr, region_num)); in address_trans_set_region() 57 sys_write32(RAT_CTRL_W(enable, size), RAT_CTRL(rat_base_addr, region_num)); in address_trans_set_region()
|
/Zephyr-Core-3.5.0/arch/arm64/core/cortex_r/ |
D | arm_mpu.c | 41 uint8_t region_num); 346 static int insert_region(struct dynamic_region_info *dyn_regions, uint8_t region_num, 472 uint8_t region_num, uint64_t base, in get_underlying_region() argument 475 for (int idx = 0; idx < region_num; idx++) { in get_underlying_region() 487 uint8_t region_num) in find_available_region() argument 489 return get_underlying_region(dyn_regions, region_num, 0, 0); in find_available_region() 496 static int _insert_region(struct dynamic_region_info *dyn_regions, uint8_t region_num, in _insert_region() argument 505 tmp_region = find_available_region(dyn_regions, region_num); in _insert_region() 516 static int insert_region(struct dynamic_region_info *dyn_regions, uint8_t region_num, in insert_region() argument 531 u_region = get_underlying_region(dyn_regions, region_num, base, limit); in insert_region() [all …]
|
/Zephyr-Core-3.5.0/arch/arm/core/cortex_m/tz/ |
D | arm_core_tz.c | 144 if ((p_sau_conf->region_num == 0) || in tz_sau_region_configure_enable() 145 (p_sau_conf->region_num > (regions - 1))) { in tz_sau_region_configure_enable() 150 SAU->RNR = p_sau_conf->region_num & SAU_RNR_REGION_Msk; in tz_sau_region_configure_enable()
|
/Zephyr-Core-3.5.0/arch/arm/include/cortex_m/ |
D | tz.h | 231 uint8_t region_num; member
|
/Zephyr-Core-3.5.0/include/zephyr/arch/arm64/ |
D | thread.h | 60 uint8_t region_num; member
|