Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/spi_flash/
Dflash_ops.c454 size_t mid_size = (size - left_size) & ~3U; in spi_flash_write() local
455 size_t right_off = left_size + mid_size; in spi_flash_write()
456 size_t right_size = size - mid_size - left_size; in spi_flash_write()
473 if (mid_size > 0) { in spi_flash_write()
483 while(mid_size > 0 && rc == ESP_ROM_SPIFLASH_RESULT_OK) { in spi_flash_write()
485 uint32_t write_size = MIN(mid_size, MAX_WRITE_CHUNK); in spi_flash_write()
496 mid_size -= write_size; in spi_flash_write()
730 size_t mid_size = (size - MAX(src_mid_off, dst_mid_off)) & ~3U; in spi_flash_read() local
742 size_t pad_right_src = (src + pad_left_size + mid_size) & ~3U; in spi_flash_read()
753 if (mid_size > 0) { in spi_flash_read()
[all …]