Home
last modified time | relevance | path

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

/external/vboot_reference/firmware/lib/
Dvboot_nvstorage.c39 #define DEV_FLAGS_OFFSET 4 macro
140 *dest = (raw[DEV_FLAGS_OFFSET] & DEV_BOOT_USB_MASK ? 1 : 0); in VbNvGet()
144 *dest = (raw[DEV_FLAGS_OFFSET] & DEV_BOOT_LEGACY_MASK ? 1 : 0); in VbNvGet()
148 *dest = (raw[DEV_FLAGS_OFFSET] & DEV_BOOT_SIGNED_ONLY_MASK ? in VbNvGet()
271 raw[DEV_FLAGS_OFFSET] |= DEV_BOOT_USB_MASK; in VbNvSet()
273 raw[DEV_FLAGS_OFFSET] &= ~DEV_BOOT_USB_MASK; in VbNvSet()
278 raw[DEV_FLAGS_OFFSET] |= DEV_BOOT_LEGACY_MASK; in VbNvSet()
280 raw[DEV_FLAGS_OFFSET] &= ~DEV_BOOT_LEGACY_MASK; in VbNvSet()
285 raw[DEV_FLAGS_OFFSET] |= DEV_BOOT_SIGNED_ONLY_MASK; in VbNvSet()
287 raw[DEV_FLAGS_OFFSET] &= ~DEV_BOOT_SIGNED_ONLY_MASK; in VbNvSet()