Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/flash/
Dsoc_flash_nios2_qspi.c79 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()
[all …]
/Zephyr-latest/subsys/fs/ext2/
Dext2_diskops.c366 uint32_t block_offset = ino_index % inodes_per_block; in get_itable_entry() local
368 LOG_DBG("block_index:%d block_offset:%d", block_index, block_offset); in get_itable_entry()
374 return block_offset; in get_itable_entry()