Searched refs:changed_sectors (Results 1 – 3 of 3) sorted by relevance
276 uint64_t changed_sectors, in flash_stm32_update_wp_sectors() argument279 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()
176 int flash_stm32_update_wp_sectors(const struct device *dev, uint64_t changed_sectors, in flash_stm32_update_wp_sectors() argument192 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()
347 uint64_t changed_sectors,