| /device/soc/winnermicro/wm800/board/include/platform/ |
| D | wm_mem.h | 68 #define tls_mem_alloc(size) mem_alloc_debug(size, __FILE__, __LINE__) macro 126 #define tls_mem_alloc(size) mem_alloc_debug(size) macro 199 #define tls_mem_alloc(size) malloc(size) macro
|
| /device/soc/winnermicro/hals/communication/bt_lite/ble/source/ |
| D | nble_server.c | 278 server_elem_t *serv_elem = (server_elem_t *)tls_mem_alloc(sizeof(server_elem_t)); in ble_server_alloc() 307 …gatt_svc_array = (struct ble_gatt_svc_def *)tls_mem_alloc(2 * sizeof(struct ble_gatt_svc_def)); //… in ble_server_alloc() 312 …gatt_chr_array = (struct ble_gatt_chr_def *)tls_mem_alloc((1 + char_counter) * sizeof(struct ble_g… in ble_server_alloc() 320 nim_service_t *nim_service = (nim_service_t *)tls_mem_alloc(sizeof(nim_service_t)); in ble_server_alloc() 328 srvc_elem = (service_elem_t *)tls_mem_alloc(sizeof(service_elem_t)); in ble_server_alloc() 338 srvc_sub_elem = (service_elem_t *)tls_mem_alloc(sizeof(service_elem_t)); in ble_server_alloc() 359 srvc_sub_elem = (service_elem_t *)tls_mem_alloc(sizeof(service_elem_t)); in ble_server_alloc() 372 … (struct ble_gatt_dsc_def *)tls_mem_alloc(2 * sizeof(struct ble_gatt_dsc_def)); // 2:byte alignment in ble_server_alloc()
|
| /device/soc/winnermicro/wm800/board/src/bt/blehost/nimble/transport/uart/src/ |
| D | ble_hci_uart.c | 472 struct QUEUE_ITEM *item = tls_mem_alloc(sizeof(struct QUEUE_ITEM)); in notify_host_recv() 479 item->payload = tls_mem_alloc(len); in notify_host_recv() 560 … tls_host_vuart_task_stack_ptr = (void *)tls_mem_alloc(MYNEWT_VAL(OS_HS_VUART_STACK_SIZE) * sizeof( in ble_hci_vuart_init() 574 ble_hci_vuart_acl_buf = (os_membuf_t *)tls_mem_alloc( in ble_hci_vuart_init() 597 ble_hci_vuart_cmd_buf = (os_membuf_t *)tls_mem_alloc( in ble_hci_vuart_init() 609 ble_hci_vuart_evt_hi_buf = (os_membuf_t *)tls_mem_alloc( in ble_hci_vuart_init() 622 ble_hci_vuart_evt_lo_buf = (os_membuf_t *)tls_mem_alloc( in ble_hci_vuart_init()
|
| /device/soc/winnermicro/wm800/board/platform/common/task/ |
| D | wm_wl_task.c | 107 msg = (struct task_msg *)tls_mem_alloc(sizeof(struct task_msg)); in tls_wl_task_callback() 133 msg = (struct task_msg *)tls_mem_alloc(sizeof(struct task_msg)); in tls_wl_task_add_timeout() 153 msg = (struct task_msg *)tls_mem_alloc(sizeof(struct task_msg)); in tls_wl_task_untimeout()
|
| D | wm_wl_timers.c | 107 timeout = (struct tls_timeo *)tls_mem_alloc(sizeof(struct tls_timeo)); in tls_timeout_p()
|
| /device/soc/winnermicro/wm800/board/src/bt/blehost/porting/w800/src/ |
| D | os_msys_init.c | 76 os_msys_init_1_data = (os_membuf_t *)tls_mem_alloc(sizeof(os_membuf_t) * in os_msys_init() 89 os_msys_init_2_data = (os_membuf_t *)tls_mem_alloc(sizeof(os_membuf_t) * in os_msys_init()
|
| D | tls_nimble.c | 41 … tls_host_task_stack_ptr = (void *)tls_mem_alloc(MYNEWT_VAL(OS_HS_STACK_SIZE) * sizeof(uint32_t)); in tls_nimble_start()
|
| D | mem.c | 33 *out_buf = (void*)tls_mem_alloc(OS_MEMPOOL_BYTES(num_blocks, block_size)); in mem_malloc_mempool_gen()
|
| /device/soc/winnermicro/wm800/board/src/os/liteos/ |
| D | wm_osal_liteos.c | 137 pHandle = tls_mem_alloc(sizeof(tls_os_handle_t)); in tls_os_task_create() 151 tmp_name = tls_mem_alloc(20); // 20:alloc size in tls_os_task_create() 265 tls_os_handle_t *pHandle = tls_mem_alloc(sizeof(tls_os_handle_t)); in tls_os_mutex_create() 420 tls_os_handle_t *pHandle = tls_mem_alloc(sizeof(tls_os_handle_t)); in tls_os_sem_create() 608 tls_os_handle_t *pHandle = tls_mem_alloc(sizeof(tls_os_handle_t)); in tls_os_queue_create() 870 tls_swtmr_cb_t *swtmr_cb = tls_mem_alloc(sizeof(tls_swtmr_cb_t)); in tls_os_timer_create()
|
| /device/soc/winnermicro/wm800/board/src/app/wm_atcmd/ |
| D | wm_uart_task.c | 102 tx_data = tls_mem_alloc(sizeof(struct uart_tx_msg)); in uart_send_tx_msg() 130 tx_data = tls_mem_alloc(sizeof(struct uart_tx_msg)); in uart_send_tx_msg() 463 buf = tls_mem_alloc(cmd_len + TWO); in parse_atcmd_line() 656 cmd_rsp = tls_mem_alloc(SIXTEEN); in uart_fwup_rsp() 688 pfwup = (struct tls_fwup_block *) tls_mem_alloc(UART_UPFW_DATA_SIZE); in uart_fwup_send() 753 cmd_rsp = tls_mem_alloc(strlen("+OK!!\r\n\r\n") + 1); in uart_rx() 796 uart_tx_msg = tls_mem_alloc(sizeof(tls_uart_tx_msg_t)); in uart_tx()
|
| D | wm_cmdp_hostif.c | 148 struct tls_hostif_tx_msg *tx_msg = tls_mem_alloc(sizeof(struct tls_hostif_tx_msg)); in tls_hostif_get_tx_msg() 298 atcmd_tok = tls_mem_alloc(sizeof(struct tls_atcmd_token_t)); in tls_hostif_cmd_handler() 314 u8 *atcmd_loopback_buf = tls_mem_alloc(length + 1); in tls_hostif_cmd_handler() 329 cmdrsp_buf = tls_mem_alloc(CMD_RSP_BUF_SIZE); in tls_hostif_cmd_handler() 454 buf = (char *)tls_mem_alloc(buflen); in tls_hostif_send_event_init_cmplt() 476 buf = (char *)tls_mem_alloc(buflen); in tls_hostif_send_event_linkup() 503 buf = (char *)tls_mem_alloc(buflen); in tls_hostif_send_event_wjoin_success() 538 buf = (char *)tls_mem_alloc(buflen); in tls_hostif_send_event_wjoin_failed() 563 buf = (char *)tls_mem_alloc(buflen); in tls_hostif_send_event_linkdown() 586 buf = (char *)tls_mem_alloc(buflen); in tls_hostif_send_event_sta_join() [all …]
|
| D | wm_cmdp.c | 247 key = tls_mem_alloc(sizeof(struct tls_cmd_key_t)); in tls_cmd_join_net() 279 apinfo = tls_mem_alloc(sizeof(struct tls_softap_info_t)); in tls_cmd_create_net() 282 ipinfo = tls_mem_alloc(sizeof(struct tls_ip_info_t)); in tls_cmd_create_net() 467 param_key = tls_mem_alloc(sizeof(struct tls_cmd_key_t)); in tls_cmd_get_key() 471 orig_key = tls_mem_alloc(sizeof(struct tls_param_original_key)); in tls_cmd_get_key() 1198 param_key = tls_mem_alloc(sizeof(struct tls_cmd_key_t)); in tls_cmd_get_softap_key()
|
| /device/soc/winnermicro/wm800/board/platform/drivers/internalflash/ |
| D | wm_internal_fls.c | 444 char *cache = tls_mem_alloc(INSIDE_FLS_PAGE_SIZE); in flashRead() 731 backbuf = tls_mem_alloc(eraseSize); in tls_fls_otp_write() 870 cache = tls_mem_alloc(INSIDE_FLS_SECTOR_SIZE); in tls_fls_write() 950 cache = tls_mem_alloc(INSIDE_FLS_PAGE_SIZE); in tls_fls_write_without_erase() 1074 gsflscache = tls_mem_alloc(INSIDE_FLS_SECTOR_SIZE); in tls_fls_fast_write_init() 1184 cache = tls_mem_alloc(INSIDE_FLS_SECTOR_SIZE); in tls_fls_chip_erase() 1283 fls = (struct tls_inside_fls *) tls_mem_alloc(sizeof(struct tls_inside_fls)); in tls_fls_init()
|
| /device/soc/winnermicro/wm800/board/src/wifi/ |
| D | wm_wifi.c | 145 evt = tls_mem_alloc(sizeof(struct tls_wifi_netif_status_event)); in tls_wifi_netif_add_status_event()
|
| /device/soc/winnermicro/wm800/board/platform/common/fwup/ |
| D | wm_fwup.c | 227 buffer_t = tls_mem_alloc(1024); in fwup_scheduler() 588 fwup = tls_mem_alloc(sizeof(*fwup)); in tls_fwup_init() 613 fwup_task_stk = (u32 *)tls_mem_alloc(FWUP_TASK_STK_SIZE * sizeof(u32)); in tls_fwup_init()
|
| /device/soc/winnermicro/hals/communication/wifi_lite/wifiservice/source/ |
| D | wifi_device.c | 292 gScannedBuffer = tls_mem_alloc(BSS_BUFFER_SIZE); in Scan() 786 bss = tls_mem_alloc(sizeof(struct tls_curr_bss_t)); in GetLinkedInfo() 848 ip_param = tls_mem_alloc(sizeof(struct tls_param_ip)); in InitWifiConfig()
|
| /device/soc/winnermicro/wm800/board/platform/sys/ |
| D | wm_main.c | 173 TaskStartStk = tls_mem_alloc(sizeof(u32)*TASK_START_STK_SIZE); in main()
|
| /device/soc/winnermicro/wm800/board/platform/drivers/flash/ |
| D | wm_fls.c | 222 cache = tls_mem_alloc(drv->sector_size); in tls_spifls_write() 474 fls = (struct tls_fls *) tls_mem_alloc(sizeof(struct tls_fls)); in tls_spifls_init()
|
| /device/soc/winnermicro/wm800/board/platform/common/params/ |
| D | wm_param.c | 59 buffer = tls_mem_alloc(len); in param_flash_verify() 413 flash = tls_mem_alloc(sizeof(*flash)); in tls_param_init() 968 curflashparm = tls_mem_alloc(sizeof(struct tls_param_flash)); in tls_param_get() 1246 sram_param = tls_mem_alloc(sizeof(struct tls_param_flash)); in tls_param_to_flash() 1291 user_default_param = tls_mem_alloc(sizeof(*user_default_param)); in tls_param_user_param_init()
|
| /device/soc/winnermicro/wm800/board/platform/drivers/spi/ |
| D | wm_hostspi.c | 82 SPI_DMA_CMD_ADDR = tls_mem_alloc(SPI_DMA_CMD_MAX_SIZE); in SpiMasterInit() 89 SPI_DMA_BUF_ADDR = tls_mem_alloc(SPI_DMA_BUF_MAX_SIZE); in SpiMasterInit() 1142 port = (struct tls_spi_port *) tls_mem_alloc(sizeof(struct tls_spi_port)); in tls_spi_init() 1225 spi_scheduler_stk = tls_mem_alloc(SPI_SCHEDULER_STK_SIZE * sizeof(u32)); in tls_spi_task_init()
|
| /device/soc/winnermicro/wm800/board/platform/common/utils/ |
| D | utils.c | 509 ret = tls_mem_alloc(len); in strdup() 521 ret = tls_mem_alloc(len + 1); in strndup()
|
| /device/soc/winnermicro/wm800/board/src/network/api2.0.3/ |
| D | tls_netconn.c | 93 conn_t = tls_mem_alloc(sizeof(struct tls_netconn)); in net_alloc_socket() 519 net_msg = tls_mem_alloc(sizeof(*net_msg)); in tls_socket_close()
|
| /device/soc/winnermicro/wm800/board/platform/inc/ |
| D | libtommath.h | 80 #define XMALLOC tls_mem_alloc
|
| /device/soc/winnermicro/wm800/board/platform/drivers/efuse/ |
| D | wm_efuse.c | 74 pft = tls_mem_alloc(sizeof(FT_PARAM_ST)); in tls_ft_param_init()
|
| /device/soc/winnermicro/wm800/board/platform/drivers/uart/ |
| D | wm_uart.c | 384 uart_tx_msg = tls_mem_alloc(sizeof(tls_uart_tx_msg_t)); in tls_uart_fill_buf() 390 uart_tx_msg->buf = tls_mem_alloc(count); in tls_uart_fill_buf() 827 char *bufrx = tls_mem_alloc(TLS_UART_RX_BUF_SIZE); in tls_uart_port_init()
|