Searched refs:length_to_write (Results 1 – 1 of 1) sorted by relevance
284 uint32_t block_offset, offset_in_block, length_to_write; in flash_nios2_qspi_write() local317 length_to_write = 0U; /* length to write to current sector */ in flash_nios2_qspi_write()328 length_to_write = MIN(qspi_dev->sector_size - offset_in_block, in flash_nios2_qspi_write()334 length_to_write); in flash_nios2_qspi_write()340 remaining_length -= length_to_write; in flash_nios2_qspi_write()341 buffer_offset += length_to_write; in flash_nios2_qspi_write()342 write_offset += length_to_write; in flash_nios2_qspi_write()