Home
last modified time | relevance | path

Searched refs:num_regions (Results 1 – 25 of 59) sorted by relevance

123

/Zephyr-Core-3.5.0/arch/arm/core/cortex_m/
Dscb.c57 int num_regions = in z_arm_clear_arm_mpu_config() local
60 for (i = 0; i < num_regions; i++) { in z_arm_clear_arm_mpu_config()
69 int num_regions = FSL_FEATURE_SYSMPU_DESCRIPTOR_COUNT; in z_arm_clear_arm_mpu_config() local
74 for (i = 1; i < num_regions; i++) { in z_arm_clear_arm_mpu_config()
/Zephyr-Core-3.5.0/arch/arc/core/mpu/
Darc_mpu_common_internal.h244 uint32_t num_regions = get_num_regions(); in arc_mpu_init() local
246 if (mpu_config.num_regions > num_regions) { in arc_mpu_init()
248 mpu_config.num_regions, num_regions); in arc_mpu_init()
262 int r_index = num_regions - mpu_config.num_regions; in arc_mpu_init()
270 for (uint32_t i = 0U; i < mpu_config.num_regions; i++) { in arc_mpu_init()
Darc_mpu_v4_internal.h391 uint32_t num_regions = get_num_regions(); in _mpu_reset_dynamic_regions() local
393 for (i = static_regions_num; i < num_regions; i++) { in _mpu_reset_dynamic_regions()
661 uint32_t num_regions; in arc_core_mpu_configure_mem_domain() local
679 num_regions = get_num_regions(); in arc_core_mpu_configure_mem_domain()
682 while (num_partitions && region_index < num_regions) { in arc_core_mpu_configure_mem_domain()
694 while (region_index < num_regions) { in arc_core_mpu_configure_mem_domain()
819 uint32_t num_regions; in arc_mpu_init() local
822 num_regions = get_num_regions(); in arc_mpu_init()
825 if (mpu_config.num_regions > num_regions) { in arc_mpu_init()
828 mpu_config.num_regions, num_regions); in arc_mpu_init()
[all …]
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()
/Zephyr-Core-3.5.0/tests/subsys/mem_mgmt/mem_attr/src/
Dmain.c14 size_t num_regions; in ZTEST() local
16 num_regions = mem_attr_get_regions(&region); in ZTEST()
17 zassert_equal(num_regions, 2, "No regions returned"); in ZTEST()
22 for (size_t idx = 0; idx < num_regions; idx++) { in ZTEST()
/Zephyr-Core-3.5.0/drivers/mm/
Dmm_drv_ti_rat.c68 __ASSERT(translate_config.num_regions < ADDR_TRANSLATE_MAX_REGIONS, in address_trans_init()
71 for (i = 0; i < translate_config.num_regions; i++) { in address_trans_init()
91 translate_config.num_regions = translate_regions; in sys_mm_drv_ti_rat_init()
108 __ASSERT(translate_config.num_regions < ADDR_TRANSLATE_MAX_REGIONS, in sys_mm_drv_page_phys_get()
113 for (regionId = 0; regionId < translate_config.num_regions; regionId++) { in sys_mm_drv_page_phys_get()
/Zephyr-Core-3.5.0/arch/arm/core/mpu/
Darm_mpu.c98 size_t num_regions; in mpu_configure_regions_from_dt() local
100 num_regions = mem_attr_get_regions(&region); in mpu_configure_regions_from_dt()
102 for (size_t idx = 0; idx < num_regions; idx++) { in mpu_configure_regions_from_dt()
413 if (mpu_config.num_regions > get_num_regions()) { in z_arm_mpu_init()
422 mpu_config.num_regions, in z_arm_mpu_init()
453 for (r_index = 0U; r_index < mpu_config.num_regions; r_index++) { in z_arm_mpu_init()
458 static_regions_num = mpu_config.num_regions; in z_arm_mpu_init()
Dnxp_mpu.c159 size_t num_regions; in mpu_configure_regions_from_dt() local
161 num_regions = mem_attr_get_regions(&region); in mpu_configure_regions_from_dt()
163 for (size_t idx = 0; idx < num_regions; idx++) { in mpu_configure_regions_from_dt()
672 if (mpu_config.num_regions > get_num_regions()) { in z_arm_mpu_init()
681 mpu_config.num_regions, in z_arm_mpu_init()
695 for (r_index = 0U; r_index < mpu_config.num_regions; r_index++) { in z_arm_mpu_init()
700 static_regions_num = mpu_config.num_regions; in z_arm_mpu_init()
/Zephyr-Core-3.5.0/soc/arm/nxp_imx/rt/
Dmpu_regions.c33 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-Core-3.5.0/soc/arm/nuvoton_npcx/npcx7/
Dmpu_regions.c24 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-Core-3.5.0/soc/arm/common/cortex_m/
Darm_mpu_regions.c34 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-Core-3.5.0/soc/arm64/arm/fvp_aemv8a/
Dmmu_regions.c24 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-Core-3.5.0/soc/arm64/bcm2711/
Dmmu_regions.c23 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-Core-3.5.0/soc/arm64/qemu_cortex_a53/
Dmmu_regions.c25 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-Core-3.5.0/soc/arm64/rockchip/rk3399/
Dmmu_regions.c24 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-Core-3.5.0/soc/arm64/ti_k3/am6x/
Dmmu_regions.c25 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-Core-3.5.0/soc/arm64/xenvm/
Dmmu_regions.c24 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-Core-3.5.0/soc/arm/nxp_kinetis/k6x/
Dnxp_mpu_regions.c56 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-Core-3.5.0/soc/arm64/nxp_layerscape/ls1046a/
Dmmu_regions.c24 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-Core-3.5.0/soc/arm64/qemu_virt_arm64/
Dmmu_regions.c25 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-Core-3.5.0/soc/arm64/renesas_rcar/gen3/
Dmmu_regions.c23 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-Core-3.5.0/soc/arm/nxp_kinetis/k8x/
Dnxp_mpu_regions.c53 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-Core-3.5.0/soc/arm/nxp_kinetis/ke1xf/
Dnxp_mpu_regions.c53 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-Core-3.5.0/soc/arm/nxp_s32/s32k/
Dmpu_regions.c41 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-Core-3.5.0/soc/arm64/bcm_vk/viper/
Dmmu_regions.c32 .num_regions = ARRAY_SIZE(mmu_regions),

123