Searched refs:tg_fb (Results 1 – 8 of 8) sorted by relevance
/freebsd/stand/i386/libi386/ |
H A D | vbe.c | 275 gfx_state.tg_fb.fb_height = TEXT_ROWS; in bios_set_text_mode() 276 gfx_state.tg_fb.fb_width = TEXT_COLS; in bios_set_text_mode() 278 gfx_state.tg_fb.fb_mask_red = (1 << palette_format) - 1 << 16; in bios_set_text_mode() 279 gfx_state.tg_fb.fb_mask_green = (1 << palette_format) - 1 << 8; in bios_set_text_mode() 280 gfx_state.tg_fb.fb_mask_blue = (1 << palette_format) - 1 << 0; in bios_set_text_mode() 566 gfx_state.tg_fb.fb_height = TEXT_ROWS; in vbe_init() 567 gfx_state.tg_fb.fb_width = TEXT_COLS; in vbe_init() 709 gfx_state.tg_fb.fb_addr = (uint64_t)mi.PhysBasePtr & 0xffffffff; in vbe_set_mode() 710 gfx_state.tg_fb.fb_height = mi.YResolution; in vbe_set_mode() 711 gfx_state.tg_fb.fb_width = mi.XResolution; in vbe_set_mode() [all …]
|
H A D | vidconsole.c | 642 roff = ffs(gfx_state.tg_fb.fb_mask_red) - 1; in vidc_load_palette() 643 goff = ffs(gfx_state.tg_fb.fb_mask_green) - 1; in vidc_load_palette() 644 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1; in vidc_load_palette() 646 gfx_state.tg_fb.fb_mask_red >> roff, roff, in vidc_load_palette() 647 gfx_state.tg_fb.fb_mask_green >> goff, goff, in vidc_load_palette() 648 gfx_state.tg_fb.fb_mask_blue >> boff, boff); in vidc_load_palette() 676 gfx_fb_drawrect(0, 0, gfx_state.tg_fb.fb_width, in cons_draw_frame() 679 gfx_state.tg_fb.fb_height - gfx_state.tg_origin.tp_row - 1, in cons_draw_frame() 680 gfx_state.tg_fb.fb_width, gfx_state.tg_fb.fb_height, 1); in cons_draw_frame() 683 gfx_state.tg_fb.fb_height - gfx_state.tg_origin.tp_row - 1, 1); in cons_draw_frame() [all …]
|
/freebsd/stand/common/ |
H A D | gfx_fb.c | 191 return (ptov((uint32_t)gfx_state.tg_fb.fb_addr)); in gfx_get_fb_address() 284 roff = ffs(gfx_state.tg_fb.fb_mask_red) - 1; in gfx_fb_color_map() 285 goff = ffs(gfx_state.tg_fb.fb_mask_green) - 1; in gfx_fb_color_map() 286 boff = ffs(gfx_state.tg_fb.fb_mask_blue) - 1; in gfx_fb_color_map() 287 bpp = roundup2(gfx_state.tg_fb.fb_bpp, 8) >> 3; in gfx_fb_color_map() 290 rmask = gfx_state.tg_fb.fb_mask_red >> roff; in gfx_fb_color_map() 295 gmask = gfx_state.tg_fb.fb_mask_green >> goff; in gfx_fb_color_map() 300 bmask = gfx_state.tg_fb.fb_mask_blue >> boff; in gfx_fb_color_map() 422 if (DestinationY + Height > gfx_state.tg_fb.fb_height) in gfxfb_blt_fill() 425 if (DestinationX + Width > gfx_state.tg_fb in gfxfb_blt_fill() [all...] |
H A D | gfx_fb.h | 216 struct gen_fb tg_fb; member
|
/freebsd/stand/efi/loader/ |
H A D | bootinfo.c | 191 efifb.fb_addr = gfx_state.tg_fb.fb_addr; in bi_load_efi_data() 192 efifb.fb_size = gfx_state.tg_fb.fb_size; in bi_load_efi_data() 193 efifb.fb_height = gfx_state.tg_fb.fb_height; in bi_load_efi_data() 194 efifb.fb_width = gfx_state.tg_fb.fb_width; in bi_load_efi_data() 195 efifb.fb_stride = gfx_state.tg_fb.fb_stride; in bi_load_efi_data() 196 efifb.fb_mask_red = gfx_state.tg_fb.fb_mask_red; in bi_load_efi_data() 197 efifb.fb_mask_green = gfx_state.tg_fb.fb_mask_green; in bi_load_efi_data() 198 efifb.fb_mask_blue = gfx_state.tg_fb.fb_mask_blue; in bi_load_efi_data() 199 efifb.fb_mask_reserved = gfx_state.tg_fb.fb_mask_reserved; in bi_load_efi_data()
|
H A D | framebuffer.c | 650 gfx_state->tg_fb.fb_addr = efifb.fb_addr; in efi_find_framebuffer() 651 gfx_state->tg_fb.fb_size = efifb.fb_size; in efi_find_framebuffer() 652 gfx_state->tg_fb.fb_height = efifb.fb_height; in efi_find_framebuffer() 653 gfx_state->tg_fb.fb_width = efifb.fb_width; in efi_find_framebuffer() 654 gfx_state->tg_fb.fb_stride = efifb.fb_stride; in efi_find_framebuffer() 655 gfx_state->tg_fb.fb_mask_red = efifb.fb_mask_red; in efi_find_framebuffer() 656 gfx_state->tg_fb.fb_mask_green = efifb.fb_mask_green; in efi_find_framebuffer() 657 gfx_state->tg_fb.fb_mask_blue = efifb.fb_mask_blue; in efi_find_framebuffer() 658 gfx_state->tg_fb.fb_mask_reserved = efifb.fb_mask_reserved; in efi_find_framebuffer() 660 gfx_state->tg_fb.fb_bpp = fls(efifb.fb_mask_red | efifb.fb_mask_green | in efi_find_framebuffer()
|
/freebsd/stand/efi/libefi/ |
H A D | efi_console.c | 889 gfx_fb_drawrect(0, 0, gfx_state.tg_fb.fb_width, in cons_draw_frame() 892 gfx_state.tg_fb.fb_height - gfx_state.tg_origin.tp_row - 1, in cons_draw_frame() 893 gfx_state.tg_fb.fb_width, gfx_state.tg_fb.fb_height, 1); in cons_draw_frame() 896 gfx_state.tg_fb.fb_height - gfx_state.tg_origin.tp_row - 1, 1); in cons_draw_frame() 898 gfx_state.tg_fb.fb_width - gfx_state.tg_origin.tp_col - 1, in cons_draw_frame() 899 gfx_state.tg_origin.tp_row, gfx_state.tg_fb.fb_width, in cons_draw_frame() 900 gfx_state.tg_fb.fb_height, 1); in cons_draw_frame() 926 roff = ffs(gfx_state.tg_fb.fb_mask_red) - 1; in cons_update_mode() 927 goff = ffs(gfx_state.tg_fb in cons_update_mode() [all...] |
/freebsd/stand/i386/loader/ |
H A D | gfx_bios.c | 65 sizeof(gfx_state.tg_fb), &gfx_state.tg_fb); in bi_load_vbe_data()
|