Home
last modified time | relevance | path

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

123

/Zephyr-latest/arch/arm/core/cortex_m/
Dscb.c58 int num_regions = in z_arm_clear_arm_mpu_config() local
61 for (i = 0; i < num_regions; i++) { in z_arm_clear_arm_mpu_config()
70 int num_regions = FSL_FEATURE_SYSMPU_DESCRIPTOR_COUNT; in z_arm_clear_arm_mpu_config() local
75 for (i = 1; i < num_regions; i++) { in z_arm_clear_arm_mpu_config()
/Zephyr-latest/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()
261 int r_index = num_regions - mpu_config.num_regions; in arc_mpu_init()
269 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 …]
/Zephyr-latest/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-latest/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-latest/arch/arm/core/mpu/
Darm_mpu.c102 size_t num_regions; in mpu_configure_regions_from_dt() local
104 num_regions = mem_attr_get_regions(&region); in mpu_configure_regions_from_dt()
106 for (size_t idx = 0; idx < num_regions; idx++) { in mpu_configure_regions_from_dt()
415 if (mpu_config.num_regions > get_num_regions()) { in z_arm_mpu_init()
424 mpu_config.num_regions, in z_arm_mpu_init()
455 for (r_index = 0U; r_index < mpu_config.num_regions; r_index++) { in z_arm_mpu_init()
460 static_regions_num = mpu_config.num_regions; in z_arm_mpu_init()
Dnxp_mpu.c161 size_t num_regions; in mpu_configure_regions_from_dt() local
163 num_regions = mem_attr_get_regions(&region); in mpu_configure_regions_from_dt()
165 for (size_t idx = 0; idx < num_regions; idx++) { in mpu_configure_regions_from_dt()
674 if (mpu_config.num_regions > get_num_regions()) { in z_arm_mpu_init()
683 mpu_config.num_regions, in z_arm_mpu_init()
697 for (r_index = 0U; r_index < mpu_config.num_regions; r_index++) { in z_arm_mpu_init()
702 static_regions_num = mpu_config.num_regions; in z_arm_mpu_init()
Darm_mpu_regions.c37 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-latest/subsys/mem_mgmt/
Dmem_attr_heap.c110 size_t num_regions; in mem_attr_heap_pool_init() local
118 num_regions = mem_attr_get_regions(&regions); in mem_attr_heap_pool_init()
120 for (size_t idx = 0; idx < num_regions; idx++) { in mem_attr_heap_pool_init()
/Zephyr-latest/soc/nxp/imxrt/
Dmpu_regions.c33 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-latest/soc/nuvoton/npcx/npcx7/
Dmpu_regions.c24 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-latest/soc/arm/fvp_aemv8a/
Dmmu_regions.c24 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-latest/soc/xen/
Dmmu_regions.c24 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-latest/soc/arm/qemu_cortex_a53/
Dmmu_regions.c25 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-latest/soc/arm/qemu_virt_arm64/
Dmmu_regions.c25 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-latest/soc/brcm/bcm2711/
Dmmu_regions.c23 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-latest/soc/brcm/bcm2712/
Dmmu_regions.c24 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-latest/soc/nxp/kinetis/k2x/
Dnxp_mpu_regions.c56 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-latest/soc/nxp/kinetis/k6x/
Dnxp_mpu_regions.c56 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-latest/soc/nxp/kinetis/k8x/
Dnxp_mpu_regions.c53 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-latest/soc/nxp/kinetis/ke1xf/
Dnxp_mpu_regions.c53 .num_regions = ARRAY_SIZE(mpu_regions),
/Zephyr-latest/soc/nxp/layerscape/ls1046a/
Dmmu_regions.c24 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-latest/soc/renesas/rcar/rcar_gen3/
Dmmu_regions.c23 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-latest/soc/renesas/rcar/rcar_gen4/a55/
Dmmu_regions.c23 .num_regions = ARRAY_SIZE(mmu_regions),
/Zephyr-latest/soc/rockchip/rk3399/
Dmmu_regions.c24 .num_regions = ARRAY_SIZE(mmu_regions),

123