Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/arch/arm/core/mpu/
Dnxp_mpu.c47 static inline uint8_t get_num_regions(void) in get_num_regions() function
131 if (index > (get_num_regions() - 1)) { in region_allocate_and_init()
420 region_init(get_num_regions()-1, (const struct nxp_mpu_region *) in mpu_configure_dynamic_mpu_regions()
440 for (int i = mpu_reg_index; i < get_num_regions(); i++) { in mpu_configure_dynamic_mpu_regions()
543 uint8_t reg_index = get_num_regions(); in arm_core_mpu_mem_partition_config_update()
545 for (i = static_regions_num; i < get_num_regions(); i++) { in arm_core_mpu_mem_partition_config_update()
566 __ASSERT(reg_index != get_num_regions(), in arm_core_mpu_mem_partition_config_update()
580 return get_num_regions() - static_regions_num; in arm_core_mpu_get_max_available_dyn_regions()
608 for (r_index = 0U; r_index < get_num_regions(); r_index++) { in arm_core_mpu_buffer_validate()
672 if (mpu_config.num_regions > get_num_regions()) { in z_arm_mpu_init()
[all …]
Darm_mpu.c71 if (index > (get_num_regions() - 1U)) { in region_allocate_and_init()
302 uint8_t reg_index = get_num_regions(); in arm_core_mpu_mem_partition_config_update()
304 for (i = get_dyn_region_min_index(); i < get_num_regions(); i++) { in arm_core_mpu_mem_partition_config_update()
325 __ASSERT(reg_index != get_num_regions(), in arm_core_mpu_mem_partition_config_update()
340 return get_num_regions() - static_regions_num; in arm_core_mpu_get_max_available_dyn_regions()
413 if (mpu_config.num_regions > get_num_regions()) { in z_arm_mpu_init()
423 get_num_regions() in z_arm_mpu_init()
428 LOG_DBG("total region count: %d", get_num_regions()); in z_arm_mpu_init()
Darm_mpu_v7_internal.h180 for (r_index = get_num_regions() - 1U; r_index >= 0; r_index--) { in mpu_buffer_validate()
264 for (int i = mpu_reg_index; i < get_num_regions(); i++) { in mpu_configure_dynamic_mpu_regions()
Darm_mpu_v8_internal.h721 static inline uint8_t get_num_regions(void) in get_num_regions() function
745 for (int i = mpu_reg_index; i < get_num_regions(); i++) { in mpu_configure_dynamic_mpu_regions()
/Zephyr-Core-3.5.0/arch/arc/core/mpu/
Darc_mpu_common_internal.h113 if (index >= get_num_regions()) { in arc_core_mpu_region()
218 for (int r_index = 0; r_index < get_num_regions(); r_index++) { in arc_core_mpu_buffer_validate()
244 uint32_t num_regions = get_num_regions(); in arc_mpu_init()
Darc_mpu_v2_internal.h96 return get_num_regions() - mpu_config.num_regions - THREAD_STACK_REGION; in get_region_index_by_type()
104 return get_num_regions() - mpu_config.num_regions - type + 1; in get_region_index_by_type()
Darc_mpu.c23 static inline uint8_t get_num_regions(void) in get_num_regions() function
Darc_mpu_v4_internal.h270 if (dynamic_region_index >= get_num_regions()) { in _dynamic_region_allocate_index()
391 uint32_t num_regions = get_num_regions(); in _mpu_reset_dynamic_regions()
634 if (index >= get_num_regions()) { in arc_core_mpu_region()
679 num_regions = get_num_regions(); in arc_core_mpu_configure_mem_domain()
772 return (get_num_regions() - MPU_REGION_NUM_FOR_THREAD) / 2; in arc_core_mpu_get_max_domain_partition_regions()
774 return get_num_regions() - in arc_core_mpu_get_max_domain_partition_regions()
822 num_regions = get_num_regions(); in arc_mpu_init()
Darc_mpu_v6_internal.h130 return get_num_regions() - mpu_config.num_regions - THREAD_STACK_REGION; in get_region_index_by_type()
138 return get_num_regions() - mpu_config.num_regions - type + 1; in get_region_index_by_type()
/Zephyr-Core-3.5.0/arch/arm64/core/cortex_r/
Darm_mpu.c75 static ALWAYS_INLINE uint8_t get_num_regions(void) in get_num_regions() function
280 if (mpu_config.num_regions > get_num_regions()) { in z_arm64_mm_init()
290 get_num_regions()); in z_arm64_mm_init()
591 if (region_num >= get_num_regions()) { in flush_dynamic_regions_to_mpu()
594 region_num, get_num_regions()); in flush_dynamic_regions_to_mpu()
606 for (size_t i = reg_avail_idx; i < get_num_regions(); i++) { in flush_dynamic_regions_to_mpu()
743 int remaining_regions = get_num_regions() - static_regions_num + 1; in arch_mem_domain_max_partitions_get()
/Zephyr-Core-3.5.0/arch/arm/core/mpu/cortex_a_r/
Darm_mpu_internal.h11 static inline uint8_t get_num_regions(void) in get_num_regions() function
/Zephyr-Core-3.5.0/arch/arm/core/mpu/cortex_m/
Darm_mpu_internal.h11 static inline uint8_t get_num_regions(void) in get_num_regions() function