Searched refs:temp_buffer (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.4.0/components/log/ |
D | log_buffers.c | 23 char temp_buffer[BYTES_PER_LINE + 3]; //for not-byte-accessible memory in esp_log_buffer_hex_internal() local 36 memcpy(temp_buffer, buffer, (bytes_cur_line + 3) / 4 * 4); in esp_log_buffer_hex_internal() 37 ptr_line = temp_buffer; in esp_log_buffer_hex_internal() 57 char temp_buffer[BYTES_PER_LINE + 3]; //for not-byte-accessible memory in esp_log_buffer_char_internal() local 70 memcpy(temp_buffer, buffer, (bytes_cur_line + 3) / 4 * 4); in esp_log_buffer_char_internal() 71 ptr_line = temp_buffer; in esp_log_buffer_char_internal() 91 char temp_buffer[BYTES_PER_LINE + 3]; //for not-byte-accessible memory in esp_log_buffer_hexdump_internal() local 107 memcpy(temp_buffer, buffer, (bytes_cur_line + 3) / 4 * 4); in esp_log_buffer_hexdump_internal() 108 ptr_line = temp_buffer; in esp_log_buffer_hexdump_internal()
|
/hal_espressif-3.4.0/components/spi_flash/ |
D | spi_flash_chip_winbond.c | 50 uint8_t temp_buffer[64]; //spiflash hal max length of read no longer than 64byte in spi_flash_chip_winbond_read() local 65 memset(temp_buffer, 0xFF, sizeof(temp_buffer)); in spi_flash_chip_winbond_read() 69 err = chip->host->driver->read(chip->host, temp_buffer, align_address, read_len); in spi_flash_chip_winbond_read() 71 memcpy(buffer, temp_buffer + left_off, data_len); in spi_flash_chip_winbond_read()
|
D | spi_flash_chip_generic.c | 202 uint8_t temp_buffer[64]; //spiflash hal max length of read no longer than 64byte in spi_flash_chip_generic_read() local 214 memset(temp_buffer, 0xFF, sizeof(temp_buffer)); in spi_flash_chip_generic_read() 218 err = chip->host->driver->read(chip->host, temp_buffer, align_address, read_len); in spi_flash_chip_generic_read() 220 memcpy(buffer, temp_buffer + left_off, data_len); in spi_flash_chip_generic_read() 255 uint8_t temp_buffer[64]; //spiflash hal max length of write no longer than 64byte in spi_flash_chip_generic_write() local 258 memset(temp_buffer, 0xFF, sizeof(temp_buffer)); in spi_flash_chip_generic_write() 262 memcpy(temp_buffer + left_off, buffer, write_len); in spi_flash_chip_generic_write() 266 err = chip->chip_drv->program_page(chip, temp_buffer, align_address, page_len); in spi_flash_chip_generic_write()
|
D | spi_flash_chip_mxic_opi.c | 282 uint8_t temp_buffer[64]; //spiflash hal max length of write no longer than 64byte in spi_flash_chip_mxic_opi_write() local 285 memset(temp_buffer, 0xFF, sizeof(temp_buffer)); in spi_flash_chip_mxic_opi_write() 289 memcpy(temp_buffer + left_off, buffer, write_len); in spi_flash_chip_mxic_opi_write() 293 err = chip->chip_drv->program_page(chip, temp_buffer, align_address, page_len); in spi_flash_chip_mxic_opi_write()
|
D | esp_flash_api.c | 802 uint8_t* temp_buffer = NULL; in esp_flash_read() local 811 … temp_buffer = chip->os_func->get_temp_buffer(chip->os_func_data, read_chunk_size, &actual_len); in esp_flash_read() 814 if (temp_buffer == NULL) { in esp_flash_read() 826 uint8_t* buffer_to_read = (temp_buffer)? temp_buffer : buffer; in esp_flash_read() 842 if (temp_buffer) { in esp_flash_read() 843 memcpy(buffer, temp_buffer, length_to_read); in esp_flash_read() 851 chip->os_func->release_temp_buffer(chip->os_func_data, temp_buffer); in esp_flash_read()
|