Lines Matching refs:cur_mode
142 u32 max_mode, cur_mode; in choose_mode_modenum() local
147 cur_mode = efi_table_attr(mode, mode); in choose_mode_modenum()
148 if (cmdline.mode == cur_mode) in choose_mode_modenum()
149 return cur_mode; in choose_mode_modenum()
154 return cur_mode; in choose_mode_modenum()
161 return cur_mode; in choose_mode_modenum()
170 return cur_mode; in choose_mode_modenum()
196 u32 max_mode, cur_mode; in choose_mode_res() local
203 cur_mode = efi_table_attr(mode, mode); in choose_mode_res()
213 return cur_mode; in choose_mode_res()
218 if (m == cur_mode) in choose_mode_res()
243 return cur_mode; in choose_mode_res()
254 u32 max_mode, cur_mode, best_mode, area; in choose_mode_auto() local
263 cur_mode = efi_table_attr(mode, mode); in choose_mode_auto()
273 best_mode = cur_mode; in choose_mode_auto()
278 if (m == cur_mode) in choose_mode_auto()
317 u32 max_mode, cur_mode; in choose_mode_list() local
328 cur_mode = efi_table_attr(mode, mode); in choose_mode_list()
370 m == cur_mode ? '*' : ' ', in choose_mode_list()
382 return cur_mode; in choose_mode_list()
388 u32 cur_mode, new_mode; in set_mode() local
408 cur_mode = efi_table_attr(mode, mode); in set_mode()
410 if (new_mode == cur_mode) in set_mode()