Home
last modified time | relevance | path

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

/hal_espressif-3.7.0/components/newlib/
Dheap.c72 void* memalign(size_t alignment, size_t n) in memalign() argument
74 return heap_caps_aligned_alloc(alignment, n, MALLOC_CAP_DEFAULT); in memalign()
77 int posix_memalign(void **out_ptr, size_t alignment, size_t size) in posix_memalign() argument
84 void *result = heap_caps_aligned_alloc(alignment, size, MALLOC_CAP_DEFAULT); in posix_memalign()
/hal_espressif-3.7.0/components/heap/
Dmulti_heap.c34 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment)
267 void *multi_heap_aligned_alloc_impl_offs(multi_heap_handle_t heap, size_t size, size_t alignment, s… in multi_heap_aligned_alloc_impl_offs() argument
278 if(((alignment & (alignment - 1)) != 0) ||(!alignment)) { in multi_heap_aligned_alloc_impl_offs()
283 void *result = tlsf_memalign_offs(heap->heap_data, alignment, size, offset); in multi_heap_aligned_alloc_impl_offs()
297 void *multi_heap_aligned_alloc_impl(multi_heap_handle_t heap, size_t size, size_t alignment) in multi_heap_aligned_alloc_impl() argument
299 return multi_heap_aligned_alloc_impl_offs(heap, size, alignment, 0); in multi_heap_aligned_alloc_impl()
Dheap_caps_linux.c199 void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps) in heap_caps_aligned_alloc() argument
201 void *ptr = aligned_alloc(alignment, size); in heap_caps_aligned_alloc()
215 void *heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps) in heap_caps_aligned_calloc() argument
222 void *ptr = heap_caps_aligned_alloc(alignment, size_bytes, caps); in heap_caps_aligned_calloc()
Dmulti_heap_internal.h46 void *multi_heap_aligned_alloc_impl(multi_heap_handle_t heap, size_t size, size_t alignment);
49 void *multi_heap_aligned_alloc_impl_offs(multi_heap_handle_t heap, size_t size, size_t alignment, s…
Dheap_caps.c658 HEAP_IRAM_ATTR void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps) in heap_caps_aligned_alloc() argument
662 if(!alignment) { in heap_caps_aligned_alloc()
667 if((alignment & (alignment - 1)) != 0) { in heap_caps_aligned_alloc()
695 ret = multi_heap_aligned_alloc(heap->heap, size, alignment); in heap_caps_aligned_alloc()
716 void *heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps) in heap_caps_aligned_calloc() argument
723 void *ptr = heap_caps_aligned_alloc(alignment,size_bytes, caps); in heap_caps_aligned_calloc()
Dmulti_heap_poisoning.c209 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment) in multi_heap_aligned_alloc() argument
221 alignment, sizeof(poison_head_t)); in multi_heap_aligned_alloc()
/hal_espressif-3.7.0/tools/esptool_py/esptool/
Dutil.py52 def pad_to(data, alignment, pad_character=b"\xff"): argument
54 pad_mod = len(data) % alignment
56 data += pad_character * (alignment - pad_mod)
Dbin_image.py164 def pad_to_alignment(self, alignment): argument
165 self.data = pad_to(self.data, alignment, b"\x00")
167 def addr_align(self, alignment): argument
169 addr_mod = end_addr % alignment
171 end_addr += alignment - addr_mod
/hal_espressif-3.7.0/components/heap/include/
Desp_heap_caps.h141 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);
Dmulti_heap.h33 void *multi_heap_aligned_alloc(multi_heap_handle_t heap, size_t size, size_t alignment);
/hal_espressif-3.7.0/zephyr/port/heap/
Dheap_caps_zephyr.c228 void *heap_caps_aligned_alloc(size_t alignment, size_t size, uint32_t caps) in heap_caps_aligned_alloc() argument
230 void *ptr = k_aligned_alloc(alignment, size); in heap_caps_aligned_alloc()
244 void *heap_caps_aligned_calloc(size_t alignment, size_t n, size_t size, uint32_t caps) in heap_caps_aligned_calloc() argument
251 void *ptr = heap_caps_aligned_alloc(alignment, size_bytes, caps); in heap_caps_aligned_calloc()
/hal_espressif-3.7.0/components/bootloader_support/bootloader_flash/src/
Dbootloader_flash.c357 size_t alignment = write_encrypted ? 32 : 4; in bootloader_flash_write() local
358 if ((dest_addr % alignment) != 0) { in bootloader_flash_write()
359 …EARLY_LOGE(TAG, "bootloader_flash_write dest_addr 0x%x not %d-byte aligned", dest_addr, alignment); in bootloader_flash_write()
362 if ((size % alignment) != 0) { in bootloader_flash_write()
363 … ESP_EARLY_LOGE(TAG, "bootloader_flash_write size 0x%x not %d-byte aligned", size, alignment); in bootloader_flash_write()
/hal_espressif-3.7.0/components/esp_system/ld/
Dld.common19 /* Memory alignment size for PMS */
/hal_espressif-3.7.0/components/esp_system/ld/esp32h2/
Dsections.ld.in26 /* 16B padding for possible CPU prefetch and 4B alignment for PMS split lines */
163 …/* ESP32-H2 memprot requires 16B padding for possible CPU prefetch and 512B alignment for PMS spli…
296 * Thus, it must have its alignment and (at least) its size.
301 /* Start at the same alignment constraint than .flash.text */
305 /* Prepare the alignment of the section above. Few bytes (0x20) must be
/hal_espressif-3.7.0/components/esp_system/ld/esp32c2/
Dsections.ld.in132 * Thus, it must have its alignment and (at least) its size.
137 /* Start at the same alignment constraint than .flash.text */
141 /* Prepare the alignment of the section above. Few bytes (0x20) must be
266 …/* ESP32-C2 memprot requires 16B padding for possible CPU prefetch and 512B alignment for PMS spli…
/hal_espressif-3.7.0/components/esp_system/ld/esp32c3/
Dsections.ld.in26 /* 16B padding for possible CPU prefetch and 4B alignment for PMS split lines */
263 * Thus, it must have its alignment and (at least) its size.
268 /* Start at the same alignment constraint than .flash.text */
272 /* Prepare the alignment of the section above. Few bytes (0x20) must be
399 …/* ESP32-C3 memprot requires 16B padding for possible CPU prefetch and 512B alignment for PMS spli…
/hal_espressif-3.7.0/components/esp_system/ld/esp32c6/
Dsections.ld.in28 /* 16B padding for possible CPU prefetch and 4B alignment for PMS split lines */
165 …/* ESP32-C6 memprot requires 16B padding for possible CPU prefetch and 512B alignment for PMS spli…
298 * Thus, it must have its alignment and (at least) its size.
303 /* Start at the same alignment constraint than .flash.text */
307 /* Prepare the alignment of the section above. Few bytes (0x20) must be
/hal_espressif-3.7.0/components/soc/
DKconfig36 # use of small flash sizes (reducing the wasted space due to alignment), we
/hal_espressif-3.7.0/components/esp_system/ld/esp32s3/
Dsections.ld.in30 /* 16B padding for possible CPU prefetch and 4B alignment for PMS split lines */
300 * Thus, it must have its alignment and (at least) its size.
305 /* Start at the same alignment constraint than .flash.text */
309 /* Prepare the alignment of the section above. Few bytes (0x20) must be
429 …/* ESP32-S3 memprot requires 16B padding for possible CPU prefetch and 256B alignment for PMS spli…
/hal_espressif-3.7.0/components/esp_system/
Dubsan.c53 unsigned long alignment; member
/hal_espressif-3.7.0/components/bootloader/subproject/main/ld/esp32s3/
Dbootloader.ld16 * buffers area (0x3fce9704). For alignment purpose we shall use value (0x3fce9700).
/hal_espressif-3.7.0/tools/esptool_py/docs/en/esptool/
Dbasic-commands.rst220 …is segment placement may result in a more fragmented binary because of flash alignment constraints.