Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/flash/
Dsoc_flash_cc13xx_cc26xx.c21 #define FLASH_ERASE_SIZE DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) macro
80 sector = (offs / FLASH_ERASE_SIZE) * FLASH_ERASE_SIZE; in flash_cc13xx_cc26xx_range_protected()
96 sector += FLASH_ERASE_SIZE; in flash_cc13xx_cc26xx_range_protected()
116 if (((offs % FLASH_ERASE_SIZE) != 0) || in flash_cc13xx_cc26xx_erase()
117 ((size % FLASH_ERASE_SIZE) != 0)) { in flash_cc13xx_cc26xx_erase()
140 cnt = size / FLASH_ERASE_SIZE; in flash_cc13xx_cc26xx_erase()
141 for (i = 0; i < cnt; i++, offs += FLASH_ERASE_SIZE) { in flash_cc13xx_cc26xx_erase()
251 .pages_count = FLASH_SIZE / FLASH_ERASE_SIZE,
252 .pages_size = FLASH_ERASE_SIZE,
Dflash_smartbond.c20 #define FLASH_ERASE_SIZE DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) macro
208 if ((offset % FLASH_ERASE_SIZE) != 0) { in flash_smartbond_erase()
212 if ((size % FLASH_ERASE_SIZE) != 0) { in flash_smartbond_erase()
237 offset += FLASH_ERASE_SIZE; in flash_smartbond_erase()
238 size -= FLASH_ERASE_SIZE; in flash_smartbond_erase()