Lines Matching refs:vc_font
28 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()
69 region.dy = sy * vc->vc_font.height; in bit_clear()
70 region.width = width * vc->vc_font.width; in bit_clear()
71 region.height = height * vc->vc_font.height; in bit_clear()
83 u32 idx = vc->vc_font.width >> 3; in bit_putcs_aligned()
87 src = vc->vc_font.data + (scr_readw(s++)& in bit_putcs_aligned()
116 u32 shift_low = 0, mod = vc->vc_font.width % 8; in bit_putcs_unaligned()
118 u32 idx = vc->vc_font.width >> 3; in bit_putcs_unaligned()
122 src = vc->vc_font.data + (scr_readw(s++)& in bit_putcs_unaligned()
148 u32 width = DIV_ROUND_UP(vc->vc_font.width, 8); in bit_putcs()
149 u32 cellsize = width * vc->vc_font.height; in bit_putcs()
153 u32 mod = vc->vc_font.width % 8, cnt, pitch, size; in bit_putcs()
159 image.dx = xx * vc->vc_font.width; in bit_putcs()
160 image.dy = yy * vc->vc_font.height; in bit_putcs()
161 image.height = vc->vc_font.height; in bit_putcs()
176 image.width = vc->vc_font.width * cnt; in bit_putcs()
192 image.dx += cnt * vc->vc_font.width; in bit_putcs()
208 unsigned int cw = vc->vc_font.width; in bit_clear_margins()
209 unsigned int ch = vc->vc_font.height; in bit_clear_margins()
242 int w = DIV_ROUND_UP(vc->vc_font.width, 8), c; in bit_cursor()
250 if (!vc->vc_font.data) in bit_cursor()
255 src = vc->vc_font.data + ((c & charmask) * (w * vc->vc_font.height)); in bit_cursor()
266 dst = kmalloc_array(w, vc->vc_font.height, GFP_ATOMIC); in bit_cursor()
283 if ((ops->cursor_state.image.dx != (vc->vc_font.width * vc->state.x)) || in bit_cursor()
284 (ops->cursor_state.image.dy != (vc->vc_font.height * y)) || in bit_cursor()
286 ops->cursor_state.image.dx = vc->vc_font.width * vc->state.x; in bit_cursor()
287 ops->cursor_state.image.dy = vc->vc_font.height * y; in bit_cursor()
291 if (ops->cursor_state.image.height != vc->vc_font.height || in bit_cursor()
292 ops->cursor_state.image.width != vc->vc_font.width || in bit_cursor()
294 ops->cursor_state.image.height = vc->vc_font.height; in bit_cursor()
295 ops->cursor_state.image.width = vc->vc_font.width; in bit_cursor()
309 char *mask = kmalloc_array(w, vc->vc_font.height, GFP_ATOMIC); in bit_cursor()
327 cur_height = (vc->vc_font.height < 10) ? 1 : 2; in bit_cursor()
330 cur_height = vc->vc_font.height/3; in bit_cursor()
333 cur_height = vc->vc_font.height >> 1; in bit_cursor()
336 cur_height = (vc->vc_font.height << 1)/3; in bit_cursor()
340 cur_height = vc->vc_font.height; in bit_cursor()
343 size = (vc->vc_font.height - cur_height) * w; in bit_cursor()