Home
last modified time | relevance | path

Searched refs:vid_priv (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/video/
Dconsole_rotate.c16 struct video_priv *vid_priv = dev_get_uclass_priv(dev->parent); in console_set_row_1() local
17 int pbytes = VNBYTES(vid_priv->bpix); in console_set_row_1()
21 line = vid_priv->fb + vid_priv->line_length - in console_set_row_1()
23 for (j = 0; j < vid_priv->ysize; j++) { in console_set_row_1()
24 switch (vid_priv->bpix) { in console_set_row_1()
55 line += vid_priv->line_length; in console_set_row_1()
64 struct video_priv *vid_priv = dev_get_uclass_priv(dev->parent); in console_move_rows_1() local
67 int pbytes = VNBYTES(vid_priv->bpix); in console_move_rows_1()
70 dst = vid_priv->fb + vid_priv->line_length - in console_move_rows_1()
72 src = vid_priv->fb + vid_priv->line_length - in console_move_rows_1()
[all …]
Dconsole_normal.c18 struct video_priv *vid_priv = dev_get_uclass_priv(dev->parent); in console_normal_set_row() local
20 int pixels = VIDEO_FONT_HEIGHT * vid_priv->xsize; in console_normal_set_row()
23 line = vid_priv->fb + row * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_set_row()
24 switch (vid_priv->bpix) { in console_normal_set_row()
62 struct video_priv *vid_priv = dev_get_uclass_priv(dev->parent); in console_normal_move_rows() local
66 dst = vid_priv->fb + rowdst * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_move_rows()
67 src = vid_priv->fb + rowsrc * VIDEO_FONT_HEIGHT * vid_priv->line_length; in console_normal_move_rows()
68 memmove(dst, src, VIDEO_FONT_HEIGHT * vid_priv->line_length * count); in console_normal_move_rows()
78 struct video_priv *vid_priv = dev_get_uclass_priv(vid); in console_normal_putc_xy() local
80 void *line = vid_priv->fb + y * vid_priv->line_length + in console_normal_putc_xy()
[all …]
Dconsole_truetype.c126 struct video_priv *vid_priv = dev_get_uclass_priv(dev->parent); in console_truetype_set_row() local
129 int pixels = priv->font_size * vid_priv->line_length; in console_truetype_set_row()
132 line = vid_priv->fb + row * priv->font_size * vid_priv->line_length; in console_truetype_set_row()
133 switch (vid_priv->bpix) { in console_truetype_set_row()
171 struct video_priv *vid_priv = dev_get_uclass_priv(dev->parent); in console_truetype_move_rows() local
177 dst = vid_priv->fb + rowdst * priv->font_size * vid_priv->line_length; in console_truetype_move_rows()
178 src = vid_priv->fb + rowsrc * priv->font_size * vid_priv->line_length; in console_truetype_move_rows()
179 memmove(dst, src, priv->font_size * vid_priv->line_length * count); in console_truetype_move_rows()
194 struct video_priv *vid_priv = dev_get_uclass_priv(vid); in console_truetype_putc_xy() local
254 line = vid_priv->fb + y * vid_priv->line_length + in console_truetype_putc_xy()
[all …]
Dvidconsole-uclass.c99 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()
[all …]