Home
last modified time | relevance | path

Searched refs:efifb (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/boot/efi/loader/
H A Dframebuffer.c71 efifb_color_depth(struct efi_fb *efifb) in efifb_color_depth() argument
76 mask = efifb->fb_mask_red | efifb->fb_mask_green | in efifb_color_depth()
77 efifb->fb_mask_blue | efifb->fb_mask_reserved; in efifb_color_depth()
86 efifb_mask_from_pixfmt(struct efi_fb *efifb, EFI_GRAPHICS_PIXEL_FORMAT pixfmt, in efifb_mask_from_pixfmt() argument
95 efifb->fb_mask_red = 0x000000ff; in efifb_mask_from_pixfmt()
96 efifb->fb_mask_green = 0x0000ff00; in efifb_mask_from_pixfmt()
97 efifb->fb_mask_blue = 0x00ff0000; in efifb_mask_from_pixfmt()
98 efifb->fb_mask_reserved = 0xff000000; in efifb_mask_from_pixfmt()
101 efifb->fb_mask_red = 0x00ff0000; in efifb_mask_from_pixfmt()
102 efifb->fb_mask_green = 0x0000ff00; in efifb_mask_from_pixfmt()
[all …]
H A Dbootinfo.c251 struct efi_fb efifb; in bi_load_efi_data() local
253 if (efi_find_framebuffer(&efifb) == 0) { in bi_load_efi_data()
255 printf("addr, size 0x%lx, 0x%lx\n", efifb.fb_addr, in bi_load_efi_data()
256 efifb.fb_size); in bi_load_efi_data()
257 printf("dimensions %d x %d\n", efifb.fb_width, in bi_load_efi_data()
258 efifb.fb_height); in bi_load_efi_data()
259 printf("stride %d\n", efifb.fb_stride); in bi_load_efi_data()
261 efifb.fb_mask_red, efifb.fb_mask_green, efifb.fb_mask_blue, in bi_load_efi_data()
262 efifb.fb_mask_reserved); in bi_load_efi_data()
264 file_addmetadata(kfp, MODINFOMD_EFI_FB, sizeof (efifb), &efifb); in bi_load_efi_data()
H A Dframebuffer.h34 int efi_find_framebuffer(struct efi_fb *efifb);
/illumos-gate/usr/src/boot/efi/libefi/
H A Defi_console.c47 struct efi_fb efifb; variable
104 extern int efi_find_framebuffer(struct efi_fb *efifb);
233 if (efi_find_framebuffer(&efifb)) { in plat_cons_update_mode()
447 bpp = fls(efifb.fb_mask_red | efifb.fb_mask_green | in efi_framebuffer_setup()
448 efifb.fb_mask_blue | efifb.fb_mask_reserved); in efi_framebuffer_setup()
458 shadow_sz = EFI_SIZE_TO_PAGES(efifb.fb_width * efifb.fb_height * in efi_framebuffer_setup()
467 gfx_fb.framebuffer_common.framebuffer_addr = efifb.fb_addr; in efi_framebuffer_setup()
468 gfx_fb.framebuffer_common.framebuffer_width = efifb.fb_width; in efi_framebuffer_setup()
469 gfx_fb.framebuffer_common.framebuffer_height = efifb.fb_height; in efi_framebuffer_setup()
472 efifb.fb_stride * (bpp >> 3); in efi_framebuffer_setup()
[all …]