Lines Matching refs:vlfb_info

17 #define vlfb_info    vga_console_info.u.vesa_lfb  macro
49 if ( (vlfb_info.bits_per_pixel < 8) || (vlfb_info.bits_per_pixel > 32) ) in vesa_early_init()
53 font = ((vlfb_info.height <= 600) ? &font_vga_8x8 : in vesa_early_init()
54 (vlfb_info.height <= 768) ? &font_vga_8x14 : &font_vga_8x16); in vesa_early_init()
65 vram_vmode = vlfb_info.height * vlfb_info.bytes_per_line; in vesa_early_init()
69 vram_total = vram_total ? (vram_total << 20) : (vlfb_info.lfb_size << 16); in vesa_early_init()
92 lfbp.bits_per_pixel = vlfb_info.bits_per_pixel; in vesa_init()
93 lfbp.bytes_per_line = vlfb_info.bytes_per_line; in vesa_init()
94 lfbp.width = vlfb_info.width; in vesa_init()
95 lfbp.height = vlfb_info.height; in vesa_init()
97 lfbp.text_columns = vlfb_info.width / font->width; in vesa_init()
98 lfbp.text_rows = vlfb_info.height / font->height; in vesa_init()
100 lfbp.lfb = lfb = ioremap(vlfb_info.lfb_base, vram_remap); in vesa_init()
108 vlfb_info.lfb_base, lfb, in vesa_init()
111 vlfb_info.width, vlfb_info.height, in vesa_init()
112 vlfb_info.bits_per_pixel, vlfb_info.bytes_per_line, in vesa_init()
116 vlfb_info.bits_per_pixel > 8 ? "True" : in vesa_init()
118 vlfb_info.rsvd_size, vlfb_info.red_size, in vesa_init()
119 vlfb_info.green_size, vlfb_info.blue_size, in vesa_init()
120 vlfb_info.rsvd_pos, vlfb_info.red_pos, in vesa_init()
121 vlfb_info.green_pos, vlfb_info.blue_pos); in vesa_init()
123 if ( vlfb_info.bits_per_pixel > 8 ) in vesa_init()
128 ((grey >> (32 - vlfb_info. red_size)) << vlfb_info. red_pos) | in vesa_init()
129 ((grey >> (32 - vlfb_info.green_size)) << vlfb_info.green_pos) | in vesa_init()
130 ((grey >> (32 - vlfb_info. blue_size)) << vlfb_info. blue_pos); in vesa_init()
170 rc = mtrr_add(vlfb_info.lfb_base, size_total, type, 1); in vesa_mtrr_init()
190 unsigned int i, bpp = (vlfb_info.bits_per_pixel + 7) >> 3; in vesa_endboot()
191 for ( i = 0; i < vlfb_info.height; i++ ) in vesa_endboot()
192 memset(lfb + i * vlfb_info.bytes_per_line, 0, in vesa_endboot()
193 vlfb_info.width * bpp); in vesa_endboot()