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()
241 src = ops->fontbuffer + ((c & charmask) * (w * vc->vc_font.width)); in ccw_cursor()
252 dst = kmalloc_array(w, vc->vc_font.width, GFP_ATOMIC); in ccw_cursor()
269 if (ops->cursor_state.image.height != vc->vc_font.width || in ccw_cursor()
270 ops->cursor_state.image.width != vc->vc_font.height || in ccw_cursor()
272 ops->cursor_state.image.height = vc->vc_font.width; in ccw_cursor()
273 ops->cursor_state.image.width = vc->vc_font.height; in ccw_cursor()
278 dy = vyres - ((vc->state.x + 1) * vc->vc_font.width); in ccw_cursor()
298 char *tmp, *mask = kmalloc_array(w, vc->vc_font.width, in ccw_cursor()
301 int width = (vc->vc_font.width + 7)/8; in ccw_cursor() local
306 tmp = kmalloc_array(width, vc->vc_font.height, GFP_ATOMIC); in ccw_cursor()
341 size = (vc->vc_font.height - cur_height) * width; in ccw_cursor()
344 size = cur_height * width; in ccw_cursor()
347 memset(mask, 0, w * vc->vc_font.width); in ccw_cursor()
348 rotate_ccw(tmp, mask, vc->vc_font.width, vc->vc_font.height); in ccw_cursor()
369 cursor.image.width = ops->cursor_state.image.width; in ccw_cursor()