Searched refs:len_write (Results 1 – 2 of 2) sorted by relevance
255 int len_write = MIN(seg_len, len); in measure_write() local256 … esp_err_t err = spi_flash_write(part->address + offset, data_to_write + offset, len_write); in measure_write()259 offset += len_write; in measure_write()260 len -= len_write; in measure_write()
1014 int len_write = MIN(seg_len, len); in measure_write() local1015 …err = esp_flash_write(part->flash_chip, data_to_write + offset, part->address + offset, len_write); in measure_write()1018 offset += len_write; in measure_write()1019 len -= len_write; in measure_write()