Lines Matching refs:width
29 int width = (vc->vc_font.height + 7) >> 3; in ccw_update_attr() local
39 for (i = 0; i < vc->vc_font.width; i++) { in ccw_update_attr()
40 for (j = 0; j < width; j++) { in ccw_update_attr()
44 if (j == width - 1) in ccw_update_attr()
47 if (msk1 && j == width - 2) in ccw_update_attr()
52 *(dst - width) |= c; in ccw_update_attr()
64 int sx, int dy, int dx, int height, int width) in ccw_bmove() argument
71 area.sy = vyres - ((sx + width) * vc->vc_font.width); 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()
81 int sx, int height, int width) in ccw_clear() argument
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()
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() local
136 u32 cellsize = width * vc->vc_font.width; 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()
170 pitch = ((image.width + 7) >> 3) + scan_align; in ccw_putcs()
177 width, cellsize, &image, buf, dst); in ccw_putcs()
194 unsigned int cw = vc->vc_font.width; in ccw_clear_margins()
208 region.width = info->var.xres_virtual; in ccw_clear_margins()
216 region.width = bh; in ccw_clear_margins()
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()
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() local
314 tmp = kmalloc(width * vc->vc_font.height, GFP_ATOMIC); in ccw_cursor()
349 size = (vc->vc_font.height - cur_height) * width; in ccw_cursor()
352 size = 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()
377 cursor.image.width = ops->cursor_state.image.width; in ccw_cursor()