Searched refs:fw_slot (Results 1 – 5 of 5) sorted by relevance
/external/vboot_reference/firmware/2lib/ |
D | 2misc.c | 88 vb2_nv_set(ctx, VB2_NV_TRY_NEXT, 1 - sd->fw_slot); in vb2_fail() 94 if (sd->last_fw_slot != 1 - sd->fw_slot || in vb2_fail() 332 sd->fw_slot = vb2_nv_get(ctx, VB2_NV_TRY_NEXT); in vb2_select_fw_slot() 338 sd->last_fw_slot == sd->fw_slot && in vb2_select_fw_slot() 344 sd->fw_slot = 1 - sd->fw_slot; in vb2_select_fw_slot() 345 vb2_nv_set(ctx, VB2_NV_TRY_NEXT, sd->fw_slot); in vb2_select_fw_slot() 357 vb2_nv_set(ctx, VB2_NV_FW_TRIED, sd->fw_slot); in vb2_select_fw_slot() 360 if (sd->fw_slot) in vb2_select_fw_slot()
|
/external/vboot_reference/tests/ |
D | vb2_misc_tests.c | 220 sd->fw_slot = 0; in fail_tests() 233 sd->fw_slot = 1; in fail_tests() 425 TEST_EQ(sd->fw_slot, 0, "selected A"); in select_slot_tests() 436 TEST_EQ(sd->fw_slot, 1, "selected B"); in select_slot_tests() 446 TEST_EQ(sd->fw_slot, 1, "selected B"); in select_slot_tests() 457 TEST_EQ(sd->fw_slot, 0, "selected A"); in select_slot_tests()
|
/external/vboot_reference/firmware/2lib/include/ |
D | 2struct.h | 81 uint32_t fw_slot; member
|
/external/vboot_reference/firmware/lib21/ |
D | misc.c | 221 sd->last_fw_slot == sd->fw_slot && in vb2_load_fw_preamble()
|
/external/vboot_reference/firmware/lib20/ |
D | misc.c | 209 sd->last_fw_slot == sd->fw_slot && in vb2_load_fw_preamble()
|