/hal_espressif-latest/components/heap/ |
D | heap_caps.c | 30 static void *heap_caps_realloc_base( void *ptr, size_t size, uint32_t caps ); 31 static void *heap_caps_calloc_base( size_t n, size_t size, uint32_t caps ); 32 static void *heap_caps_malloc_base( size_t size, uint32_t caps ); 53 HEAP_IRAM_ATTR static void fmt_abort_str(char dest[48], size_t size, uint32_t caps) in fmt_abort_str() argument 58 hex_to_str(sCaps, caps); in fmt_abort_str() 87 …E_ATTR static void heap_caps_alloc_failed(size_t requested_size, uint32_t caps, const char *functi… in heap_caps_alloc_failed() argument 90 alloc_failed_callback(requested_size, caps, function_name); in heap_caps_alloc_failed() 95 fmt_abort_str(buf, requested_size, caps); in heap_caps_alloc_failed() 111 bool heap_caps_match(const heap_t *heap, uint32_t caps) in heap_caps_match() argument 113 return heap->heap != NULL && ((get_all_caps(heap) & caps) == caps); in heap_caps_match() [all …]
|
D | heap_caps_linux.c | 31 static void heap_caps_alloc_failed(size_t requested_size, uint32_t caps, const char *function_name) in heap_caps_alloc_failed() argument 34 alloc_failed_callback(requested_size, caps, function_name); in heap_caps_alloc_failed() 45 static void *heap_caps_malloc_base( size_t size, uint32_t caps) in heap_caps_malloc_base() argument 51 heap_caps_alloc_failed(size, caps, __func__); in heap_caps_malloc_base() 57 void *heap_caps_malloc( size_t size, uint32_t caps) in heap_caps_malloc() argument 59 return heap_caps_malloc_base(size, caps); in heap_caps_malloc() 81 static void *heap_caps_realloc_base( void *ptr, size_t size, uint32_t caps) in heap_caps_realloc_base() argument 86 heap_caps_alloc_failed(size, caps, __func__); in heap_caps_realloc_base() 92 void *heap_caps_realloc( void *ptr, size_t size, uint32_t caps) in heap_caps_realloc() argument 94 return heap_caps_realloc_base(ptr, size, caps); in heap_caps_realloc() [all …]
|
D | heap_caps_init.c | 101 memcpy(heap->caps, type->caps, sizeof(heap->caps)); in heap_caps_init() 161 const uint32_t *caps = soc_memory_types[region->type].caps; in heap_caps_add_region() local 162 return heap_caps_add_region_with_caps(caps, start, end); in heap_caps_add_region() 207 esp_err_t heap_caps_add_region_with_caps(const uint32_t caps[], intptr_t start, intptr_t end) in heap_caps_add_region_with_caps() argument 210 if (caps == NULL || start == 0 || end == 0 || end <= start) { in heap_caps_add_region_with_caps() 229 memcpy(p_new->caps, caps, sizeof(p_new->caps)); in heap_caps_add_region_with_caps()
|
D | heap_private.h | 27 …uint32_t caps[SOC_MEMORY_TYPE_NO_PRIOS]; ///< Capabilities for the type of memory in this heap (as… member 43 bool heap_caps_match(const heap_t *heap, uint32_t caps); 53 all_caps |= heap->caps[prio]; in get_all_caps()
|
D | heap_task_info.c | 52 uint32_t caps = get_all_caps(reg); in heap_caps_get_per_task_info() local 55 if ((caps & params->mask[type]) == params->caps[type]) { in heap_caps_get_per_task_info()
|
/hal_espressif-latest/zephyr/port/heap/ |
D | heap_caps_zephyr.c | 38 static void heap_caps_alloc_failed(size_t requested_size, uint32_t caps, const char *function_name) in heap_caps_alloc_failed() argument 41 alloc_failed_callback(requested_size, caps, function_name); in heap_caps_alloc_failed() 52 static void *heap_caps_malloc_base( size_t size, uint32_t caps) in heap_caps_malloc_base() argument 58 heap_caps_alloc_failed(size, caps, __func__); in heap_caps_malloc_base() 64 void *heap_caps_malloc( size_t size, uint32_t caps) in heap_caps_malloc() argument 66 return heap_caps_malloc_base(size, caps); in heap_caps_malloc() 86 static void *heap_caps_realloc_base( void *ptr, size_t size, uint32_t caps) in heap_caps_realloc_base() argument 91 heap_caps_alloc_failed(size, caps, __func__); in heap_caps_realloc_base() 97 void *heap_caps_realloc( void *ptr, size_t size, uint32_t caps) in heap_caps_realloc() argument 99 return heap_caps_realloc_base(ptr, size, caps); in heap_caps_realloc() [all …]
|
/hal_espressif-latest/components/heap/include/ |
D | esp_heap_caps.h | 54 typedef void (*esp_alloc_failed_hook_t) (size_t size, uint32_t caps, const char * function_name); 72 …ute__((weak)) HEAP_IRAM_ATTR void esp_heap_trace_alloc_hook(void* ptr, size_t size, uint32_t caps); 94 void *heap_caps_malloc(size_t size, uint32_t caps); 125 void *heap_caps_realloc( void *ptr, size_t size, uint32_t caps); 141 void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps); 164 void *heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps); 181 void *heap_caps_calloc(size_t n, size_t size, uint32_t caps); 195 size_t heap_caps_get_total_size(uint32_t caps); 211 size_t heap_caps_get_free_size( uint32_t caps ); 229 size_t heap_caps_get_minimum_free_size( uint32_t caps ); [all …]
|
D | heap_trace.inc | 84 void *__real_heap_caps_malloc(size_t size, uint32_t caps); 89 static HEAP_IRAM_ATTR __attribute__((noinline)) void *trace_malloc(size_t size, uint32_t caps, trac… 95 p = __real_heap_caps_malloc(size, caps); 122 void * __real_heap_caps_realloc(void *p, size_t size, uint32_t caps); 125 …ttribute__((noinline)) void *trace_realloc(void *p, size_t size, uint32_t caps, trace_malloc_mode_… 136 r = __real_heap_caps_realloc(p, size, caps); 182 HEAP_IRAM_ATTR void *__wrap_heap_caps_malloc(size_t size, uint32_t caps) 184 return trace_malloc(size, caps, TRACE_MALLOC_CAPS); 189 HEAP_IRAM_ATTR void *__wrap_heap_caps_realloc(void *p, size_t size, uint32_t caps) 191 return trace_realloc(p, size, caps, TRACE_MALLOC_CAPS);
|
D | esp_heap_caps_init.h | 106 esp_err_t heap_caps_add_region_with_caps(const uint32_t caps[], intptr_t start, intptr_t end);
|
/hal_espressif-latest/components/esp_mm/ |
D | esp_mmu_map.c | 76 int caps; //caps of this block, `mmu_mem_caps_t` member 93 int caps; //caps of this region, `mmu_mem_caps_t` member 192 hw_mem_regions[i].caps = g_mmu_mem_regions[i].caps; in esp_mmu_map_init() 211 if ((b->free_head == a->end) && (b->caps == a->caps) && (b->targets == a->targets)) { in esp_mmu_map_init() 212 a->caps = MEM_REGION_MERGED; in esp_mmu_map_init() 225 if(hw_mem_regions[i].caps != MEM_REGION_MERGED) { in esp_mmu_map_init() 235 if (hw_mem_regions[i].caps == MEM_REGION_MERGED) { in esp_mmu_map_init() 251 static esp_err_t s_mem_caps_check(mmu_mem_caps_t caps) in s_mem_caps_check() argument 253 if (caps & MMU_MEM_CAP_EXEC) { in s_mem_caps_check() 254 if ((caps & MMU_MEM_CAP_8BIT) || (caps & MMU_MEM_CAP_WRITE)) { in s_mem_caps_check() [all …]
|
D | ext_mem_layout.h | 26 uint32_t caps; //vaddr capabilities member
|
/hal_espressif-latest/components/spi_flash/ |
D | flash_mmap.c | 60 mmu_mem_caps_t caps = 0; in spi_flash_mmap() local 80 caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_32BIT; in spi_flash_mmap() 82 caps = MMU_MEM_CAP_READ | MMU_MEM_CAP_8BIT; in spi_flash_mmap() 84 … ret = esp_mmu_map(src_addr, size, MMU_TARGET_FLASH0, caps, ESP_MMU_MMAP_FLAG_PADDR_SHARED, &ptr); in spi_flash_mmap() 165 mmu_mem_caps_t caps = 0; in spi_flash_mmap_pages() local 194 caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_32BIT; in spi_flash_mmap_pages() 196 caps = MMU_MEM_CAP_READ | MMU_MEM_CAP_8BIT; in spi_flash_mmap_pages() 200 …ret = esp_mmu_map(paddr_blocks[i][0], paddr_blocks[i][1], MMU_TARGET_FLASH0, caps, ESP_MMU_MMAP_FL… in spi_flash_mmap_pages() 270 mmu_mem_caps_t caps = 0; in spi_flash_mmap_get_free_pages() local 272 caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_32BIT; in spi_flash_mmap_get_free_pages() [all …]
|
/hal_espressif-latest/components/esp_mm/port/esp32s2/ |
D | ext_mem_layout.c | 24 .caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_32BIT, 32 .caps = MMU_MEM_CAP_READ | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT, 40 .caps = MMU_MEM_CAP_READ | MMU_MEM_CAP_WRITE | MMU_MEM_CAP_32BIT, 48 .caps = MMU_MEM_CAP_READ | MMU_MEM_CAP_WRITE | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT, 56 .caps = MMU_MEM_CAP_READ | MMU_MEM_CAP_WRITE | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT,
|
/hal_espressif-latest/components/esp_mm/port/esp32/ |
D | ext_mem_layout.c | 24 .caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_32BIT, 32 .caps = MMU_MEM_CAP_READ | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT, 40 .caps = MMU_MEM_CAP_READ | MMU_MEM_CAP_WRITE | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT,
|
/hal_espressif-latest/components/esp_mm/include/ |
D | esp_mmu_map.h | 87 …esp_paddr_t paddr_start, size_t size, mmu_target_t target, mmu_mem_caps_t caps, int flags, void **… 114 esp_err_t esp_mmu_map_get_max_consecutive_free_block_size(mmu_mem_caps_t caps, mmu_target_t target,…
|
/hal_espressif-latest/components/esp_mm/include/esp_private/ |
D | esp_mmu_map_private.h | 45 esp_err_t esp_mmu_map_reserve_block_with_caps(size_t size, mmu_mem_caps_t caps, mmu_target_t target…
|
/hal_espressif-latest/components/esp_mm/port/esp32c2/ |
D | ext_mem_layout.c | 23 .caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_READ | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT,
|
/hal_espressif-latest/components/spi_flash/esp32c6/ |
D | Kconfig.soc_caps.in | 2 # This file is auto-generated from SoC caps
|
/hal_espressif-latest/components/spi_flash/esp32h2/ |
D | Kconfig.soc_caps.in | 2 # This file is auto-generated from SoC caps
|
/hal_espressif-latest/components/esp_mm/port/esp32c3/ |
D | ext_mem_layout.c | 23 .caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_READ | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT,
|
/hal_espressif-latest/components/esp_mm/port/esp32c6/ |
D | ext_mem_layout.c | 24 .caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_READ | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT,
|
/hal_espressif-latest/components/esp_mm/port/esp32h2/ |
D | ext_mem_layout.c | 24 .caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_READ | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_8BIT,
|
/hal_espressif-latest/zephyr/port/include/ |
D | esp_heap_caps_adapter.h | 54 void *heap_caps_malloc(size_t size, uint32_t caps);
|
/hal_espressif-latest/components/esp_mm/port/esp32s3/ |
D | ext_mem_layout.c | 23 ….caps = MMU_MEM_CAP_EXEC | MMU_MEM_CAP_READ | MMU_MEM_CAP_WRITE | MMU_MEM_CAP_32BIT | MMU_MEM_CAP_…
|
/hal_espressif-latest/components/soc/linux/include/soc/ |
D | Kconfig.soc_caps.in | 2 # This file is auto-generated from SoC caps
|