Searched refs:get_num_regions (Results 1 – 12 of 12) sorted by relevance
47 static inline uint8_t get_num_regions(void) in get_num_regions() function131 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 …]
71 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()
180 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()
721 static inline uint8_t get_num_regions(void) in get_num_regions() function745 for (int i = mpu_reg_index; i < get_num_regions(); i++) { in mpu_configure_dynamic_mpu_regions()
113 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()
96 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()
23 static inline uint8_t get_num_regions(void) in get_num_regions() function
270 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()
130 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()
75 static ALWAYS_INLINE uint8_t get_num_regions(void) in get_num_regions() function280 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()
11 static inline uint8_t get_num_regions(void) in get_num_regions() function