Home
last modified time | relevance | path

Searched refs:s_ram_descriptor (Results 1 – 1 of 1) sorted by relevance

/hal_espressif-3.5.0/components/esp_hw_support/port/esp32/
Desp_himem.c73 static ramblock_t *s_ram_descriptor = NULL; variable
121 if (!s_ram_descriptor[i].is_alloced) ret+=CACHE_BLOCKSIZE; in esp_himem_get_free_size()
136 …ESP_RETURN_ON_FALSE(s_ram_descriptor == NULL, , TAG, "already initialized"); //Looks weird; last … in esp_himem_init()
147 s_ram_descriptor = calloc(sizeof(ramblock_t), s_ramblockcnt); in esp_himem_init()
149 if (s_ram_descriptor == NULL || s_range_descriptor == NULL) { in esp_himem_init()
151 free(s_ram_descriptor); in esp_himem_init()
166 if (!s_ram_descriptor[i].is_alloced) { in allocate_blocks()
174 s_ram_descriptor[blocks_out[i]].is_alloced = true; in allocate_blocks()
175 assert(s_ram_descriptor[blocks_out[i]].is_mapped == false); in allocate_blocks()
221 …ESP_RETURN_ON_FALSE(!s_ram_descriptor[handle->block[i]].is_mapped, ESP_ERR_INVALID_ARG, TAG, "bloc… in esp_himem_free()
[all …]