Searched refs:FLASH_ERASE_BLK_SZ (Results 1 – 2 of 2) sorted by relevance
11 #define FLASH_ERASE_BLK_SZ DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) macro422 if ((offset % FLASH_ERASE_BLK_SZ) != 0) { in flash_it8xxx2_erase()425 if ((len % FLASH_ERASE_BLK_SZ) != 0) { in flash_it8xxx2_erase()441 for (; len > 0; len -= FLASH_ERASE_BLK_SZ) { in flash_it8xxx2_erase()443 offset += FLASH_ERASE_BLK_SZ; in flash_it8xxx2_erase()
11 #define FLASH_ERASE_BLK_SZ DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) macro126 .pages_count = DT_REG_SIZE(SOC_NV_FLASH_NODE) / FLASH_ERASE_BLK_SZ,