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()
224 src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width)); in cw_cursor()
235 dst = kmalloc_array(w, vc->vc_font.width, GFP_ATOMIC); in cw_cursor()
252 if (ops->cursor_state.image.height != vc->vc_font.width || in cw_cursor()
253 ops->cursor_state.image.width != vc->vc_font.height || in cw_cursor()
255 ops->cursor_state.image.height = vc->vc_font.width; in cw_cursor()
256 ops->cursor_state.image.width = vc->vc_font.height; in cw_cursor()
261 dy = vc->state.x * vc->vc_font.width; in cw_cursor()
281 char *tmp, *mask = kmalloc_array(w, vc->vc_font.width, in cw_cursor()
284 int width = (vc->vc_font.width + 7)/8; in cw_cursor() local
289 tmp = kmalloc_array(width, vc->vc_font.height, GFP_ATOMIC); in cw_cursor()
324 size = (vc->vc_font.height - cur_height) * width; in cw_cursor()
327 size = cur_height * width; in cw_cursor()
330 memset(mask, 0, w * vc->vc_font.width); in cw_cursor()
331 rotate_cw(tmp, mask, vc->vc_font.width, vc->vc_font.height); in cw_cursor()
343 cursor.image.width = ops->cursor_state.image.width; in cw_cursor()