Home
last modified time | relevance | path

Searched refs:FLASH_STM32_REGS (Results 1 – 13 of 13) sorted by relevance

/Zephyr-latest/drivers/flash/
Dflash_stm32.c66 if (FLASH_STM32_REGS(dev)->FLASH_STM32_SR & FLASH_STM32_SR_ERRORS) { in flash_stm32_check_status()
68 (unsigned long)FLASH_STM32_REGS(dev)->FLASH_STM32_SR & in flash_stm32_check_status()
71 FLASH_STM32_REGS(dev)->FLASH_STM32_SR = FLASH_STM32_REGS(dev)->FLASH_STM32_SR & in flash_stm32_check_status()
98 while ((FLASH_STM32_REGS(dev)->FLASH_STM32_SR & busy_flags)) { in flash_stm32_wait_flash_idle()
124 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_flush_caches()
233 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_write_protection()
293 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_lock()
369 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_control_register_disable()
398 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_disable()
Dflash_stm32f7x.c43 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_byte()
75 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_sector()
165 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_write()
192 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_read()
200 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_rdp_level()
277 if (FLASH_STM32_REGS(dev)->OPTCR & FLASH_OPTCR_nDBANK) { in flash_stm32_page_layout()
Dflash_stm32f4x.c46 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_valid_range()
85 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_value()
139 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_sector()
237 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_write()
269 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_read()
296 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_wp_sectors()
308 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_rdp_level()
Dflash_stm32l4x.c73 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_dword()
145 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_page()
252 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_write()
284 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_read()
308 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_rdp_level()
Dflash_stm32g4x.c79 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_dword()
150 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_page()
261 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_write()
293 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_read()
317 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_rdp_level()
Dflash_stm32h7x.c68 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_optb()
108 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_get_rdp_level()
122 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_option_bytes_lock()
174 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev);
267 while ((FLASH_STM32_REGS(dev)->SR1 & FLASH_SR_QW) ||
268 (FLASH_STM32_REGS(dev)->SR2 & FLASH_SR_QW))
270 while (FLASH_STM32_REGS(dev)->SR1 & FLASH_SR_QW)
285 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev);
487 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev);
Dflash_stm32wbx.c64 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_dword()
208 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_page()
410 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_check_status()
Dflash_stm32f2x.c57 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_byte()
92 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_sector()
Dflash_stm32g0x.c60 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_dword()
107 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_page()
Dflash_stm32l5x.c127 (((FLASH_STM32_REGS(flash_device)->OPTR & FLASH_STM32_DBANK) \
162 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_nwords()
226 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_page()
Dflash_stm32wbax.c110 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_qword()
158 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_page()
Dflash_stm32f1x.c129 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_value()
172 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_block_erase_loop()
Dflash_stm32.h76 #define FLASH_STM32_REGS(dev) (FLASH_STM32_PRIV(dev)->regs) macro