| /hal_silabs-latest/simplicity_sdk/platform/service/memory_manager/src/ |
| D | sl_memory_manager_redirect.c | 53 void *sl_malloc(size_t size) in sl_malloc() argument 60 block_avail = malloc(size); in sl_malloc() 73 sl_status_t sl_memory_alloc_advanced(size_t size, in sl_memory_alloc_advanced() argument 87 if ((size == 0) || (align == 0)) { in sl_memory_alloc_advanced() 94 *block = malloc(size); in sl_memory_alloc_advanced() 119 sl_status_t sl_memory_alloc(size_t size, in sl_memory_alloc() argument 123 return sl_memory_alloc_advanced(size, SL_MEMORY_BLOCK_ALIGN_DEFAULT, type, block); in sl_memory_alloc() 132 size_t size) in sl_calloc() argument 136 (void)sl_memory_calloc(item_count, size, BLOCK_TYPE_LONG_TERM, &block_avail); in sl_calloc() 147 size_t size, in sl_memory_calloc() argument [all …]
|
| D | sl_memory_manager_retarget.c | 154 size_t size) in STD_LIB_WRAPPER_MALLOC() argument 162 ptr = sl_malloc(size); in STD_LIB_WRAPPER_MALLOC() 177 void *STD_LIB_WRAPPER_MALLOC_ADVANCED(size_t size) in STD_LIB_WRAPPER_MALLOC_ADVANCED() argument 184 ptr = sl_malloc(size); in STD_LIB_WRAPPER_MALLOC_ADVANCED() 195 void *STD_LIB_WRAPPER_MALLOC_NO_FREE(size_t size) in STD_LIB_WRAPPER_MALLOC_NO_FREE() argument 202 ptr = sl_malloc(size); in STD_LIB_WRAPPER_MALLOC_NO_FREE() 252 size_t size) in STD_LIB_WRAPPER_CALLOC() argument 260 ptr = sl_calloc(item_count, size); in STD_LIB_WRAPPER_CALLOC() 276 size_t size) in STD_LIB_WRAPPER_CALLOC_ADVANCED() argument 283 ptr = sl_calloc(item_count, size); in STD_LIB_WRAPPER_CALLOC_ADVANCED() [all …]
|
| D | sl_memory_manager.c | 121 …sli_free_lt_list_head->length = (uint16_t)SLI_BLOCK_LEN_BYTE_TO_DWORD(heap_region.size - SLI_BLOCK… in sl_memory_init() 135 stack_region.size); in sl_memory_init() 141 stack_region.size); in sl_memory_init() 146 heap_region.size); in sl_memory_init() 152 heap_region.size); in sl_memory_init() 184 sl_status_t sl_memory_reserve_no_retention(size_t size, in sl_memory_reserve_no_retention() argument 212 if ((size == 0) || (size >= heap_region.size)) { in sl_memory_reserve_no_retention() 217 size_real = SLI_ALIGN_ROUND_UP(size, SLI_BLOCK_ALLOC_MIN_ALIGN); in sl_memory_reserve_no_retention() 257 sli_memory_save_reservation_no_retention(*block, size, align); in sl_memory_reserve_no_retention() 267 void *sl_malloc(size_t size) in sl_malloc() argument [all …]
|
| D | sl_memory_manager_dynamic_reservation.c | 62 sl_status_t sl_memory_reserve_block(size_t size, in sl_memory_reserve_block() argument 100 if ((size == 0) || (size >= heap_region.size)) { in sl_memory_reserve_block() 104 size_real = SLI_ALIGN_ROUND_UP(size, SLI_BLOCK_ALLOC_MIN_ALIGN); in sl_memory_reserve_block() 115 sli_memory_profiler_track_alloc_with_ownership(sli_mm_heap_name, NULL, size, return_address); in sl_memory_reserve_block() 169 handle->block_size = size; in sl_memory_reserve_block()
|
| D | sli_memory_manager_common.c | 214 size_t sli_memory_find_free_block(size_t size, in sli_memory_find_free_block() argument 242 if ((!current_block_metadata->block_in_use) && (current_block_len >= size)) { in sli_memory_find_free_block() 250 if (is_aligned || (current_block_len >= (size + data_payload_offset))) { in sli_memory_find_free_block() 252 size_adjusted = is_aligned ? size : (size + data_payload_offset); in sli_memory_find_free_block() 258 size_adjusted = size; in sli_memory_find_free_block() 263 data_payload = (void *)(block_end - size); in sli_memory_find_free_block() 580 if (heap_end_by_metadata != (void *)((uintptr_t)heap_region.addr + heap_region.size)) { in sli_memory_check_heap_integrity_forwards()
|
| D | sl_memory_manager_region.c | 70 region.size = SL_STACK_SIZE; in sl_memory_get_stack_region() 84 region.size = (uintptr_t) __HeapLimit - (uintptr_t) __HeapBase; in sl_memory_get_heap_region() 88 region.size = __section_size(IAR_HEAP_BLOCK_NAME); in sl_memory_get_heap_region()
|
| D | sl_memory_manager_region_host.c | 66 region.size = SL_MM_HEAP_SIZE; in sl_memory_get_heap_region() 82 region.size = 0; in sl_memory_get_stack_region()
|
| /hal_silabs-latest/simplicity_sdk/platform/service/memory_manager/profiler/inc/ |
| D | sli_memory_profiler.h | 316 size_t size); 376 size_t size); 405 size_t size); 420 size_t size, 510 #define SLI_MEMORY_PROFILER_TRACK_ALLOC(tracker_handle, ptr, size) \ argument 512 sli_memory_profiler_track_alloc((tracker_handle), (ptr), (size)); \ 522 #define SLI_MEMORY_PROFILER_TRACK_ALLOC_WITH_OWNERSHIP(tracker_handle, ptr, size, pc) \ argument 525 sli_memory_profiler_track_alloc_with_ownership((tracker_handle), (ptr), (size), _pc); \ 528 #define SLI_MEMORY_PROFILER_TRACK_ALLOC_WITH_OWNERSHIP(tracker_handle, ptr, size, pc) \ argument 531 sli_memory_profiler_track_alloc((tracker_handle), (ptr), (size)); \ [all …]
|
| /hal_silabs-latest/simplicity_sdk/platform/service/memory_manager/inc/ |
| D | sl_memory_manager.h | 596 sl_status_t sl_memory_reserve_no_retention(size_t size, 614 void *sl_malloc(size_t size); 628 sl_status_t sl_memory_alloc(size_t size, 651 sl_status_t sl_memory_alloc_advanced(size_t size, 687 size_t size); 704 size_t size, 730 size_t size); 755 size_t size, 774 sl_status_t sl_memory_reserve_block(size_t size,
|
| /hal_silabs-latest/simplicity_sdk/platform/service/memory_manager/profiler/src/ |
| D | sli_memory_profiler.c | 96 …uint32_t size; ///< Size of the pool block allocated from the… 135 uint32_t size; ///< The number of bytes allocated, or attempted to allocate 147 uint32_t size; ///< The size that the block was reallocated to 273 size_t size) in sli_memory_profiler_create_pool_tracker() argument 281 event.size = (uint32_t) size; in sli_memory_profiler_create_pool_tracker() 386 size_t size) in sli_memory_profiler_track_alloc() argument 389 sli_memory_profiler_track_alloc_with_ownership(tracker_handle, ptr, size, in sli_memory_profiler_track_alloc() 396 size_t size, in sli_memory_profiler_track_alloc_with_ownership() argument 405 event.size = (uint32_t) size; in sli_memory_profiler_track_alloc_with_ownership() 418 size_t size) in sli_memory_profiler_track_realloc() argument [all …]
|
| D | sli_memory_profiler_stubs.c | 48 size_t size) in sli_memory_profiler_create_pool_tracker() argument 53 (void) size; in sli_memory_profiler_create_pool_tracker() 72 …li_memory_profiler_track_alloc(sli_memory_tracker_handle_t tracker_handle, void * ptr, size_t size) in sli_memory_profiler_track_alloc() argument 76 (void) size; in sli_memory_profiler_track_alloc() 82 size_t size, in sli_memory_profiler_track_alloc_with_ownership() argument 87 (void) size; in sli_memory_profiler_track_alloc_with_ownership()
|
| /hal_silabs-latest/si32/si32Hal/SI32_Modules/ |
| D | SI32_DMADESC_A_Type.c | 73 uint32_t size; in _SI32_DMADESC_A_configure() local 85 size = basePointer->CONFIG.SRCAIMD; in _SI32_DMADESC_A_configure() 86 if (size != SI32_DMADESC_A_CONFIG_SRCAIMD_NO_INCREMENT_VALUE) in _SI32_DMADESC_A_configure() 88 basePointer->SRCEND.U32 += (count << size); in _SI32_DMADESC_A_configure() 92 size = basePointer->CONFIG.DSTAIMD; in _SI32_DMADESC_A_configure() 93 if (size != SI32_DMADESC_A_CONFIG_DSTAIMD_NO_INCREMENT_VALUE) in _SI32_DMADESC_A_configure() 95 basePointer->DSTEND.U32 += (count << size); in _SI32_DMADESC_A_configure()
|
| D | SI32_USBEP_A_Type.c | 89 uint32_t size) in _SI32_USBEP_A_set_in_max_packet_size() argument 91 assert(size < 256); // size < 2^8 in _SI32_USBEP_A_set_in_max_packet_size() 93 basePointer->EPMPSIZE.IMAXP = size; in _SI32_USBEP_A_set_in_max_packet_size() 119 uint32_t size) in _SI32_USBEP_A_set_out_max_packet_size() argument 121 assert(size < 256); // size < 2^8 in _SI32_USBEP_A_set_out_max_packet_size() 123 basePointer->EPMPSIZE.OMAXP = size; in _SI32_USBEP_A_set_out_max_packet_size()
|
| D | SI32_DCDC_A_Type.c | 374 uint32_t size) in _SI32_DCDC_A_select_power_switch_size() argument 376 assert(size < 4); // size < 2^2 in _SI32_DCDC_A_select_power_switch_size() 379 basePointer->CONTROL_SET = size << SI32_DCDC_A_CONTROL_PSMD_SHIFT; in _SI32_DCDC_A_select_power_switch_size()
|
| D | SI32_USBEP_A_Type.h | 143 #define SI32_USBEP_A_set_in_max_packet_size(basePointer, size) \ argument 144 (basePointer->EPMPSIZE.IMAXP = size) 181 #define SI32_USBEP_A_set_out_max_packet_size(basePointer, size) \ argument 182 (basePointer->EPMPSIZE.OMAXP = size)
|
| /hal_silabs-latest/simplicity_sdk/platform/emlib/inc/ |
| D | em_ldma.h | 915 uint32_t size : 2; /**< DMA transfer unit size. */ member 943 uint32_t size : 2; /**< DMA transfer unit size. */ member 978 uint32_t size : 2; /**< DMA transfer unit size. */ member 1027 uint32_t size : 2; /**< DMA transfer unit size. */ member 1222 .size = ldmaCtrlSizeWord, \ 1256 … .size = ldmaCtrlSizeWord, \ 1293 .size = ldmaCtrlSizeHalf, \ 1327 .size = ldmaCtrlSizeHalf, \ 1364 .size = ldmaCtrlSizeByte, \ 1398 .size = ldmaCtrlSizeByte, \ [all …]
|
| /hal_silabs-latest/gecko/emlib/inc/ |
| D | em_ldma.h | 915 uint32_t size : 2; /**< DMA transfer unit size. */ member 943 uint32_t size : 2; /**< DMA transfer unit size. */ member 973 uint32_t size : 2; /**< DMA transfer unit size. */ member 1022 uint32_t size : 2; /**< DMA transfer unit size. */ member 1217 .size = ldmaCtrlSizeWord, \ 1251 … .size = ldmaCtrlSizeWord, \ 1288 .size = ldmaCtrlSizeHalf, \ 1322 .size = ldmaCtrlSizeHalf, \ 1359 .size = ldmaCtrlSizeByte, \ 1393 .size = ldmaCtrlSizeByte, \ [all …]
|
| /hal_silabs-latest/simplicity_sdk/platform/emdrv/dmadrv/src/ |
| D | dmadrv.c | 116 DMADRV_DataSize_t size, 517 DMADRV_DataSize_t size, in DMADRV_MemoryPeripheral() argument 530 size, in DMADRV_MemoryPeripheral() 584 DMADRV_DataSize_t size, in DMADRV_MemoryPeripheralPingPong() argument 597 size, in DMADRV_MemoryPeripheralPingPong() 646 DMADRV_DataSize_t size, in DMADRV_PeripheralMemory() argument 659 size, in DMADRV_PeripheralMemory() 713 DMADRV_DataSize_t size, in DMADRV_PeripheralMemoryPingPong() argument 726 size, in DMADRV_PeripheralMemoryPingPong() 1289 DMADRV_DataSize_t size, in StartTransfer() argument [all …]
|
| /hal_silabs-latest/simplicity_sdk/platform/security/sl_component/se_manager/src/ |
| D | sl_se_manager_key_handling.c | 180 if (key_size > key->storage.location.buffer.size) { in clear_padding() 184 uint32_t padding_size = (key->storage.location.buffer.size - key_size) & 0x3; in clear_padding() 195 sl_status_t sli_key_get_size(const sl_se_key_descriptor_t *key, uint32_t *size) in sli_key_get_size() argument 197 if (key == NULL || size == NULL) { in sli_key_get_size() 204 *size = (key->type & KEYSPEC_ATTRIBUTES_MASK); in sli_key_get_size() 221 *size = domain->size; in sli_key_get_size() 228 *size = (key->type & KEYSPEC_ATTRIBUTES_ECC_SIZE_MASK); in sli_key_get_size() 236 if (*size == 0) { in sli_key_get_size() 237 if (key->size == 0) { in sli_key_get_size() 240 *size = key->size; in sli_key_get_size() [all …]
|
| /hal_silabs-latest/wiseconnect/components/device/silabs/si91x/mcu/drivers/rom_driver/inc/ |
| D | rsi_rom_udma_wrapper.h | 75 uint32_t size, in UDMAx_ChannelConfigure() argument 85 if ((control.totalNumOfDMATrans + 1UL) > size) { in UDMAx_ChannelConfigure() 86 control.totalNumOfDMATrans = (unsigned int)((size - 1) & 0x03FF); in UDMAx_ChannelConfigure() 91 …->uDMAx_ChannelConfigure(udma, ch, src_addr, dest_addr, size, control, config, cb_event, chnl_info… in UDMAx_ChannelConfigure() 93 …return uDMAx_ChannelConfigure(udma, ch, src_addr, dest_addr, size, control, config, cb_event, chnl… in UDMAx_ChannelConfigure()
|
| /hal_silabs-latest/simplicity_sdk/platform/emdrv/dmadrv/inc/ |
| D | dmadrv.h | 117 DMADRV_DataSize_t size, 126 DMADRV_DataSize_t size, 136 DMADRV_DataSize_t size, 146 DMADRV_DataSize_t size,
|
| /hal_silabs-latest/simplicity_sdk/platform/security/sl_component/se_manager/inc/ |
| D | sl_se_manager_types.h | 225 uint32_t size; ///< Size of buffer. member 248 size_t size; member 267 const size_t size; member
|
| /hal_silabs-latest/wiseconnect/components/common/src/ |
| D | sl_utility.c | 119 char *sl_inet_ntop6(const unsigned char *input, char *dst, uint32_t size) in sl_inet_ntop6() argument 184 if ((uint32_t)(tp - tmp) > size) { in sl_inet_ntop6() 188 return memcpy(dst, tmp, size); in sl_inet_ntop6()
|
| /hal_silabs-latest/gecko/emlib/src/ |
| D | em_dma.c | 749 | (cfg->size << _DMA_CTRL_DST_SIZE_SHIFT) in DMA_CfgDescr() 751 | (cfg->size << _DMA_CTRL_SRC_SIZE_SHIFT) in DMA_CfgDescr() 880 | (cfg->size << _DMA_CTRL_DST_SIZE_SHIFT) in DMA_CfgDescrScatterGather() 882 | (cfg->size << _DMA_CTRL_SRC_SIZE_SHIFT) in DMA_CfgDescrScatterGather()
|
| /hal_silabs-latest/gecko/Device/SiliconLabs/EFR32MG12P/Source/GCC/ |
| D | efr32mg12p.ld | 211 * used for linker to calculate size of stack sections, and assign 219 * size of stack_dummy section */ 227 /* Check if FLASH usage exceeds FLASH size */
|