Lines Matching refs:vc_font
28 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()
77 region.dx = vxres - ((sx + width) * vc->vc_font.width); in ud_clear()
78 region.width = width * vc->vc_font.width; in ud_clear()
79 region.height = height * vc->vc_font.height; in ud_clear()
92 u32 idx = vc->vc_font.width >> 3; in ud_putcs_aligned()
125 u32 shift_low = 0, mod = vc->vc_font.width % 8; in ud_putcs_unaligned()
127 u32 idx = vc->vc_font.width >> 3; in ud_putcs_unaligned()
157 u32 width = (vc->vc_font.width + 7)/8; in ud_putcs()
158 u32 cellsize = width * vc->vc_font.height; in ud_putcs()
162 u32 mod = vc->vc_font.width % 8, cnt, pitch, size; in ud_putcs()
173 image.dy = vyres - ((yy * vc->vc_font.height) + vc->vc_font.height); in ud_putcs()
174 image.dx = vxres - ((xx + count) * vc->vc_font.width); in ud_putcs()
175 image.height = vc->vc_font.height; in ud_putcs()
192 image.width = vc->vc_font.width * cnt; in ud_putcs()
225 unsigned int cw = vc->vc_font.width; in ud_clear_margins()
226 unsigned int ch = vc->vc_font.height; in ud_clear_margins()
257 int w = (vc->vc_font.width + 7) >> 3, c; in ud_cursor()
281 src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.height)); in ud_cursor()
292 dst = kmalloc(w * vc->vc_font.height, GFP_ATOMIC); in ud_cursor()
309 if (ops->cursor_state.image.height != vc->vc_font.height || in ud_cursor()
310 ops->cursor_state.image.width != vc->vc_font.width || in ud_cursor()
312 ops->cursor_state.image.height = vc->vc_font.height; in ud_cursor()
313 ops->cursor_state.image.width = vc->vc_font.width; in ud_cursor()
317 dy = vyres - ((y * vc->vc_font.height) + vc->vc_font.height); in ud_cursor()
318 dx = vxres - ((vc->vc_x * vc->vc_font.width) + vc->vc_font.width); in ud_cursor()
338 char *mask = kmalloc(w*vc->vc_font.height, GFP_ATOMIC); in ud_cursor()
356 cur_height = (vc->vc_font.height < 10) ? 1 : 2; in ud_cursor()
359 cur_height = vc->vc_font.height/3; in ud_cursor()
362 cur_height = vc->vc_font.height >> 1; in ud_cursor()
365 cur_height = (vc->vc_font.height << 1)/3; in ud_cursor()
369 cur_height = vc->vc_font.height; in ud_cursor()
378 size = (vc->vc_font.height - cur_height) * w; in ud_cursor()