Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/flash/
Dflash_stm32f4x.c276 uint64_t changed_sectors, in flash_stm32_update_wp_sectors() argument
279 changed_sectors <<= FLASH_OPTCR_nWRP_Pos; in flash_stm32_update_wp_sectors()
282 if ((changed_sectors & FLASH_OPTCR_nWRP_Msk) != changed_sectors) { in flash_stm32_update_wp_sectors()
287 protected_sectors = ~protected_sectors & changed_sectors; in flash_stm32_update_wp_sectors()
289 return flash_stm32_option_bytes_write(dev, (uint32_t)changed_sectors, in flash_stm32_update_wp_sectors()
Dflash_stm32h7x.c176 int flash_stm32_update_wp_sectors(const struct device *dev, uint64_t changed_sectors, in flash_stm32_update_wp_sectors() argument
192 if ((changed_sectors & sectors_mask) != changed_sectors) { in flash_stm32_update_wp_sectors()
199 changed_sectors_reg = (changed_sectors >> sectors_per_bank * i) & bank_mask; in flash_stm32_update_wp_sectors()
Dflash_stm32.h347 uint64_t changed_sectors,