Searched refs:vc_priv (Results 1 – 5 of 5) sorted by relevance
192 struct vidconsole_priv *vc_priv = dev_get_uclass_priv(dev); in console_truetype_putc_xy() local215 if (vc_priv->last_ch) { in console_truetype_putc_xy()217 vc_priv->last_ch, ch); in console_truetype_putc_xy()229 if (x + width_frac >= vc_priv->xsize_frac) in console_truetype_putc_xy()235 pos->xpos_frac = vc_priv->xcur_frac; in console_truetype_putc_xy()236 pos->ypos = vc_priv->ycur; in console_truetype_putc_xy()375 struct vidconsole_priv *vc_priv = dev_get_uclass_priv(dev); in console_truetype_backspace() local397 if (pos->ypos == vc_priv->ycur) in console_truetype_backspace()398 xend = VID_TO_PIXEL(vc_priv->xcur_frac); in console_truetype_backspace()403 xend, pos->ypos + vc_priv->y_charsize, in console_truetype_backspace()[all …]
86 struct vidconsole_priv *vc_priv = dev_get_uclass_priv(dev); in console_putc_xy_1() local97 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() local216 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() local353 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() local408 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()[all …]
76 struct vidconsole_priv *vc_priv = dev_get_uclass_priv(dev); in console_normal_putc_xy() local83 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_normal_putc_xy()137 struct vidconsole_priv *vc_priv = dev_get_uclass_priv(dev); in console_normal_probe() local141 vc_priv->x_charsize = VIDEO_FONT_WIDTH; in console_normal_probe()142 vc_priv->y_charsize = VIDEO_FONT_HEIGHT; in console_normal_probe()143 vc_priv->cols = vid_priv->xsize / VIDEO_FONT_WIDTH; in console_normal_probe()144 vc_priv->rows = vid_priv->ysize / VIDEO_FONT_HEIGHT; in console_normal_probe()
144 unsigned int vc_priv : 3; member
1841 if (vc->vc_priv == EPdec) { in set_mode()2043 vc->vc_priv = EPecma; in reset_terminal()2287 vc->vc_priv = EPdec; in do_con_trol()2290 vc->vc_priv = EPgt; in do_con_trol()2293 vc->vc_priv = EPeq; in do_con_trol()2296 vc->vc_priv = EPlt; in do_con_trol()2299 vc->vc_priv = EPecma; in do_con_trol()2317 if (vc->vc_priv <= EPdec) in do_con_trol()2321 if (vc->vc_priv <= EPdec) in do_con_trol()2325 if (vc->vc_priv == EPdec) { in do_con_trol()[all …]