Lines Matching refs:vid_priv
99 struct video_priv *vid_priv = dev_get_uclass_priv(vid_dev); in vidconsole_newline() local
111 vid_priv->colour_bg); in vidconsole_newline()
248 struct video_priv *vid_priv = dev_get_uclass_priv(dev->parent); in vidconsole_escape_char() local
290 video_set_default_colors(vid_priv); in vidconsole_escape_char()
294 vid_priv->fg_col_idx |= 8; in vidconsole_escape_char()
295 vid_priv->colour_fg = vid_console_color( in vidconsole_escape_char()
296 vid_priv, vid_priv->fg_col_idx); in vidconsole_escape_char()
300 vid_priv->fg_col_idx &= ~7; in vidconsole_escape_char()
301 vid_priv->fg_col_idx |= val - 30; in vidconsole_escape_char()
302 vid_priv->colour_fg = vid_console_color( in vidconsole_escape_char()
303 vid_priv, vid_priv->fg_col_idx); in vidconsole_escape_char()
307 vid_priv->colour_bg = vid_console_color( in vidconsole_escape_char()
308 vid_priv, val - 40); in vidconsole_escape_char()
412 struct video_priv *vid_priv = dev_get_uclass_priv(vid); in vidconsole_pre_probe() local
414 priv->xsize_frac = VID_TO_POS(vid_priv->xsize); in vidconsole_pre_probe()
455 struct video_priv *vid_priv = dev_get_uclass_priv(vid_dev); in vidconsole_position_cursor() local
457 priv->xcur_frac = VID_TO_POS(min_t(short, col, vid_priv->xsize - 1)); in vidconsole_position_cursor()
458 priv->ycur = min_t(short, row, vid_priv->ysize - 1); in vidconsole_position_cursor()