Home
last modified time | relevance | path

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

/linux/drivers/video/fbdev/core/
H A Dbitblit.c27 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in update_attr()
28 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr()
29 unsigned int cellsize = vc->vc_font.height * width; in update_attr()
50 area.sx = sx * vc->vc_font.width; in bit_bmove()
51 area.sy = sy * vc->vc_font.height; in bit_bmove()
52 area.dx = dx * vc->vc_font.width; in bit_bmove()
53 area.dy = dy * vc->vc_font.height; in bit_bmove()
54 area.height = height * vc->vc_font.height; in bit_bmove()
55 area.width = width * vc->vc_font.width; in bit_bmove()
66 region.dx = sx * vc->vc_font.width; in bit_clear()
[all …]
H A Dfbcon.c451 unsigned int pitch = vc_font_pitch(&vc->vc_font); in fbcon_fill_cursor_mask()
459 if (vc->vc_font.height < 10) in fbcon_fill_cursor_mask()
465 cur_height = vc->vc_font.height / 3; in fbcon_fill_cursor_mask()
468 cur_height = vc->vc_font.height / 2; in fbcon_fill_cursor_mask()
471 cur_height = (vc->vc_font.height * 2) / 3; in fbcon_fill_cursor_mask()
475 cur_height = vc->vc_font.height; in fbcon_fill_cursor_mask()
479 size = (vc->vc_font.height - cur_height) * pitch; in fbcon_fill_cursor_mask()
662 logo_lines = DIV_ROUND_UP(logo_height, vc->vc_font.height); in fbcon_prepare_logo()
1063 vc->vc_font.width = font->width; in fbcon_startup()
1064 vc->vc_font.height = font->height; in fbcon_startup()
[all …]
/linux/include/linux/
H A Dconsole_struct.h78 struct vc_font { struct
85 unsigned int vc_font_pitch(const struct vc_font *font); argument
86 unsigned int vc_font_size(const struct vc_font *font);
152 struct vc_font vc_font; /* Current VC font set */ member
/linux/drivers/video/console/
H A Dvgacon.c385 c->vc_font.height = c->vc_cell_height = vga_video_font_height; in vgacon_init()
1035 c->vc_font.height = c->vc_cell_height = fontheight; in vgacon_adjust_height()
1070 font->height = c->vc_font.height; in vgacon_font_get()