Home
last modified time | relevance | path

Searched refs:OPTR (Results 1 – 5 of 5) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_stm32l4x.c156 if ((regs->OPTR & FLASH_OPTR_DUALBANK) || in erase_page()
167 if (regs->OPTR & FLASH_STM32_DBANK) { in erase_page()
259 if ((regs->OPTR & mask) == value) { in flash_stm32_option_bytes_write()
268 regs->OPTR = (regs->OPTR & ~mask) | value; in flash_stm32_option_bytes_write()
286 return regs->OPTR; in flash_stm32_option_bytes_read()
310 return (regs->OPTR & FLASH_OPTR_RDP_Msk) >> FLASH_OPTR_RDP_Pos; in flash_stm32_get_rdp_level()
Dflash_stm32g4x.c268 if ((regs->OPTR & mask) == value) { in flash_stm32_option_bytes_write()
277 regs->OPTR = (regs->OPTR & ~mask) | value; in flash_stm32_option_bytes_write()
295 return regs->OPTR; in flash_stm32_option_bytes_read()
319 return (regs->OPTR & FLASH_OPTR_RDP_Msk) >> FLASH_OPTR_RDP_Pos; in flash_stm32_get_rdp_level()
369 if (READ_BIT(FLASH->OPTR, FLASH_STM32_DBANK) == 0U) { in flash_stm32_check_configuration()
Dflash_stm32g0x.c134 bool swap_enabled = (regs->OPTR & FLASH_OPTR_nSWAP_BANK) == 0; in erase_page()
234 if ((FLASH->OPTR & FLASH_OPTR_DUAL_BANK) == 0) { in flash_stm32_check_configuration()
Dflash_stm32l5x.c127 (((FLASH_STM32_REGS(flash_device)->OPTR & FLASH_STM32_DBANK) \
247 ((regs->OPTR & FLASH_OPTR_SWAP_BANK) == FLASH_OPTR_SWAP_BANK); in erase_page()
Dflash_stm32.h46 #define OPTR OPTCR macro