Lines Matching refs:vc_priv
86 struct vidconsole_priv *vc_priv = dev_get_uclass_priv(dev); in console_putc_xy_1() local
97 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_putc_xy_1()
210 struct vidconsole_priv *vc_priv = dev_get_uclass_priv(dev); in console_putc_xy_2() local
216 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_putc_xy_2()
342 struct vidconsole_priv *vc_priv = dev_get_uclass_priv(dev); in console_putc_xy_3() local
353 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_putc_xy_3()
404 struct vidconsole_priv *vc_priv = dev_get_uclass_priv(dev); in console_probe_2() local
408 vc_priv->x_charsize = VIDEO_FONT_WIDTH; in console_probe_2()
409 vc_priv->y_charsize = VIDEO_FONT_HEIGHT; in console_probe_2()
410 vc_priv->cols = vid_priv->xsize / VIDEO_FONT_WIDTH; in console_probe_2()
411 vc_priv->rows = vid_priv->ysize / VIDEO_FONT_HEIGHT; in console_probe_2()
418 struct vidconsole_priv *vc_priv = dev_get_uclass_priv(dev); in console_probe_1_3() local
422 vc_priv->x_charsize = VIDEO_FONT_WIDTH; in console_probe_1_3()
423 vc_priv->y_charsize = VIDEO_FONT_HEIGHT; in console_probe_1_3()
424 vc_priv->cols = vid_priv->ysize / VIDEO_FONT_WIDTH; in console_probe_1_3()
425 vc_priv->rows = vid_priv->xsize / VIDEO_FONT_HEIGHT; in console_probe_1_3()
426 vc_priv->xsize_frac = VID_TO_POS(vid_priv->ysize); in console_probe_1_3()