Searched refs:protected_sectors (Results 1 – 3 of 3) sorted by relevance
277 uint64_t protected_sectors) in flash_stm32_update_wp_sectors() argument280 protected_sectors <<= FLASH_OPTCR_nWRP_Pos; in flash_stm32_update_wp_sectors()287 protected_sectors = ~protected_sectors & changed_sectors; in flash_stm32_update_wp_sectors()290 (uint32_t)protected_sectors); in flash_stm32_update_wp_sectors()294 uint64_t *protected_sectors) in flash_stm32_get_wp_sectors() argument298 *protected_sectors = in flash_stm32_get_wp_sectors()
177 uint64_t protected_sectors) in flash_stm32_update_wp_sectors() argument198 protected_sectors_reg = (protected_sectors >> sectors_per_bank * i) & bank_mask; in flash_stm32_update_wp_sectors()231 int flash_stm32_get_wp_sectors(const struct device *dev, uint64_t *protected_sectors) in flash_stm32_get_wp_sectors() argument235 *protected_sectors = (~regs->WPSN_CUR1 & WP_MSK) >> WP_POS; in flash_stm32_get_wp_sectors()241 *protected_sectors |= proctected_sectors_2 << sectors_per_bank; in flash_stm32_get_wp_sectors()
348 uint64_t protected_sectors);351 uint64_t *protected_sectors);