Lines Matching refs:region
30 static void register_heap(heap_t *region) in register_heap() argument
32 size_t heap_size = region->end - region->start; in register_heap()
34 region->heap = multi_heap_register((void *)region->start, heap_size); in register_heap()
35 if (region->heap != NULL) { in register_heap()
36 ESP_EARLY_LOGD(TAG, "New heap initialised at %p", region->heap); in register_heap()
96 soc_memory_region_t *region = ®ions[i]; in heap_caps_init() local
97 const soc_memory_type_desc_t *type = &soc_memory_types[region->type]; in heap_caps_init()
99 if (region->type == -1) { in heap_caps_init()
106 heap->start = region->start; in heap_caps_init()
107 heap->end = region->start + region->size; in heap_caps_init()
118 region->start, region->size, region->size / 1024, type->name); in heap_caps_init()
162 const soc_memory_region_t *region = &soc_memory_regions[i]; in heap_caps_add_region() local
164 if (region->start <= start && (intptr_t)(region->start + region->size) > start) { in heap_caps_add_region()
165 const uint32_t *caps = soc_memory_types[region->type].caps; in heap_caps_add_region()