Home
last modified time | relevance | path

Searched refs:VID_TO_POS (Results 1 – 6 of 6) sorted by relevance

/u-boot/drivers/video/
A Dconsole_rotate.c104 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_putc_xy_1()
153 return VID_TO_POS(VIDEO_FONT_WIDTH); in console_putc_xy_1()
233 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_putc_xy_2()
291 return VID_TO_POS(VIDEO_FONT_WIDTH); in console_putc_xy_2()
376 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_putc_xy_3()
427 return VID_TO_POS(VIDEO_FONT_WIDTH); in console_putc_xy_3()
455 vc_priv->xsize_frac = VID_TO_POS(vid_priv->ysize); in console_probe_1_3()
A Dvidconsole-uclass.c84 priv->xcur_frac -= VID_TO_POS(priv->x_charsize); in vidconsole_back()
87 VID_TO_POS(priv->x_charsize); in vidconsole_back()
201 VID_TO_POS(col * priv->x_charsize); in set_cursor_position()
615 priv->xsize_frac = VID_TO_POS(vid_priv->xsize); in vidconsole_pre_probe()
627 priv->tab_width_frac = VID_TO_POS(priv->x_charsize) * 8; in vidconsole_post_probe()
677 priv->xcur_frac = VID_TO_POS(min_t(short, col, vid_priv->xsize - 1)); in vidconsole_position_cursor()
A Dconsole_normal.c97 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_normal_putc_xy()
150 return VID_TO_POS(VIDEO_FONT_WIDTH); in console_normal_putc_xy()
A Dconsole_truetype.c239 width_frac = (int)VID_TO_POS(xpos); in console_truetype_putc_xy()
559 vc_priv->xstart_frac = VID_TO_POS(2); in console_truetype_probe()
562 vc_priv->tab_width_frac = VID_TO_POS(priv->font_size) * 8 / 2; in console_truetype_probe()
/u-boot/include/
A Dvideo_console.h16 #define VID_TO_POS(x) ((x) * VID_FRAC_DIV) macro
/u-boot/test/dm/
A Dvideo.c137 vidconsole_putc_xy(con, VID_TO_POS(i * 8), 0, ' ' + i); in dm_test_video_text()
144 vidconsole_putc_xy(con, VID_TO_POS(i * 8), 0, ' ' + i); in dm_test_video_text()

Completed in 8 milliseconds