Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/video/fbdev/core/
Dfbcon_cw.c28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; in cw_update_attr()
29 int width = (vc->vc_font.height + 7) >> 3; in cw_update_attr()
32 for (i = 0; i < vc->vc_font.width; i++) { in cw_update_attr()
55 area.sx = vxres - ((sy + height) * vc->vc_font.height); in cw_bmove()
56 area.sy = sx * vc->vc_font.width; in cw_bmove()
57 area.dx = vxres - ((dy + height) * vc->vc_font.height); in cw_bmove()
58 area.dy = dx * vc->vc_font.width; in cw_bmove()
59 area.width = height * vc->vc_font.height; in cw_bmove()
60 area.height = width * vc->vc_font.width; in cw_bmove()
74 region.dx = vxres - ((sy + height) * vc->vc_font.height); in cw_clear()
[all …]
Dbitblit.c28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in update_attr()
29 int width = DIV_ROUND_UP(vc->vc_font.width, 8); in update_attr()
30 unsigned int cellsize = vc->vc_font.height * width; in update_attr()
51 area.sx = sx * vc->vc_font.width; in bit_bmove()
52 area.sy = sy * vc->vc_font.height; in bit_bmove()
53 area.dx = dx * vc->vc_font.width; in bit_bmove()
54 area.dy = dy * vc->vc_font.height; in bit_bmove()
55 area.height = height * vc->vc_font.height; in bit_bmove()
56 area.width = width * vc->vc_font.width; in bit_bmove()
68 region.dx = sx * vc->vc_font.width; in bit_clear()
[all …]
Dfbcon_ccw.c28 int i, j, offset = (vc->vc_font.height < 10) ? 1 : 2; in ccw_update_attr()
29 int width = (vc->vc_font.height + 7) >> 3; in ccw_update_attr()
30 int mod = vc->vc_font.height % 8; in ccw_update_attr()
39 for (i = 0; i < vc->vc_font.width; i++) { in ccw_update_attr()
70 area.sx = sy * vc->vc_font.height; in ccw_bmove()
71 area.sy = vyres - ((sx + width) * vc->vc_font.width); in ccw_bmove()
72 area.dx = dy * vc->vc_font.height; in ccw_bmove()
73 area.dy = vyres - ((dx + width) * vc->vc_font.width); in ccw_bmove()
74 area.width = height * vc->vc_font.height; in ccw_bmove()
75 area.height = width * vc->vc_font.width; in ccw_bmove()
[all …]
Dfbcon_ud.c28 int i, offset = (vc->vc_font.height < 10) ? 1 : 2; in ud_update_attr()
29 int width = (vc->vc_font.width + 7) >> 3; in ud_update_attr()
30 unsigned int cellsize = vc->vc_font.height * width; in ud_update_attr()
56 area.sy = vyres - ((sy + height) * vc->vc_font.height); in ud_bmove()
57 area.sx = vxres - ((sx + width) * vc->vc_font.width); in ud_bmove()
58 area.dy = vyres - ((dy + height) * vc->vc_font.height); in ud_bmove()
59 area.dx = vxres - ((dx + width) * vc->vc_font.width); in ud_bmove()
60 area.height = height * vc->vc_font.height; in ud_bmove()
61 area.width = width * vc->vc_font.width; in ud_bmove()
76 region.dy = vyres - ((sy + height) * vc->vc_font.height); in ud_clear()
[all …]
Dfbcon_rotate.c30 if (vc->vc_font.data == ops->fontdata && in fbcon_rotate_font()
34 src = ops->fontdata = vc->vc_font.data; in fbcon_rotate_font()
37 s_cellsize = ((vc->vc_font.width + 7)/8) * in fbcon_rotate_font()
38 vc->vc_font.height; in fbcon_rotate_font()
43 d_cellsize = ((vc->vc_font.height + 7)/8) * in fbcon_rotate_font()
44 vc->vc_font.width; in fbcon_rotate_font()
68 rotate_ud(src, dst, vc->vc_font.width, in fbcon_rotate_font()
69 vc->vc_font.height); in fbcon_rotate_font()
77 rotate_cw(src, dst, vc->vc_font.width, in fbcon_rotate_font()
78 vc->vc_font.height); in fbcon_rotate_font()
[all …]
Dfbcon.c604 logo_lines = DIV_ROUND_UP(logo_height, vc->vc_font.height); in fbcon_prepare_logo()
1000 if (!p->fontdata && !vc->vc_font.data) { in fbcon_startup()
1006 vc->vc_font.width = font->width; in fbcon_startup()
1007 vc->vc_font.height = font->height; in fbcon_startup()
1008 vc->vc_font.data = (void *)(p->fontdata = font->data); in fbcon_startup()
1009 vc->vc_font.charcount = 256; /* FIXME Need to support more fonts */ in fbcon_startup()
1011 p->fontdata = vc->vc_font.data; in fbcon_startup()
1016 cols /= vc->vc_font.width; in fbcon_startup()
1017 rows /= vc->vc_font.height; in fbcon_startup()
1069 vc->vc_font.data = (void *)(p->fontdata = in fbcon_init()
[all …]
Dtileblit.c145 map.width = vc->vc_font.width; in fbcon_set_tileops()
146 map.height = vc->vc_font.height; in fbcon_set_tileops()
/kernel/linux/linux-5.10/drivers/usb/misc/sisusbvga/
Dsisusb_con.c234 c->vc_font.height = sisusb->current_font_height; in sisusbcon_init()
238 rows = c->vc_scan_lines / c->vc_font.height; in sisusbcon_init()
728 baseline = c->vc_font.height - (c->vc_font.height < 10 ? 1 : 2); in sisusbcon_cursor()
732 to = c->vc_font.height; in sisusbcon_cursor()
734 case CUR_TWO_THIRDS: from = c->vc_font.height / 3; in sisusbcon_cursor()
737 case CUR_LOWER_HALF: from = c->vc_font.height / 2; in sisusbcon_cursor()
740 case CUR_LOWER_THIRD: from = (c->vc_font.height * 2) / 3; in sisusbcon_cursor()
1183 vc->vc_font.height = fh; in sisusbcon_do_font_op()
1257 font->height = c->vc_font.height; in sisusbcon_font_get()
/kernel/linux/linux-5.10/include/linux/
Dconsole_struct.h126 struct console_font vc_font; /* Current VC font set */ member
/kernel/linux/linux-5.10/drivers/video/console/
Dvgacon.c383 c->vc_font.height = c->vc_cell_height = vga_video_font_height; in vgacon_init()
1067 c->vc_font.height = c->vc_cell_height = fontheight; in vgacon_adjust_height()
1102 font->height = c->vc_font.height; in vgacon_font_get()