Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/flash/
Dsoc_flash_nrf_mram.c23 #define WRITE_BLOCK_SIZE DT_INST_PROP_OR(0, write_block_size, MRAM_WORD_SIZE) macro
24 #define ERASE_BLOCK_SIZE DT_INST_PROP_OR(0, erase_block_size, WRITE_BLOCK_SIZE)
29 BUILD_ASSERT((ERASE_BLOCK_SIZE % WRITE_BLOCK_SIZE) == 0,
49 if (WRITE_BLOCK_SIZE > 1 && must_align && in validate_and_map_addr()
50 unlikely((addr % WRITE_BLOCK_SIZE) != 0 || (len % WRITE_BLOCK_SIZE) != 0)) { in validate_and_map_addr()
66 if ((WRITE_BLOCK_SIZE & MRAM_WORD_MASK) == 0 || (addr_end & MRAM_WORD_MASK) == 0) { in commit_changes()
152 .write_block_size = WRITE_BLOCK_SIZE, in nrf_mram_get_parameters()
Dflash_stm32wb0x.c35 #define WRITE_BLOCK_SIZE \ macro
39 #define WORD_SIZE WRITE_BLOCK_SIZE
130 if ((offset % WRITE_BLOCK_SIZE) != 0 in is_writeable_flash_range()
131 || (len % WRITE_BLOCK_SIZE) != 0) { in is_writeable_flash_range()
404 .write_block_size = WRITE_BLOCK_SIZE, in flash_wb0x_get_parameters()
/Zephyr-latest/subsys/bluetooth/mesh/
Dblob_io_flash.c15 #define WRITE_BLOCK_SIZE DT_PROP(DT_INST(0, soc_nv_flash), write_block_size) macro
33 if (align > WRITE_BLOCK_SIZE) { in test_flash_area()
120 uint8_t buf[ROUND_UP(BLOB_RX_CHUNK_SIZE, WRITE_BLOCK_SIZE)]; in wr_chunk()
125 memset(&buf[i], 0xff, area_offset % WRITE_BLOCK_SIZE); in wr_chunk()
126 i += area_offset % WRITE_BLOCK_SIZE; in wr_chunk()
131 memset(&buf[i], 0xff, ROUND_UP(i, WRITE_BLOCK_SIZE) - i); in wr_chunk()
132 i = ROUND_UP(i, WRITE_BLOCK_SIZE); in wr_chunk()
135 ROUND_DOWN(area_offset, WRITE_BLOCK_SIZE), in wr_chunk()