Searched refs:flash_sam0_write_protection (Results 1 – 1 of 1) sorted by relevance
79 static int flash_sam0_write_protection(const struct device *dev, bool enable);256 err = flash_sam0_write_protection(dev, false); in flash_sam0_write()276 int err2 = flash_sam0_write_protection(dev, true); in flash_sam0_write()312 err = flash_sam0_write_protection(dev, false); in flash_sam0_write()331 int err2 = flash_sam0_write_protection(dev, true); in flash_sam0_write()381 err = flash_sam0_write_protection(dev, false); in flash_sam0_erase()392 int err2 = flash_sam0_write_protection(dev, true); in flash_sam0_erase()403 static int flash_sam0_write_protection(const struct device *dev, bool enable) in flash_sam0_write_protection() function487 return flash_sam0_write_protection(dev, false); in flash_sam0_init()