Lines Matching refs:efifb
47 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()
477 pos = ffs(efifb.fb_mask_red); in efi_framebuffer_setup()
480 gfx_fb.u.fb2.framebuffer_red_mask_size = fls(efifb.fb_mask_red >> pos); in efi_framebuffer_setup()
482 pos = ffs(efifb.fb_mask_green); in efi_framebuffer_setup()
486 fls(efifb.fb_mask_green >> pos); in efi_framebuffer_setup()
488 pos = ffs(efifb.fb_mask_blue); in efi_framebuffer_setup()
492 fls(efifb.fb_mask_blue >> pos); in efi_framebuffer_setup()
531 if (efi_find_framebuffer(&efifb)) { in efi_cons_probe()