Lines Matching refs:vc_font
28 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()
89 region.dx = sy * vc->vc_font.height; in ccw_clear()
90 region.dy = vyres - ((sx + width) * vc->vc_font.width); in ccw_clear()
91 region.height = width * vc->vc_font.width; in ccw_clear()
92 region.width = height * vc->vc_font.height; in ccw_clear()
105 u32 idx = (vc->vc_font.height + 7) >> 3; in ccw_putcs_aligned()
118 vc->vc_font.width); in ccw_putcs_aligned()
121 vc->vc_font.width); in ccw_putcs_aligned()
123 dst += d_pitch * vc->vc_font.width; in ccw_putcs_aligned()
135 u32 width = (vc->vc_font.height + 7)/8; in ccw_putcs()
136 u32 cellsize = width * vc->vc_font.width; in ccw_putcs()
150 image.dx = yy * vc->vc_font.height; in ccw_putcs()
151 image.dy = vyres - ((xx + count) * vc->vc_font.width); in ccw_putcs()
152 image.width = vc->vc_font.height; in ccw_putcs()
169 image.height = vc->vc_font.width * cnt; in ccw_putcs()
194 unsigned int cw = vc->vc_font.width; in ccw_clear_margins()
195 unsigned int ch = vc->vc_font.height; in ccw_clear_margins()
227 int w = (vc->vc_font.height + 7) >> 3, c; in ccw_cursor()
250 src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width)); in ccw_cursor()
261 dst = kmalloc(w * vc->vc_font.width, GFP_ATOMIC); in ccw_cursor()
278 if (ops->cursor_state.image.height != vc->vc_font.width || in ccw_cursor()
279 ops->cursor_state.image.width != vc->vc_font.height || in ccw_cursor()
281 ops->cursor_state.image.height = vc->vc_font.width; in ccw_cursor()
282 ops->cursor_state.image.width = vc->vc_font.height; in ccw_cursor()
286 dx = y * vc->vc_font.height; in ccw_cursor()
287 dy = vyres - ((vc->vc_x + 1) * vc->vc_font.width); in ccw_cursor()
307 char *tmp, *mask = kmalloc(w*vc->vc_font.width, GFP_ATOMIC); in ccw_cursor()
309 int width = (vc->vc_font.width + 7)/8; in ccw_cursor()
314 tmp = kmalloc(width * vc->vc_font.height, GFP_ATOMIC); in ccw_cursor()
332 cur_height = (vc->vc_font.height < 10) ? 1 : 2; in ccw_cursor()
335 cur_height = vc->vc_font.height/3; in ccw_cursor()
338 cur_height = vc->vc_font.height >> 1; in ccw_cursor()
341 cur_height = (vc->vc_font.height << 1)/3; in ccw_cursor()
345 cur_height = vc->vc_font.height; in ccw_cursor()
349 size = (vc->vc_font.height - cur_height) * width; in ccw_cursor()
355 memset(mask, 0, w * vc->vc_font.width); in ccw_cursor()
356 rotate_ccw(tmp, mask, vc->vc_font.width, vc->vc_font.height); in ccw_cursor()