Lines Matching refs:width

165 			  int height, int width)  in fbcon_iplan2p4_bmove()  argument
179 if (sx == 0 && dx == 0 && width * 4 == p->next_line) { in fbcon_iplan2p4_bmove()
212 --width; in fbcon_iplan2p4_bmove()
214 if (width > 1) { in fbcon_iplan2p4_bmove()
216 fb_memmove(dst, src, (width>>1)*8); in fbcon_iplan2p4_bmove()
221 if (width & 1) { in fbcon_iplan2p4_bmove()
224 memmove_4p_col(dst + (width>>1)*8, src + (width>>1)*8, in fbcon_iplan2p4_bmove()
228 if (!((sx+width-1) & 1)) { in fbcon_iplan2p4_bmove()
229 src = p->screen_base + sy * linesize + ((sx+width-1)>>1)*8; in fbcon_iplan2p4_bmove()
230 dst = p->screen_base + dy * linesize + ((dx+width-1)>>1)*8; in fbcon_iplan2p4_bmove()
232 --width; in fbcon_iplan2p4_bmove()
236 if (width > 1) { in fbcon_iplan2p4_bmove()
242 fb_memmove(dst, src, (width>>1)*8); in fbcon_iplan2p4_bmove()
245 if (width & 1) { in fbcon_iplan2p4_bmove()
255 for(cols = width; cols > 0; --cols) { in fbcon_iplan2p4_bmove()
261 sx += width-1; in fbcon_iplan2p4_bmove()
262 dx += width-1; in fbcon_iplan2p4_bmove()
265 for(cols = width; cols > 0; --cols) { in fbcon_iplan2p4_bmove()
276 int sx, int height, int width) in fbcon_iplan2p4_clear() argument
293 if (sx == 0 && width * 4 == bytes) { in fbcon_iplan2p4_clear()
318 width--; in fbcon_iplan2p4_clear()
320 if (width & 1) { in fbcon_iplan2p4_clear()
321 memclear_4p_col(start + (width>>1)*8, lines, pcval, bytes); in fbcon_iplan2p4_clear()
322 width--; in fbcon_iplan2p4_clear()
324 if (width) { in fbcon_iplan2p4_clear()
326 memset_even_4p(start, width*4, cval1, cval2); in fbcon_iplan2p4_clear()