Lines Matching full:mode

29 		u32 mode;  member
42 if (!strstarts(option, "mode=")) in parse_modenum()
44 option += strlen("mode="); in parse_modenum()
49 cmdline.mode = m; in parse_modenum()
138 efi_graphics_output_protocol_mode_t *mode; in choose_mode_modenum() local
145 mode = efi_table_attr(gop, mode); in choose_mode_modenum()
147 cur_mode = efi_table_attr(mode, mode); in choose_mode_modenum()
148 if (cmdline.mode == cur_mode) in choose_mode_modenum()
151 max_mode = efi_table_attr(mode, max_mode); in choose_mode_modenum()
152 if (cmdline.mode >= max_mode) { in choose_mode_modenum()
153 efi_err("Requested mode is invalid\n"); in choose_mode_modenum()
157 status = efi_call_proto(gop, query_mode, cmdline.mode, in choose_mode_modenum()
160 efi_err("Couldn't get mode information\n"); in choose_mode_modenum()
173 return cmdline.mode; in choose_mode_modenum()
192 efi_graphics_output_protocol_mode_t *mode; in choose_mode_res() local
201 mode = efi_table_attr(gop, mode); in choose_mode_res()
203 cur_mode = efi_table_attr(mode, mode); in choose_mode_res()
204 info = efi_table_attr(mode, info); in choose_mode_res()
215 max_mode = efi_table_attr(mode, max_mode); in choose_mode_res()
241 efi_err("Couldn't find requested mode\n"); in choose_mode_res()
250 efi_graphics_output_protocol_mode_t *mode; in choose_mode_auto() local
261 mode = efi_table_attr(gop, mode); in choose_mode_auto()
263 cur_mode = efi_table_attr(mode, mode); in choose_mode_auto()
264 max_mode = efi_table_attr(mode, max_mode); in choose_mode_auto()
266 info = efi_table_attr(mode, info); in choose_mode_auto()
313 efi_graphics_output_protocol_mode_t *mode; in choose_mode_list() local
326 mode = efi_table_attr(gop, mode); in choose_mode_list()
328 cur_mode = efi_table_attr(mode, mode); in choose_mode_list()
329 max_mode = efi_table_attr(mode, max_mode); in choose_mode_list()
332 efi_puts(" * = current mode\n" in choose_mode_list()
333 " - = unusable mode\n"); in choose_mode_list()
368 efi_printk("Mode %3u %c%c: Resolution %ux%u-%s%.0hhu\n", in choose_mode_list()
387 efi_graphics_output_protocol_mode_t *mode; in set_mode() local
407 mode = efi_table_attr(gop, mode); in set_mode()
408 cur_mode = efi_table_attr(mode, mode); in set_mode()
414 efi_err("Failed to set requested mode\n"); in set_mode()
477 efi_graphics_output_protocol_mode_t *mode; in find_gop() local
487 mode = efi_table_attr(gop, mode); in find_gop()
488 info = efi_table_attr(mode, info); in find_gop()
518 efi_graphics_output_protocol_mode_t *mode; in setup_gop() local
527 /* Change mode if requested */ in setup_gop()
531 mode = efi_table_attr(gop, mode); in setup_gop()
532 info = efi_table_attr(mode, info); in setup_gop()
539 efi_set_u64_split(efi_table_attr(mode, frame_buffer_base), in setup_gop()