Searched refs:mid_size (Results 1 – 1 of 1) sorted by relevance
454 size_t mid_size = (size - left_size) & ~3U; in spi_flash_write() local455 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() local742 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 …]