Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/video/fbdev/core/
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_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 …]
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.c29 if (vc->vc_font.data == ops->fontdata && in fbcon_rotate_font()
33 src = ops->fontdata = vc->vc_font.data; in fbcon_rotate_font()
36 s_cellsize = ((vc->vc_font.width + 7)/8) * in fbcon_rotate_font()
37 vc->vc_font.height; in fbcon_rotate_font()
42 d_cellsize = ((vc->vc_font.height + 7)/8) * in fbcon_rotate_font()
43 vc->vc_font.width; in fbcon_rotate_font()
67 rotate_ud(src, dst, vc->vc_font.width, in fbcon_rotate_font()
68 vc->vc_font.height); in fbcon_rotate_font()
76 rotate_cw(src, dst, vc->vc_font.width, in fbcon_rotate_font()
77 vc->vc_font.height); in fbcon_rotate_font()
[all …]
Dfbcon.c623 logo_lines = DIV_ROUND_UP(logo_height, vc->vc_font.height); in fbcon_prepare_logo()
1045 if (!p->fontdata && !vc->vc_font.data) { in fbcon_startup()
1051 vc->vc_font.width = font->width; in fbcon_startup()
1052 vc->vc_font.height = font->height; in fbcon_startup()
1053 vc->vc_font.data = (void *)(p->fontdata = font->data); in fbcon_startup()
1054 vc->vc_font.charcount = 256; /* FIXME Need to support more fonts */ in fbcon_startup()
1056 p->fontdata = vc->vc_font.data; in fbcon_startup()
1061 cols /= vc->vc_font.width; in fbcon_startup()
1062 rows /= vc->vc_font.height; in fbcon_startup()
1114 vc->vc_font.data = (void *)(p->fontdata = in fbcon_init()
[all …]
Dtileblit.c144 map.width = vc->vc_font.width; in fbcon_set_tileops()
145 map.height = vc->vc_font.height; in fbcon_set_tileops()
/Linux-v5.4/drivers/video/console/
Dvgacon.c599 c->vc_font.height = vga_video_font_height; in vgacon_init()
732 c->vc_font.height - in vgacon_cursor()
733 (c->vc_font.height < in vgacon_cursor()
735 c->vc_font.height - in vgacon_cursor()
736 (c->vc_font.height < in vgacon_cursor()
741 c->vc_font.height / 3, in vgacon_cursor()
742 c->vc_font.height - in vgacon_cursor()
743 (c->vc_font.height < in vgacon_cursor()
748 (c->vc_font.height * 2) / 3, in vgacon_cursor()
749 c->vc_font.height - in vgacon_cursor()
[all …]
/Linux-v5.4/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()
727 baseline = c->vc_font.height - (c->vc_font.height < 10 ? 1 : 2); in sisusbcon_cursor()
731 to = c->vc_font.height; in sisusbcon_cursor()
733 case CUR_TWO_THIRDS: from = c->vc_font.height / 3; in sisusbcon_cursor()
736 case CUR_LOWER_HALF: from = c->vc_font.height / 2; in sisusbcon_cursor()
739 case CUR_LOWER_THIRD: from = (c->vc_font.height * 2) / 3; in sisusbcon_cursor()
1182 vc->vc_font.height = fh; in sisusbcon_do_font_op()
1256 font->height = c->vc_font.height; in sisusbcon_font_get()
/Linux-v5.4/include/linux/
Dconsole_struct.h90 struct console_font vc_font; /* Current VC font set */ member
/Linux-v5.4/drivers/tty/vt/
Dvt_ioctl.c885 vc_cons[i].d->vc_font.height = v.v_clin; in vt_ioctl()