Searched refs:length_to_erase (Results 1 – 1 of 1) sorted by relevance
79 uint32_t block_offset, offset_in_block, length_to_erase; in flash_nios2_qspi_erase() local113 length_to_erase = 0U; /* length to erase in current sector */ in flash_nios2_qspi_erase()124 length_to_erase = MIN(qspi_dev->sector_size - offset_in_block, in flash_nios2_qspi_erase()164 remaining_length -= length_to_erase; in flash_nios2_qspi_erase()165 erase_offset += length_to_erase; in flash_nios2_qspi_erase()