Searched refs:STM32_FLASH (Results 1 – 1 of 1) sorted by relevance
14 #define STM32_FLASH ((struct stm32_flash_regs *)STM32_FLASH_CNTL_BASE) macro20 | FLASH_ACR_DCEN, &STM32_FLASH->acr); in stm32_flash_latency_cfg()26 setbits_le32(&STM32_FLASH->cr, STM32_FLASH_CR_LOCK); in stm32_flash_lock()28 writel(STM32_FLASH_KEY1, &STM32_FLASH->key); in stm32_flash_lock()29 writel(STM32_FLASH_KEY2, &STM32_FLASH->key); in stm32_flash_lock()97 while (readl(&STM32_FLASH->sr) & STM32_FLASH_SR_BSY) in flash_erase()101 clrbits_le32(&STM32_FLASH->cr, STM32_FLASH_CR_SNB_MASK); in flash_erase()104 setbits_le32(&STM32_FLASH->cr, in flash_erase()107 setbits_le32(&STM32_FLASH->cr, in flash_erase()113 setbits_le32(&STM32_FLASH->cr, STM32_FLASH_CR_SER); in flash_erase()[all …]