Home
last modified time | relevance | path

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

/linux-6.12.1/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()
35 len = vc->vc_font.charcount; 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()
[all …]
Dfbcon.c591 logo_lines = DIV_ROUND_UP(logo_height, vc->vc_font.height); in fbcon_prepare_logo()
987 vc->vc_font.width = font->width; in fbcon_startup()
988 vc->vc_font.height = font->height; in fbcon_startup()
989 vc->vc_font.data = (void *)(p->fontdata = font->data); in fbcon_startup()
990 vc->vc_font.charcount = font->charcount; in fbcon_startup()
995 cols /= vc->vc_font.width; in fbcon_startup()
996 rows /= vc->vc_font.height; in fbcon_startup()
1047 vc->vc_font.data = (void *)(p->fontdata = in fbcon_init()
1048 fvc->vc_font.data); in fbcon_init()
1049 vc->vc_font.width = fvc->vc_font.width; 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()
147 map.length = vc->vc_font.charcount; in fbcon_set_tileops()
/linux-6.12.1/include/linux/
Dconsole_struct.h125 struct console_font vc_font; /* Current VC font set */ member
/linux-6.12.1/drivers/video/console/
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()