Lines Matching refs:width
29 int width = (vc->vc_font.height + 7) >> 3; in cw_update_attr() local
32 for (i = 0; i < vc->vc_font.width; i++) { in cw_update_attr()
33 for (j = 0; j < width; j++) { in cw_update_attr()
38 c |= *(src-width); in cw_update_attr()
49 int sx, int dy, int dx, int height, int width) in cw_bmove() argument
56 area.sy = sx * vc->vc_font.width; 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()
66 int sx, int height, int width) in cw_clear() argument
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()
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() local
121 u32 cellsize = width * vc->vc_font.width; 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()
153 pitch = ((image.width + 7) >> 3) + scan_align; in cw_putcs()
160 width, cellsize, &image, buf, dst); in cw_putcs()
177 unsigned int cw = vc->vc_font.width; in cw_clear_margins()
191 region.width = info->var.xres_virtual; in cw_clear_margins()
199 region.width = bh; in cw_clear_margins()
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()
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() local
297 tmp = kmalloc(width * vc->vc_font.height, GFP_ATOMIC); in cw_cursor()
332 size = (vc->vc_font.height - cur_height) * width; in cw_cursor()
335 size = 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()
360 cursor.image.width = ops->cursor_state.image.width; in cw_cursor()