Lines Matching refs:vb2_nv_set
78 vb2_nv_set(ctx, VB2_NV_FW_RESULT, VB2_FW_RESULT_FAILURE); in vb2_fail()
81 vb2_nv_set(ctx, VB2_NV_TRY_COUNT, 0); in vb2_fail()
88 vb2_nv_set(ctx, VB2_NV_TRY_NEXT, 1 - sd->fw_slot); in vb2_fail()
110 vb2_nv_set(ctx, VB2_NV_RECOVERY_REQUEST, reason); in vb2_fail()
111 vb2_nv_set(ctx, VB2_NV_RECOVERY_SUBCODE, subcode); in vb2_fail()
152 vb2_nv_set(ctx, VB2_NV_RECOVERY_REQUEST, in vb2_check_recovery()
224 vb2_nv_set(ctx, VB2_NV_DISABLE_DEV_REQUEST, 0); in vb2_check_dev_switch()
255 vb2_nv_set(ctx, VB2_NV_DEV_BOOT_USB, 0); in vb2_check_dev_switch()
256 vb2_nv_set(ctx, VB2_NV_DEV_BOOT_LEGACY, 0); in vb2_check_dev_switch()
257 vb2_nv_set(ctx, VB2_NV_DEV_BOOT_SIGNED_ONLY, 0); in vb2_check_dev_switch()
296 vb2_nv_set(ctx, VB2_NV_CLEAR_TPM_OWNER_REQUEST, 0); in vb2_check_tpm_clear()
311 vb2_nv_set(ctx, VB2_NV_CLEAR_TPM_OWNER_DONE, 1); in vb2_check_tpm_clear()
325 vb2_nv_set(ctx, VB2_NV_FW_PREV_TRIED, sd->last_fw_slot); in vb2_select_fw_slot()
326 vb2_nv_set(ctx, VB2_NV_FW_PREV_RESULT, sd->last_fw_result); in vb2_select_fw_slot()
329 vb2_nv_set(ctx, VB2_NV_FW_RESULT, VB2_FW_RESULT_UNKNOWN); in vb2_select_fw_slot()
345 vb2_nv_set(ctx, VB2_NV_TRY_NEXT, sd->fw_slot); in vb2_select_fw_slot()
350 vb2_nv_set(ctx, VB2_NV_FW_RESULT, VB2_FW_RESULT_TRYING); in vb2_select_fw_slot()
353 vb2_nv_set(ctx, VB2_NV_TRY_COUNT, tries - 1); in vb2_select_fw_slot()
357 vb2_nv_set(ctx, VB2_NV_FW_TRIED, sd->fw_slot); in vb2_select_fw_slot()