Searched refs:region_conf (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.5.0/arch/arm/core/mpu/ |
D | arm_mpu.c | 68 const struct arm_mpu_region *region_conf) in region_allocate_and_init() argument 81 region_init(index, region_conf); in region_allocate_and_init() 103 struct arm_mpu_region region_conf; in mpu_configure_regions_from_dt() local 107 region_conf = _BUILD_REGION_CONF(region[idx], REGION_RAM_ATTR); in mpu_configure_regions_from_dt() 111 region_conf = _BUILD_REGION_CONF(region[idx], REGION_RAM_NOCACHE_ATTR); in mpu_configure_regions_from_dt() 118 region_conf = _BUILD_REGION_CONF(region[idx], REGION_FLASH_ATTR); in mpu_configure_regions_from_dt() 123 region_conf = _BUILD_REGION_CONF(region[idx], REGION_PPB_ATTR); in mpu_configure_regions_from_dt() 128 region_conf = _BUILD_REGION_CONF(region[idx], REGION_IO_ATTR); in mpu_configure_regions_from_dt() 133 region_conf = _BUILD_REGION_CONF(region[idx], REGION_EXTMEM_ATTR); in mpu_configure_regions_from_dt() 145 region_conf.size = size_to_mpu_rasr_size(region[idx].dt_size); in mpu_configure_regions_from_dt() [all …]
|
D | arm_mpu_v7_internal.h | 30 const struct arm_mpu_region *region_conf) in region_init() argument 43 set_region_base_address(region_conf->base & MPU_RBAR_ADDR_Msk); in region_init() 44 set_region_attributes(region_conf->attr.rasr); in region_init() 45 set_region_size(region_conf->size | MPU_RASR_ENABLE_Msk); in region_init() 47 MPU->RBAR = (region_conf->base & MPU_RBAR_ADDR_Msk) in region_init() 49 MPU->RASR = region_conf->attr.rasr | MPU_RASR_ENABLE_Msk; in region_init() 51 index, region_conf->base, region_conf->attr.rasr); in region_init()
|
D | nxp_mpu.c | 85 const struct nxp_mpu_region *region_conf) in region_init() argument 87 uint32_t region_base = region_conf->base; in region_init() 88 uint32_t region_end = region_conf->end; in region_init() 89 uint32_t region_attr = region_conf->attr.attr; in region_init() 128 const struct nxp_mpu_region *region_conf) in region_allocate_and_init() argument 141 region_init(index, region_conf); in region_allocate_and_init() 164 struct nxp_mpu_region region_conf; in mpu_configure_regions_from_dt() local 168 region_conf = _BUILD_REGION_CONF(region[idx], REGION_RAM_ATTR); in mpu_configure_regions_from_dt() 172 region_conf = _BUILD_REGION_CONF(region[idx], REGION_FLASH_ATTR); in mpu_configure_regions_from_dt() 177 region_conf = _BUILD_REGION_CONF(region[idx], REGION_IO_ATTR); in mpu_configure_regions_from_dt() [all …]
|
D | arm_mpu_v8_internal.h | 24 struct arm_mpu_region region_conf; member 159 const struct arm_mpu_region *region_conf) in region_init() argument 165 (region_conf->base & MPU_RBAR_BASE_Msk) in region_init() 166 | (region_conf->attr.rbar & in region_init() 169 (region_conf->attr.r_limit & MPU_RLAR_LIMIT_Msk) in region_init() 170 | ((region_conf->attr.mair_idx << MPU_RLAR_AttrIndx_Pos) in region_init() 176 index, region_conf->base, region_conf->attr.rbar, in region_init() 177 region_conf->attr.mair_idx, region_conf->attr.r_limit); in region_init() 285 struct arm_mpu_region *region_conf) in mpu_region_get_conf() argument 294 mpu_region_get_access_attr(index, ®ion_conf->attr); in mpu_region_get_conf() [all …]
|
/Zephyr-Core-3.5.0/soc/riscv/riscv-privileged/andes_v5/ |
D | pma.c | 125 const struct pma_region *region_conf) in region_init() argument 130 if (region_conf->size == 4) { in region_init() 131 pmaaddr = NA4_ENCODING(region_conf->start); in region_init() 132 pmacfg = region_conf->attr.pmacfg | PMACFG_ETYPE_NA4; in region_init() 134 pmaaddr = NAPOT_ENCODING(region_conf->start, region_conf->size); in region_init() 135 pmacfg = region_conf->attr.pmacfg | PMACFG_ETYPE_NAPOT; in region_init()
|
/Zephyr-Core-3.5.0/arch/arm64/core/cortex_r/ |
D | arm_mpu.c | 179 const struct arm_mpu_region *region_conf) in region_init() argument 181 uint64_t rbar = region_conf->base & MPU_RBAR_BASE_Msk; in region_init() 182 uint64_t rlar = (region_conf->limit - 1) & MPU_RLAR_LIMIT_Msk; in region_init() 184 rbar |= region_conf->attr.rbar & in region_init() 186 rlar |= (region_conf->attr.mair_idx << MPU_RLAR_AttrIndx_Pos) & in region_init() 211 struct arm_mpu_region region_conf; in mpu_configure_regions_from_dt() local 215 region_conf = _BUILD_REGION_CONF(region[idx], REGION_RAM_ATTR); in mpu_configure_regions_from_dt() 219 region_conf = _BUILD_REGION_CONF(region[idx], REGION_RAM_NOCACHE_ATTR); in mpu_configure_regions_from_dt() 226 region_conf = _BUILD_REGION_CONF(region[idx], REGION_FLASH_ATTR); in mpu_configure_regions_from_dt() 231 region_conf = _BUILD_REGION_CONF(region[idx], REGION_IO_ATTR); in mpu_configure_regions_from_dt() [all …]
|
/Zephyr-Core-3.5.0/include/zephyr/arch/arm64/cortex_r/ |
D | arm_mpu.h | 253 struct arm_mpu_region region_conf; member
|