Searched refs:tmp_buf (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/sdmmc/ |
D | sdmmc_cmd.c | 366 void* tmp_buf = heap_caps_malloc(block_size, MALLOC_CAP_DMA); in sdmmc_write_sectors() local 367 if (tmp_buf == NULL) { in sdmmc_write_sectors() 372 memcpy(tmp_buf, cur_src, block_size); in sdmmc_write_sectors() 374 err = sdmmc_write_sectors_dma(card, tmp_buf, start_block + i, 1); in sdmmc_write_sectors() 381 free(tmp_buf); in sdmmc_write_sectors() 441 void* tmp_buf = heap_caps_malloc(block_size, MALLOC_CAP_DMA); in sdmmc_read_sectors() local 442 if (tmp_buf == NULL) { in sdmmc_read_sectors() 447 err = sdmmc_read_sectors_dma(card, tmp_buf, start_block + i, 1); in sdmmc_read_sectors() 453 memcpy(cur_dst, tmp_buf, block_size); in sdmmc_read_sectors() 456 free(tmp_buf); in sdmmc_read_sectors()
|
/hal_espressif-3.6.0/examples/bluetooth/bluedroid/classic_bt/bt_spp_initiator/main/ |
D | console_uart.c | 49 uint8_t tmp_buf[128] = {0}; in console_uart_task() local 58 len = uart_read_bytes(CONSOLE_UART_NUM, tmp_buf, TMP_BUF_LEN, 0); in console_uart_task() 60 spp_msg_parse(tmp_buf[i], parser); in console_uart_task()
|