Lines Matching refs:flags

50 	VBDEBUG(("VbInit() input flags 0x%x gbb flags 0x%x\n", iparams->flags,  in VbInit()
51 gbb.flags)); in VbInit()
68 shared->flags = 0; in VbInit()
69 if (iparams->flags & VB_INIT_FLAG_REC_BUTTON_PRESSED) in VbInit()
70 shared->flags |= VBSD_BOOT_REC_SWITCH_ON; in VbInit()
71 if (iparams->flags & VB_INIT_FLAG_WP_ENABLED) in VbInit()
72 shared->flags |= VBSD_BOOT_FIRMWARE_WP_ENABLED; in VbInit()
73 if (iparams->flags & VB_INIT_FLAG_SW_WP_ENABLED) in VbInit()
74 shared->flags |= VBSD_BOOT_FIRMWARE_SW_WP_ENABLED; in VbInit()
75 if (iparams->flags & VB_INIT_FLAG_S3_RESUME) in VbInit()
76 shared->flags |= VBSD_BOOT_S3_RESUME; in VbInit()
77 if (iparams->flags & VB_INIT_FLAG_RO_NORMAL_SUPPORT) in VbInit()
78 shared->flags |= VBSD_BOOT_RO_NORMAL_SUPPORT; in VbInit()
79 if (iparams->flags & VB_INIT_FLAG_EC_SOFTWARE_SYNC) in VbInit()
80 shared->flags |= VBSD_EC_SOFTWARE_SYNC; in VbInit()
81 if (iparams->flags & VB_INIT_FLAG_EC_SLOW_UPDATE) in VbInit()
82 shared->flags |= VBSD_EC_SLOW_UPDATE; in VbInit()
83 if (iparams->flags & VB_INIT_FLAG_VIRTUAL_REC_SWITCH) in VbInit()
84 shared->flags |= VBSD_BOOT_REC_SWITCH_VIRTUAL; in VbInit()
85 if (iparams->flags & VB_INIT_FLAG_OPROM_MATTERS) in VbInit()
86 shared->flags |= VBSD_OPROM_MATTERS; in VbInit()
87 if (iparams->flags & VB_INIT_FLAG_OPROM_LOADED) in VbInit()
88 shared->flags |= VBSD_OPROM_LOADED; in VbInit()
90 is_s3_resume = (iparams->flags & VB_INIT_FLAG_S3_RESUME ? 1 : 0); in VbInit()
128 iparams->flags & VB_INIT_FLAG_PREVIOUS_BOOT_FAIL) { in VbInit()
136 if (iparams->flags & VB_INIT_FLAG_REC_BUTTON_PRESSED) in VbInit()
163 if (iparams->flags & VB_INIT_FLAG_VIRTUAL_DEV_SWITCH) { in VbInit()
164 shared->flags |= VBSD_HONOR_VIRT_DEV_SWITCH; in VbInit()
174 if (iparams->flags & VB_INIT_FLAG_DEV_SWITCH_ON) in VbInit()
181 if (gbb.flags & GBB_FLAG_FORCE_DEV_SWITCH_ON) in VbInit()
249 shared->flags |= VBSD_BOOT_DEV_SWITCH_ON; in VbInit()
271 if (gbb.flags & GBB_FLAG_LOAD_OPTION_ROMS) in VbInit()
275 if (is_dev && (gbb.flags & GBB_FLAG_ENABLE_ALTERNATE_OS)) in VbInit()
301 if ((iparams->flags & VB_INIT_FLAG_OPROM_MATTERS) && in VbInit()
302 !(iparams->flags & VB_INIT_FLAG_OPROM_LOADED)) { in VbInit()
309 if (!(iparams->flags & VB_INIT_FLAG_BEFORE_OPROM_LOAD)) in VbInit()
337 if ((iparams->flags & VB_INIT_FLAG_OPROM_MATTERS) && in VbInit()
338 (iparams->flags & VB_INIT_FLAG_OPROM_LOADED)) { in VbInit()
345 if (!(iparams->flags & VB_INIT_FLAG_BEFORE_OPROM_LOAD)) in VbInit()