Lines Matching full:gop

134 static u32 choose_mode_modenum(efi_graphics_output_protocol_t *gop)  in choose_mode_modenum()  argument
145 mode = efi_table_attr(gop, mode); in choose_mode_modenum()
157 status = efi_call_proto(gop, query_mode, cmdline.mode, in choose_mode_modenum()
188 static u32 choose_mode_res(efi_graphics_output_protocol_t *gop) in choose_mode_res() argument
201 mode = efi_table_attr(gop, mode); in choose_mode_res()
221 status = efi_call_proto(gop, query_mode, m, in choose_mode_res()
246 static u32 choose_mode_auto(efi_graphics_output_protocol_t *gop) in choose_mode_auto() argument
261 mode = efi_table_attr(gop, mode); in choose_mode_auto()
281 status = efi_call_proto(gop, query_mode, m, in choose_mode_auto()
309 static u32 choose_mode_list(efi_graphics_output_protocol_t *gop) in choose_mode_list() argument
326 mode = efi_table_attr(gop, mode); in choose_mode_list()
335 status = efi_call_proto(gop, query_mode, m, in choose_mode_list()
385 static void set_mode(efi_graphics_output_protocol_t *gop) in set_mode() argument
392 new_mode = choose_mode_modenum(gop); in set_mode()
395 new_mode = choose_mode_res(gop); in set_mode()
398 new_mode = choose_mode_auto(gop); in set_mode()
401 new_mode = choose_mode_list(gop); in set_mode()
407 mode = efi_table_attr(gop, mode); in set_mode()
413 if (efi_call_proto(gop, set_mode, new_mode) != EFI_SUCCESS) in set_mode()
476 efi_graphics_output_protocol_t *gop; in find_gop() local
483 status = efi_bs_call(handle_protocol, h, proto, (void **)&gop); in find_gop()
487 mode = efi_table_attr(gop, mode); in find_gop()
495 * provide multiple GOP devices, not all of which are in find_gop()
497 * for a GOP implementing the ConOut protocol, and if in find_gop()
498 * one isn't found, to just fall back to the first GOP. in find_gop()
500 * Once we've found a GOP supporting ConOut, in find_gop()
505 return gop; in find_gop()
508 first_gop = gop; in find_gop()
517 efi_graphics_output_protocol_t *gop; in setup_gop() local
521 gop = find_gop(proto, size, handles); in setup_gop()
524 if (!gop) in setup_gop()
528 set_mode(gop); in setup_gop()
531 mode = efi_table_attr(gop, mode); in setup_gop()