Lines Matching refs:block_offset
79 uint32_t block_offset, offset_in_block, length_to_erase; in flash_nios2_qspi_erase() local
111 block_offset = 0U; /* block offset in byte addressing */ in flash_nios2_qspi_erase()
116 block_offset = erase_offset & ~(qspi_dev->sector_size - 1); in flash_nios2_qspi_erase()
119 if (block_offset != erase_offset) { in flash_nios2_qspi_erase()
120 offset_in_block = erase_offset - block_offset; in flash_nios2_qspi_erase()
181 int block_offset, in flash_nios2_qspi_write_block() argument
284 uint32_t block_offset, offset_in_block, length_to_write; in flash_nios2_qspi_write() local
315 block_offset = 0U; /* block offset in byte addressing */ in flash_nios2_qspi_write()
320 block_offset = write_offset & ~(qspi_dev->sector_size - 1); in flash_nios2_qspi_write()
323 if (block_offset != write_offset) { in flash_nios2_qspi_write()
324 offset_in_block = write_offset - block_offset; in flash_nios2_qspi_write()
332 block_offset, write_offset, in flash_nios2_qspi_write()