/Zephyr-Core-3.5.0/arch/arm/core/cortex_m/ |
D | scb.c | 57 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/ |
D | arc_mpu_common_internal.h | 244 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()
|
D | arc_mpu_v4_internal.h | 391 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 …]
|
D | arc_mpu_v2_internal.h | 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()
|
/Zephyr-Core-3.5.0/tests/subsys/mem_mgmt/mem_attr/src/ |
D | main.c | 14 size_t num_regions; in ZTEST() local 16 num_regions = mem_attr_get_regions(®ion); 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/ |
D | mm_drv_ti_rat.c | 68 __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/ |
D | arm_mpu.c | 98 size_t num_regions; in mpu_configure_regions_from_dt() local 100 num_regions = mem_attr_get_regions(®ion); 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()
|
D | nxp_mpu.c | 159 size_t num_regions; in mpu_configure_regions_from_dt() local 161 num_regions = mem_attr_get_regions(®ion); 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/ |
D | mpu_regions.c | 33 .num_regions = ARRAY_SIZE(mpu_regions),
|
/Zephyr-Core-3.5.0/soc/arm/nuvoton_npcx/npcx7/ |
D | mpu_regions.c | 24 .num_regions = ARRAY_SIZE(mpu_regions),
|
/Zephyr-Core-3.5.0/soc/arm/common/cortex_m/ |
D | arm_mpu_regions.c | 34 .num_regions = ARRAY_SIZE(mpu_regions),
|
/Zephyr-Core-3.5.0/soc/arm64/arm/fvp_aemv8a/ |
D | mmu_regions.c | 24 .num_regions = ARRAY_SIZE(mmu_regions),
|
/Zephyr-Core-3.5.0/soc/arm64/bcm2711/ |
D | mmu_regions.c | 23 .num_regions = ARRAY_SIZE(mmu_regions),
|
/Zephyr-Core-3.5.0/soc/arm64/qemu_cortex_a53/ |
D | mmu_regions.c | 25 .num_regions = ARRAY_SIZE(mmu_regions),
|
/Zephyr-Core-3.5.0/soc/arm64/rockchip/rk3399/ |
D | mmu_regions.c | 24 .num_regions = ARRAY_SIZE(mmu_regions),
|
/Zephyr-Core-3.5.0/soc/arm64/ti_k3/am6x/ |
D | mmu_regions.c | 25 .num_regions = ARRAY_SIZE(mmu_regions),
|
/Zephyr-Core-3.5.0/soc/arm64/xenvm/ |
D | mmu_regions.c | 24 .num_regions = ARRAY_SIZE(mmu_regions),
|
/Zephyr-Core-3.5.0/soc/arm/nxp_kinetis/k6x/ |
D | nxp_mpu_regions.c | 56 .num_regions = ARRAY_SIZE(mpu_regions),
|
/Zephyr-Core-3.5.0/soc/arm64/nxp_layerscape/ls1046a/ |
D | mmu_regions.c | 24 .num_regions = ARRAY_SIZE(mmu_regions),
|
/Zephyr-Core-3.5.0/soc/arm64/qemu_virt_arm64/ |
D | mmu_regions.c | 25 .num_regions = ARRAY_SIZE(mmu_regions),
|
/Zephyr-Core-3.5.0/soc/arm64/renesas_rcar/gen3/ |
D | mmu_regions.c | 23 .num_regions = ARRAY_SIZE(mmu_regions),
|
/Zephyr-Core-3.5.0/soc/arm/nxp_kinetis/k8x/ |
D | nxp_mpu_regions.c | 53 .num_regions = ARRAY_SIZE(mpu_regions),
|
/Zephyr-Core-3.5.0/soc/arm/nxp_kinetis/ke1xf/ |
D | nxp_mpu_regions.c | 53 .num_regions = ARRAY_SIZE(mpu_regions),
|
/Zephyr-Core-3.5.0/soc/arm/nxp_s32/s32k/ |
D | mpu_regions.c | 41 .num_regions = ARRAY_SIZE(mpu_regions),
|
/Zephyr-Core-3.5.0/soc/arm64/bcm_vk/viper/ |
D | mmu_regions.c | 32 .num_regions = ARRAY_SIZE(mmu_regions),
|