Lines Matching refs:vesa
206 struct vesa_mode_info *vesa = &mode_info.vesa; in setup_video() local
209 if (!vesa->x_resolution || !vesa->y_resolution) 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()
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()
326 int vbe_setup_video_priv(struct vesa_mode_info *vesa, in vbe_setup_video_priv() argument
330 if (!vesa->x_resolution) in vbe_setup_video_priv()
332 uc_priv->xsize = vesa->x_resolution; in vbe_setup_video_priv()
333 uc_priv->ysize = vesa->y_resolution; in vbe_setup_video_priv()
334 switch (vesa->bits_per_pixel) { in vbe_setup_video_priv()
345 plat->base = vesa->phys_base_ptr; in vbe_setup_video_priv()
346 plat->size = vesa->bytes_per_scanline * vesa->y_resolution; in vbe_setup_video_priv()
371 ret = vbe_setup_video_priv(&mode_info.vesa, uc_priv, plat); in vbe_setup_video()
378 mode_info.vesa.bits_per_pixel); in vbe_setup_video()