Searched refs:flash_stm32_write_protection (Results 1 – 1 of 1) sorted by relevance
45 static int flash_stm32_write_protection(const struct device *dev, bool enable);178 rc = flash_stm32_write_protection(dev, false); in flash_stm32_erase()185 int rc2 = flash_stm32_write_protection(dev, true); in flash_stm32_erase()215 rc = flash_stm32_write_protection(dev, false); in flash_stm32_write()220 int rc2 = flash_stm32_write_protection(dev, true); in flash_stm32_write()231 static int flash_stm32_write_protection(const struct device *dev, bool enable) in flash_stm32_write_protection() function307 rc = flash_stm32_write_protection(dev, false); in flash_stm32_option_bytes_lock()350 rc = flash_stm32_write_protection(dev, true); in flash_stm32_option_bytes_lock()