Searched refs:FLASH_ERASE_SIZE (Results 1 – 2 of 2) sorted by relevance
21 #define FLASH_ERASE_SIZE DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) macro83 sector = (offs / FLASH_ERASE_SIZE) * FLASH_ERASE_SIZE; in flash_cc13xx_cc26xx_range_protected()99 sector += FLASH_ERASE_SIZE; in flash_cc13xx_cc26xx_range_protected()119 if (((offs % FLASH_ERASE_SIZE) != 0) || in flash_cc13xx_cc26xx_erase()120 ((size % FLASH_ERASE_SIZE) != 0)) { in flash_cc13xx_cc26xx_erase()143 cnt = size / FLASH_ERASE_SIZE; in flash_cc13xx_cc26xx_erase()144 for (i = 0; i < cnt; i++, offs += FLASH_ERASE_SIZE) { in flash_cc13xx_cc26xx_erase()278 .pages_count = FLASH_SIZE / FLASH_ERASE_SIZE,279 .pages_size = FLASH_ERASE_SIZE,
20 #define FLASH_ERASE_SIZE DT_PROP(SOC_NV_FLASH_NODE, erase_block_size) macro208 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()