/Zephyr-Core-3.7.0/drivers/pcie/host/ |
D | pcie_ecam.c | 42 } regions[PCIE_REGION_MAX]; member 89 data->regions[PCIE_REGION_IO].bus_start = cfg->ranges[i].pcie_bus_addr; in pcie_ecam_init() 90 data->regions[PCIE_REGION_IO].phys_start = cfg->ranges[i].host_map_addr; in pcie_ecam_init() 91 data->regions[PCIE_REGION_IO].size = cfg->ranges[i].map_length; in pcie_ecam_init() 93 if (data->regions[PCIE_REGION_IO].bus_start < 0x1000) { in pcie_ecam_init() 94 data->regions[PCIE_REGION_IO].allocation_offset = 0x1000; in pcie_ecam_init() 98 data->regions[PCIE_REGION_MEM].bus_start = cfg->ranges[i].pcie_bus_addr; in pcie_ecam_init() 99 data->regions[PCIE_REGION_MEM].phys_start = cfg->ranges[i].host_map_addr; in pcie_ecam_init() 100 data->regions[PCIE_REGION_MEM].size = cfg->ranges[i].map_length; in pcie_ecam_init() 102 if (data->regions[PCIE_REGION_MEM].bus_start < 0x1000) { in pcie_ecam_init() [all …]
|
/Zephyr-Core-3.7.0/tests/drivers/mm/sys_mm_drv_api/src/ |
D | main.c | 11 const struct sys_mm_drv_region *regions, *region; in ZTEST() local 13 regions = sys_mm_drv_query_memory_regions(); in ZTEST() 14 zassert_not_null(regions, NULL); in ZTEST() 16 SYS_MM_DRV_MEMORY_REGION_FOREACH(regions, region) in ZTEST() 21 sys_mm_drv_query_memory_regions_free(regions); in ZTEST()
|
/Zephyr-Core-3.7.0/arch/arm/core/mpu/ |
D | arm_mpu_v8_internal.h | 508 regions[], uint8_t regions_num, uint8_t start_reg_index, 520 regions[], uint8_t regions_num, uint8_t start_reg_index, in mpu_configure_regions_and_partition() 527 if (regions[i].size == 0U) { in mpu_configure_regions_and_partition() 533 (!mpu_partition_is_valid(®ions[i]))) { in mpu_configure_regions_and_partition() 542 get_region_index(regions[i].start, regions[i].size); in mpu_configure_regions_and_partition() 557 uint32_t reg_last = regions[i].start + regions[i].size - 1; in mpu_configure_regions_and_partition() 559 if ((regions[i].start == u_reg_base) && in mpu_configure_regions_and_partition() 567 mpu_configure_region(u_reg_index, ®ions[i]); in mpu_configure_regions_and_partition() 568 } else if (regions[i].start == u_reg_base) { in mpu_configure_regions_and_partition() 574 regions[i].start + regions[i].size); in mpu_configure_regions_and_partition() [all …]
|
D | Kconfig | 26 The NXP MPU as well as the ARMv8-M MPU do not require MPU regions 29 The ARMv8-M MPU requires the active MPU regions be non-overlapping. 31 memory map when programming dynamic memory regions (e.g. PRIV stack 57 symbol to guarantee minimum size and alignment of MPU regions. 91 SoC definition should likely provide its own custom MPU regions. 100 and sub-regions(ARMv7-M) to cover this feature.
|
/Zephyr-Core-3.7.0/tests/boards/nrf/dmm/src/ |
D | main.c | 44 struct dmm_test_region regions[DMM_TEST_REGION_COUNT]; member 65 memcpy(fixture.regions, dmm_test_regions, sizeof(dmm_test_regions)); in test_setup() 157 dmm_check_input_buffer(&fixture->regions[DMM_TEST_REGION_CACHE], &fixture->fill_value, in ZTEST_USER_F() 165 dmm_check_input_buffer(&fixture->regions[DMM_TEST_REGION_CACHE], &fixture->fill_value, in ZTEST_USER_F() 173 dmm_check_output_buffer(&fixture->regions[DMM_TEST_REGION_CACHE], &fixture->fill_value, in ZTEST_USER_F() 181 dmm_check_output_buffer(&fixture->regions[DMM_TEST_REGION_CACHE], &fixture->fill_value, in ZTEST_USER_F() 189 dmm_check_input_buffer(&fixture->regions[DMM_TEST_REGION_NOCACHE], &fixture->fill_value, in ZTEST_USER_F() 197 dmm_check_input_buffer(&fixture->regions[DMM_TEST_REGION_NOCACHE], &fixture->fill_value, in ZTEST_USER_F() 205 dmm_check_output_buffer(&fixture->regions[DMM_TEST_REGION_NOCACHE], &fixture->fill_value, in ZTEST_USER_F() 213 dmm_check_output_buffer(&fixture->regions[DMM_TEST_REGION_NOCACHE], &fixture->fill_value, in ZTEST_USER_F()
|
/Zephyr-Core-3.7.0/tests/drivers/coredump/coredump_api/boards/ |
D | qemu_riscv32.overlay | 13 memory-regions = <0x85000000 0x4>, 22 memory-regions = <0x86000000 0xC>; 29 memory-regions = <0x0 0x4>;
|
/Zephyr-Core-3.7.0/tests/drivers/spi/spi_controller_peripheral/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 9 memory-regions = <&cpuapp_dma_region>; 13 memory-regions = <&cpuapp_dma_region>;
|
D | nrf54h20dk_nrf54h20_cpurad.overlay | 14 memory-regions = <&cpurad_dma_region>; 18 memory-regions = <&cpurad_dma_region>;
|
D | nrf54h20dk_nrf54h20_cpuapp_fast.overlay | 56 memory-regions = <&dma_fast_region>; 72 memory-regions = <&cpuapp_dma_region>;
|
/Zephyr-Core-3.7.0/subsys/mem_mgmt/ |
D | mem_attr_heap.c | 108 const struct mem_attr_region_t *regions; in mem_attr_heap_pool_init() local 118 num_regions = mem_attr_get_regions(®ions); in mem_attr_heap_pool_init() 123 sw_attr = DT_MEM_SW_ATTR_GET(regions[idx].dt_attr); in mem_attr_heap_pool_init() 130 if (ma_heap_add(®ions[idx], sw_attr)) { in mem_attr_heap_pool_init()
|
D | Kconfig | 8 Enable a small library to manage the memory regions defined in the DT 10 time an array of the memory regions defined in the DT that can be 19 allocate memory from DeviceTree defined memory regions.
|
/Zephyr-Core-3.7.0/include/zephyr/drivers/mm/ |
D | system_mm.h | 424 #define SYS_MM_DRV_MEMORY_REGION_FOREACH(regions, iter) \ argument 425 for (iter = regions; iter->size; iter++) 450 void sys_mm_drv_query_memory_regions_free(const struct sys_mm_drv_region *regions);
|
/Zephyr-Core-3.7.0/doc/services/mem_mgmt/ |
D | index.rst | 6 It is possible in the devicetree to mark the memory regions with attributes by 36 regions out of devicetree defined memory regions, for example: 50 The conventional and recommended way to deal and manage with memory regions 53 list of memory regions and their attributes are compiled in a user-accessible 55 and act on regions and attributes (see next section for more details). 108 For example we can define several memory regions with different attributes and 110 allocate memory from those regions: 139 The user can then dynamically carve memory out of those regions using the 158 When several regions are marked with the same attributes, the memory is allocated: 160 1. From the regions where the ``zephyr,memory-attr`` property has the requested [all …]
|
/Zephyr-Core-3.7.0/tests/boards/nrf/dmm/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 47 memory-regions = <&cpuapp_dma_region>; 57 memory-regions = <&dma_fast_region>;
|
/Zephyr-Core-3.7.0/tests/drivers/uart/uart_elementary/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp_dual_uart.overlay | 28 memory-regions = <&cpuapp_dma_region>; 57 memory-regions = <&cpuapp_dma_region>;
|
/Zephyr-Core-3.7.0/doc/hardware/peripherals/ |
D | coredump.rst | 11 any dump. And the driver exposes an API to add/remove dump memory regions at runtime. 12 A COREDUMP_TYPE_CALLBACK device requires exactly one entry in the memory-regions
|
/Zephyr-Core-3.7.0/tests/boards/nrf/i2c/i2c_slave/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 49 memory-regions = <&cpuapp_dma_region>; 62 memory-regions = <&cpuapp_dma_region>;
|
/Zephyr-Core-3.7.0/tests/drivers/uart/uart_async_api/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 6 memory-regions = <&cpuapp_dma_region>;
|
D | nrf54h20dk_nrf54h20_cpurad.overlay | 6 memory-regions = <&cpurad_dma_region>;
|
/Zephyr-Core-3.7.0/doc/kernel/usermode/ |
D | mpu_stack_objects.rst | 16 requirements for MPU regions. This is discussed in the memory placement 24 The MPU provides a fixed number of regions. Each region contains information 44 or even interactions between overlapping regions. 53 Some ARM MPUs use start and end addresses to define MPU regions and both the 59 logically OR regions to determine enforcement policy.
|
/Zephyr-Core-3.7.0/tests/drivers/uart/uart_mix_fifo_poll/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 6 memory-regions = <&cpuapp_dma_region>;
|
D | nrf54h20dk_nrf54h20_cpurad.overlay | 11 memory-regions = <&cpurad_dma_region>;
|
/Zephyr-Core-3.7.0/doc/kernel/memory_management/ |
D | shared_multi_heap.rst | 7 manage a set of reserved memory regions with different capabilities / 10 All the different regions can be added at run-time to the shared multi-heap 17 using :c:func:`shared_multi_heap_pool_init()` and add the memory regions to 19 needed information for the regions from the DT.
|
/Zephyr-Core-3.7.0/tests/drivers/spi/spi_error_cases/boards/ |
D | nrf54h20dk_nrf54h20_cpuapp.overlay | 63 memory-regions = <&cpuapp_dma_region>; 73 memory-regions = <&cpuapp_dma_region>;
|
D | nrf54h20dk_nrf54h20_cpuapp_fast.overlay | 56 memory-regions = <&dma_fast_region>; 72 memory-regions = <&cpuapp_dma_region>;
|