Home
last modified time | relevance | path

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

/Zephyr-Core-2.7.6/drivers/flash/
Dsoc_flash_nios2_qspi.c77 uint32_t block_offset, offset_in_block, length_to_erase; in flash_nios2_qspi_erase() local
110 offset_in_block = 0U; /* offset into current sector to erase */ in flash_nios2_qspi_erase()
118 offset_in_block = erase_offset - block_offset; in flash_nios2_qspi_erase()
122 length_to_erase = MIN(qspi_dev->sector_size - offset_in_block, in flash_nios2_qspi_erase()
282 uint32_t block_offset, offset_in_block, length_to_write; in flash_nios2_qspi_write() local
314 offset_in_block = 0U; /* offset into current sector to write */ in flash_nios2_qspi_write()
322 offset_in_block = write_offset - block_offset; in flash_nios2_qspi_write()
326 length_to_write = MIN(qspi_dev->sector_size - offset_in_block, in flash_nios2_qspi_write()