Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/retention/
Dbootmode.c14 static const struct device *boot_mode_dev = DEVICE_DT_GET(DT_CHOSEN(zephyr_boot_mode)); variable
20 rc = retention_is_valid(boot_mode_dev); in bootmode_check()
25 rc = retention_read(boot_mode_dev, 0, &stored_mode, sizeof(stored_mode)); in bootmode_check()
40 return retention_write(boot_mode_dev, 0, &boot_mode, sizeof(boot_mode)); in bootmode_set()
45 return retention_clear(boot_mode_dev); in bootmode_clear()