Lines Matching refs:screen_info
204 void setup_video(struct screen_info *screen_info) in setup_video() argument
212 screen_info->orig_video_isVGA = VIDEO_TYPE_VLFB; in setup_video()
214 screen_info->lfb_width = vesa->x_resolution; in setup_video()
215 screen_info->lfb_height = vesa->y_resolution; in setup_video()
216 screen_info->lfb_depth = vesa->bits_per_pixel; in setup_video()
217 screen_info->lfb_linelength = vesa->bytes_per_scanline; in setup_video()
218 screen_info->lfb_base = vesa->phys_base_ptr; in setup_video()
219 screen_info->lfb_size = in setup_video()
220 ALIGN(screen_info->lfb_linelength * screen_info->lfb_height, in setup_video()
222 screen_info->lfb_size >>= 16; in setup_video()
223 screen_info->red_size = vesa->red_mask_size; in setup_video()
224 screen_info->red_pos = vesa->red_mask_pos; in setup_video()
225 screen_info->green_size = vesa->green_mask_size; in setup_video()
226 screen_info->green_pos = vesa->green_mask_pos; in setup_video()
227 screen_info->blue_size = vesa->blue_mask_size; in setup_video()
228 screen_info->blue_pos = vesa->blue_mask_pos; in setup_video()
229 screen_info->rsvd_size = vesa->reserved_mask_size; in setup_video()
230 screen_info->rsvd_pos = vesa->reserved_mask_pos; in setup_video()