Home
last modified time | relevance | path

Searched refs:MALLOC_CAP_DEFAULT (Results 1 – 25 of 34) sorted by relevance

12

/hal_espressif-latest/components/heap/port/esp32/
Dmemory_layout.c40 …{ "DRAM", { MALLOC_CAP_8BIT|MALLOC_CAP_DEFAULT, MALLOC_CAP_INTERNAL|MALLOC_CAP_DMA|MALLOC_CAP_32BI…
43 …{ "D/IRAM", { 0, MALLOC_CAP_DMA|MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL|MALLOC_CAP_DEFAULT, MALLOC_CAP…
54 …OC_CAP_PID2|MALLOC_CAP_INTERNAL, MALLOC_CAP_8BIT, MALLOC_CAP_32BIT|MALLOC_CAP_DEFAULT }, false, fa…
55 …OC_CAP_PID3|MALLOC_CAP_INTERNAL, MALLOC_CAP_8BIT, MALLOC_CAP_32BIT|MALLOC_CAP_DEFAULT }, false, fa…
56 …OC_CAP_PID4|MALLOC_CAP_INTERNAL, MALLOC_CAP_8BIT, MALLOC_CAP_32BIT|MALLOC_CAP_DEFAULT }, false, fa…
57 …OC_CAP_PID5|MALLOC_CAP_INTERNAL, MALLOC_CAP_8BIT, MALLOC_CAP_32BIT|MALLOC_CAP_DEFAULT }, false, fa…
58 …OC_CAP_PID6|MALLOC_CAP_INTERNAL, MALLOC_CAP_8BIT, MALLOC_CAP_32BIT|MALLOC_CAP_DEFAULT }, false, fa…
59 …OC_CAP_PID7|MALLOC_CAP_INTERNAL, MALLOC_CAP_8BIT, MALLOC_CAP_32BIT|MALLOC_CAP_DEFAULT }, false, fa…
61 …{ "SPIRAM", { MALLOC_CAP_SPIRAM|MALLOC_CAP_DEFAULT, 0, MALLOC_CAP_8BIT|MALLOC_CAP_32BIT}, false, f…
63 …{ "RTCRAM", { MALLOC_CAP_RTCRAM, MALLOC_CAP_8BIT|MALLOC_CAP_DEFAULT, MALLOC_CAP_INTERNAL|MALLOC_CA…
/hal_espressif-latest/components/bt/common/osi/include/osi/
Dallocator.h34 …e) heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_D…
35 … heap_caps_calloc_prefer(1, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_D…
75 …p = heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|MALL…
89 MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, \
90 MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL); \
/hal_espressif-latest/components/heap/port/esp32s3/
Dmemory_layout.c45 …[SOC_MEMORY_TYPE_DRAM] = { "DRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_INTERNAL | M…
47 …[SOC_MEMORY_TYPE_STACK_DRAM] = { "STACK/DRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT | MALLOC_CAP…
49 …AM", { 0, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
51 …[SOC_MEMORY_TYPE_STACK_DIRAM] = { "STACK/DIRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT | MALLOC_C…
55 …[SOC_MEMORY_TYPE_SPIRAM] = { "SPIRAM", { MALLOC_CAP_SPIRAM | MALLOC_CAP_DEFAULT, 0, MALLOC_CAP_8BI…
57 …[SOC_MEMORY_TYPE_NODMARAM] = { "NON_DMA_DRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
59 …_TYPE_RTCRAM] = { "RTCRAM", { MALLOC_CAP_RTCRAM, MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
/hal_espressif-latest/components/heap/port/esp32c6/
Dmemory_layout.c40 …[SOC_MEMORY_TYPE_DRAM] = { "DRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_INTERNAL | M…
42 …[SOC_MEMORY_TYPE_STACK_DRAM] = { "STACK/DRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
44 …AM", { 0, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
46 …[SOC_MEMORY_TYPE_STACK_DIRAM] = { "STACK/DIRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT | MALLOC_C…
48 …_TYPE_RTCRAM] = { "RTCRAM", { MALLOC_CAP_RTCRAM, MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
/hal_espressif-latest/components/heap/port/esp32h2/
Dmemory_layout.c38 …[SOC_MEMORY_TYPE_DRAM] = { "DRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_INTERNAL | M…
40 …[SOC_MEMORY_TYPE_STACK_DRAM] = { "STACK/DRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
42 …AM", { 0, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
44 …[SOC_MEMORY_TYPE_STACK_DIRAM] = { "STACK/DIRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT | MALLOC_C…
46 …_TYPE_RTCRAM] = { "RTCRAM", { MALLOC_CAP_RTCRAM, MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
/hal_espressif-latest/components/heap/port/esp32c3/
Dmemory_layout.c40 …[SOC_MEMORY_TYPE_DRAM] = { "DRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_INTERNAL | M…
42 …[SOC_MEMORY_TYPE_STACK_DRAM] = { "STACK/DRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
44 …AM", { 0, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
46 …[SOC_MEMORY_TYPE_STACK_DIRAM] = { "STACK/DIRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT | MALLOC_C…
48 …_TYPE_RTCRAM] = { "RTCRAM", { MALLOC_CAP_RTCRAM, MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
/hal_espressif-latest/components/heap/port/esp32s2/
Dmemory_layout.c35 …{ "DRAM", { MALLOC_CAP_8BIT|MALLOC_CAP_DEFAULT, MALLOC_CAP_INTERNAL|MALLOC_CAP_DMA|MALLOC_CAP_32BI…
37 …{ "DRAM", { MALLOC_CAP_8BIT|MALLOC_CAP_DEFAULT, MALLOC_CAP_INTERNAL|MALLOC_CAP_DMA|MALLOC_CAP_32BI…
39 …{ "D/IRAM", { 0, MALLOC_CAP_DMA|MALLOC_CAP_8BIT|MALLOC_CAP_INTERNAL|MALLOC_CAP_DEFAULT, MALLOC_CAP…
45 …{ "SPIRAM", { MALLOC_CAP_SPIRAM|MALLOC_CAP_DEFAULT, 0, MALLOC_CAP_8BIT|MALLOC_CAP_32BIT}, false, f…
47 …{ "RTCRAM", { MALLOC_CAP_RTCRAM, MALLOC_CAP_8BIT|MALLOC_CAP_DEFAULT, MALLOC_CAP_INTERNAL|MALLOC_CA…
/hal_espressif-latest/zephyr/port/heap/
Dheap_caps_zephyr.c77 return heap_caps_malloc_base(size, MALLOC_CAP_DEFAULT); in heap_caps_malloc_default()
82 return heap_caps_malloc(size, MALLOC_CAP_DEFAULT); in heap_caps_malloc_prefer()
104 return heap_caps_realloc_base(ptr, size, MALLOC_CAP_DEFAULT); in heap_caps_realloc_default()
109 return heap_caps_realloc_base(ptr, size, MALLOC_CAP_DEFAULT); in heap_caps_realloc_prefer()
142 return heap_caps_calloc_base(n, size, MALLOC_CAP_DEFAULT); in heap_caps_calloc_prefer()
/hal_espressif-latest/components/heap/
Dheap_caps_linux.c72 return heap_caps_malloc_base(size, MALLOC_CAP_DEFAULT); in heap_caps_malloc_default()
77 return heap_caps_malloc(size, MALLOC_CAP_DEFAULT); in heap_caps_malloc_prefer()
99 return heap_caps_realloc_base(ptr, size, MALLOC_CAP_DEFAULT); in heap_caps_realloc_default()
104 return heap_caps_realloc_base(ptr, size, MALLOC_CAP_DEFAULT); in heap_caps_realloc_prefer()
137 return heap_caps_calloc_base(n, size, MALLOC_CAP_DEFAULT); in heap_caps_calloc_prefer()
Dheap_caps.c223 return heap_caps_malloc( size, MALLOC_CAP_DEFAULT | MALLOC_CAP_INTERNAL); in heap_caps_malloc_default()
231 r=heap_caps_malloc_base( size, MALLOC_CAP_DEFAULT | MALLOC_CAP_INTERNAL ); in heap_caps_malloc_default()
233 r=heap_caps_malloc_base( size, MALLOC_CAP_DEFAULT | MALLOC_CAP_SPIRAM ); in heap_caps_malloc_default()
237 r=heap_caps_malloc_base( size, MALLOC_CAP_DEFAULT ); in heap_caps_malloc_default()
242 heap_caps_alloc_failed(size, MALLOC_CAP_DEFAULT, __func__); in heap_caps_malloc_default()
256 return heap_caps_realloc( ptr, size, MALLOC_CAP_DEFAULT | MALLOC_CAP_INTERNAL ); in heap_caps_realloc_default()
264 r=heap_caps_realloc_base( ptr, size, MALLOC_CAP_DEFAULT | MALLOC_CAP_INTERNAL); in heap_caps_realloc_default()
266 r=heap_caps_realloc_base( ptr, size, MALLOC_CAP_DEFAULT | MALLOC_CAP_SPIRAM); in heap_caps_realloc_default()
271 r=heap_caps_realloc_base( ptr, size, MALLOC_CAP_DEFAULT); in heap_caps_realloc_default()
276 heap_caps_alloc_failed(size, MALLOC_CAP_DEFAULT, __func__); in heap_caps_realloc_default()
[all …]
/hal_espressif-latest/components/esp_system/port/
Desp_system_linux.c25 return heap_caps_get_free_size( MALLOC_CAP_DEFAULT ); in esp_get_free_heap_size()
35 return heap_caps_get_minimum_free_size( MALLOC_CAP_DEFAULT ); in esp_get_minimum_free_heap_size()
Desp_system_chip.c64 return heap_caps_get_free_size( MALLOC_CAP_DEFAULT ); in esp_get_free_heap_size()
74 return heap_caps_get_minimum_free_size( MALLOC_CAP_DEFAULT ); in esp_get_minimum_free_heap_size()
/hal_espressif-latest/components/newlib/
Dheap.c74 return heap_caps_aligned_alloc(alignment, n, MALLOC_CAP_DEFAULT); in memalign()
79 return heap_caps_aligned_alloc(alignment, n, MALLOC_CAP_DEFAULT); in aligned_alloc()
89 void *result = heap_caps_aligned_alloc(alignment, size, MALLOC_CAP_DEFAULT); in posix_memalign()
/hal_espressif-latest/components/heap/port/esp32c2/
Dmemory_layout.c38 …[SOC_MEMORY_TYPE_STACK_DRAM] = { "STACK/DRAM", { MALLOC_CAP_8BIT | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
40 …AM", { 0, MALLOC_CAP_DMA | MALLOC_CAP_8BIT | MALLOC_CAP_INTERNAL | MALLOC_CAP_DEFAULT, MALLOC_CAP_…
/hal_espressif-latest/components/esp_wifi/esp32s2/
Desp_adapter.c67 …return heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|M… in wifi_malloc()
80 …return heap_caps_realloc_prefer(ptr, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEF… in wifi_realloc()
93 …return heap_caps_calloc_prefer(n, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAUL… in wifi_calloc()
254 MALLOC_CAP_DEFAULT | MALLOC_CAP_SPIRAM, in queue_create_wrapper()
255 MALLOC_CAP_DEFAULT | MALLOC_CAP_INTERNAL); in queue_create_wrapper()
/hal_espressif-latest/components/esp_wifi/esp32/
Desp_adapter.c76 …return heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|M… in wifi_malloc()
89 …return heap_caps_realloc_prefer(ptr, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEF… in wifi_realloc()
102 …return heap_caps_calloc_prefer(n, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAUL… in wifi_calloc()
263 MALLOC_CAP_DEFAULT | MALLOC_CAP_SPIRAM, in queue_create_wrapper()
264 MALLOC_CAP_DEFAULT | MALLOC_CAP_INTERNAL); in queue_create_wrapper()
/hal_espressif-latest/components/esp_wifi/esp32s3/
Desp_adapter.c70 …return heap_caps_malloc_prefer(size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAULT|M… in wifi_malloc()
83 …return heap_caps_realloc_prefer(ptr, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEF… in wifi_realloc()
96 …return heap_caps_calloc_prefer(n, size, 2, MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM, MALLOC_CAP_DEFAUL… in wifi_calloc()
257 MALLOC_CAP_DEFAULT | MALLOC_CAP_SPIRAM, in queue_create_wrapper()
258 MALLOC_CAP_DEFAULT | MALLOC_CAP_INTERNAL); in queue_create_wrapper()
/hal_espressif-latest/zephyr/port/include/
Desp_heap_caps_adapter.h36 #define MALLOC_CAP_DEFAULT (1<<12) ///< Memory can be returned in a non-capability-specifi… macro
/hal_espressif-latest/components/driver/gpio/
Dglitch_filter_priv.h14 #define FILTER_MEM_ALLOC_CAPS MALLOC_CAP_DEFAULT
/hal_espressif-latest/components/esp_system/
Dsystick_etm.c16 #define ETM_MEM_ALLOC_CAPS MALLOC_CAP_DEFAULT
/hal_espressif-latest/components/esp_hw_support/dma/
Dgdma_priv.h24 #define GDMA_MEM_ALLOC_CAPS MALLOC_CAP_DEFAULT
Dgdma_etm.c22 #define ETM_MEM_ALLOC_CAPS MALLOC_CAP_DEFAULT
/hal_espressif-latest/components/heap/include/
Desp_heap_caps.h41 #define MALLOC_CAP_DEFAULT (1<<12) ///< Memory can be returned in a non-capability-specifi… macro
/hal_espressif-latest/components/driver/deprecated/
Dsigma_delta_legacy.c84 …lta_port] = (sigmadelta_obj_t *) heap_caps_calloc(1, sizeof(sigmadelta_obj_t), MALLOC_CAP_DEFAULT); in sigmadelta_init()
/hal_espressif-latest/components/esp_psram/
Desp_psram.c312 …uint32_t byte_aligned_caps[] = {MALLOC_CAP_SPIRAM|MALLOC_CAP_DEFAULT, 0, MALLOC_CAP_8BIT|MALLOC_CA… in esp_psram_extram_add_to_heap_allocator()
322 uint32_t word_aligned_caps[] = {MALLOC_CAP_SPIRAM|MALLOC_CAP_DEFAULT, 0, MALLOC_CAP_32BIT}; in esp_psram_extram_add_to_heap_allocator()

12