Lines Matching refs:vc_font
28 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()
75 region.dy = sx * vc->vc_font.width; in cw_clear()
76 region.height = width * vc->vc_font.width; in cw_clear()
77 region.width = height * vc->vc_font.height; in cw_clear()
90 u32 idx = (vc->vc_font.height + 7) >> 3; in cw_putcs_aligned()
103 vc->vc_font.width); in cw_putcs_aligned()
106 vc->vc_font.width); in cw_putcs_aligned()
108 dst += d_pitch * vc->vc_font.width; in cw_putcs_aligned()
120 u32 width = (vc->vc_font.height + 7)/8; in cw_putcs()
121 u32 cellsize = width * vc->vc_font.width; in cw_putcs()
135 image.dx = vxres - ((yy + 1) * vc->vc_font.height); in cw_putcs()
136 image.dy = xx * vc->vc_font.width; in cw_putcs()
137 image.width = vc->vc_font.height; in cw_putcs()
152 image.height = vc->vc_font.width * cnt; in cw_putcs()
177 unsigned int cw = vc->vc_font.width; in cw_clear_margins()
178 unsigned int ch = vc->vc_font.height; in cw_clear_margins()
210 int w = (vc->vc_font.height + 7) >> 3, c; in cw_cursor()
233 src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width)); in cw_cursor()
244 dst = kmalloc(w * vc->vc_font.width, GFP_ATOMIC); in cw_cursor()
261 if (ops->cursor_state.image.height != vc->vc_font.width || in cw_cursor()
262 ops->cursor_state.image.width != vc->vc_font.height || in cw_cursor()
264 ops->cursor_state.image.height = vc->vc_font.width; in cw_cursor()
265 ops->cursor_state.image.width = vc->vc_font.height; in cw_cursor()
269 dx = vxres - ((y * vc->vc_font.height) + vc->vc_font.height); in cw_cursor()
270 dy = vc->vc_x * vc->vc_font.width; in cw_cursor()
290 char *tmp, *mask = kmalloc(w*vc->vc_font.width, GFP_ATOMIC); in cw_cursor()
292 int width = (vc->vc_font.width + 7)/8; in cw_cursor()
297 tmp = kmalloc(width * vc->vc_font.height, GFP_ATOMIC); in cw_cursor()
315 cur_height = (vc->vc_font.height < 10) ? 1 : 2; in cw_cursor()
318 cur_height = vc->vc_font.height/3; in cw_cursor()
321 cur_height = vc->vc_font.height >> 1; in cw_cursor()
324 cur_height = (vc->vc_font.height << 1)/3; in cw_cursor()
328 cur_height = vc->vc_font.height; in cw_cursor()
332 size = (vc->vc_font.height - cur_height) * width; in cw_cursor()
338 memset(mask, 0, w * vc->vc_font.width); in cw_cursor()
339 rotate_cw(tmp, mask, vc->vc_font.width, vc->vc_font.height); in cw_cursor()