Home
last modified time | relevance | path

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

/external/u-boot/drivers/video/
Dvidconsole-uclass.c81 priv->xcur_frac -= VID_TO_POS(priv->x_charsize); in vidconsole_back()
84 VID_TO_POS(priv->x_charsize); in vidconsole_back()
218 VID_TO_POS(col * priv->x_charsize); in vidconsole_escape_char()
414 priv->xsize_frac = VID_TO_POS(vid_priv->xsize); in vidconsole_pre_probe()
426 priv->tab_width_frac = VID_TO_POS(priv->x_charsize) * 8; in vidconsole_post_probe()
457 priv->xcur_frac = VID_TO_POS(min_t(short, col, vid_priv->xsize - 1)); in vidconsole_position_cursor()
Dconsole_rotate.c97 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_putc_xy_1()
142 return VID_TO_POS(VIDEO_FONT_WIDTH); in console_putc_xy_1()
216 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_putc_xy_2()
270 return VID_TO_POS(VIDEO_FONT_WIDTH); in console_putc_xy_2()
353 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_putc_xy_3()
398 return VID_TO_POS(VIDEO_FONT_WIDTH); in console_putc_xy_3()
426 vc_priv->xsize_frac = VID_TO_POS(vid_priv->ysize); in console_probe_1_3()
Dconsole_normal.c83 if (x_frac + VID_TO_POS(vc_priv->x_charsize) > vc_priv->xsize_frac) in console_normal_putc_xy()
132 return VID_TO_POS(VIDEO_FONT_WIDTH); in console_normal_putc_xy()
Dconsole_truetype.c228 width_frac = (int)VID_TO_POS(xpos); in console_truetype_putc_xy()
517 vc_priv->xstart_frac = VID_TO_POS(2); in console_truetype_probe()
520 vc_priv->tab_width_frac = VID_TO_POS(priv->font_size) * 8 / 2; in console_truetype_probe()
/external/u-boot/include/
Dvideo_console.h14 #define VID_TO_POS(x) ((x) * VID_FRAC_DIV) macro
/external/u-boot/test/dm/
Dvideo.c129 vidconsole_putc_xy(con, VID_TO_POS(i * 8), 0, ' ' + i); in dm_test_video_text()
136 vidconsole_putc_xy(con, VID_TO_POS(i * 8), 0, ' ' + i); in dm_test_video_text()