Searched refs:block_offset (Results 1 – 2 of 2) sorted by relevance
79 uint32_t block_offset, offset_in_block, length_to_erase; in flash_nios2_qspi_erase() local111 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() argument284 uint32_t block_offset, offset_in_block, length_to_write; in flash_nios2_qspi_write() local315 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()[all …]
366 uint32_t block_offset = ino_index % inodes_per_block; in get_itable_entry() local368 LOG_DBG("block_index:%d block_offset:%d", block_index, block_offset); in get_itable_entry()374 return block_offset; in get_itable_entry()