Searched refs:FLASH_WRITE_BLOCK_SIZE (Results 1 – 4 of 4) sorted by relevance
26 #define FLASH_WRITE_BLOCK_SIZE MAX(DT_PROP(SOC_NV_FLASH_NODE, write_block_size), MIN_WRITE_SIZE) macro29 BUILD_ASSERT((FLASH_WRITE_BLOCK_SIZE & (MIN_WRITE_SIZE - 1)) == 0,49 .write_block_size = FLASH_WRITE_BLOCK_SIZE,90 uint32_t aligned[FLASH_WRITE_BLOCK_SIZE / sizeof(uint32_t)] = {0}; in flash_ambiq_write()97 ((uint32_t)offset & (FLASH_WRITE_BLOCK_SIZE - 1)) || in flash_ambiq_write()98 (len & (FLASH_WRITE_BLOCK_SIZE - 1))) { in flash_ambiq_write()110 for (int i = 0; i < len / FLASH_WRITE_BLOCK_SIZE; i++) { in flash_ambiq_write()111 for (int j = 0; j < FLASH_WRITE_BLOCK_SIZE / sizeof(uint32_t); j++) { in flash_ambiq_write()119 (uint32_t *)(SOC_NV_FLASH_ADDR + offset + i * FLASH_WRITE_BLOCK_SIZE), in flash_ambiq_write()120 FLASH_WRITE_BLOCK_SIZE / sizeof(uint32_t)); in flash_ambiq_write()[all …]
38 #define FLASH_WRITE_BLOCK_SIZE \ macro41 __aligned(FLASH_WRITE_BLOCK_SIZE)42 uint8_t prepared_mark[FLASH_WRITE_BLOCK_SIZE] = {ERASED_VAL};106 uint8_t new_val[FLASH_WRITE_BLOCK_SIZE]; in test_prepare_storage()122 FLASH_WRITE_BLOCK_SIZE); in test_prepare_storage()
48 #define FLASH_WRITE_BLOCK_SIZE \ macro51 BUILD_ASSERT((CONFIG_IMG_BLOCK_BUF_SIZE % FLASH_WRITE_BLOCK_SIZE == 0),
337 * :github:`5305` - flash: use generated FLASH_WRITE_BLOCK_SIZE in flash_stm32_api