Searched refs:FLASH_STM32_REGS (Results 1 – 13 of 13) sorted by relevance
66 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()
43 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()
46 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()
73 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()
79 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()
68 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);
64 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()
57 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_byte()92 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_sector()
60 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_dword()107 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_page()
127 (((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()
110 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_qword()158 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in erase_page()
129 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in write_value()172 FLASH_TypeDef *regs = FLASH_STM32_REGS(dev); in flash_stm32_block_erase_loop()
76 #define FLASH_STM32_REGS(dev) (FLASH_STM32_PRIV(dev)->regs) macro