Lines Matching refs:sx
156 void fbcon_iplan2p2_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_iplan2p2_bmove() argument
171 if (sx == 0 && dx == 0 && width * 2 == p->next_line) { in fbcon_iplan2p2_bmove()
185 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in fbcon_iplan2p2_bmove()
194 if ((sx & 1) == (dx & 1)) { in fbcon_iplan2p2_bmove()
197 src = p->screen_base + sy * linesize + (sx>>1)*4 + (sx & 1); in fbcon_iplan2p2_bmove()
199 if (sx & 1) { in fbcon_iplan2p2_bmove()
219 if (!((sx+width-1) & 1)) { in fbcon_iplan2p2_bmove()
220 src = p->screen_base + sy * linesize + ((sx+width-1)>>1)*4; in fbcon_iplan2p2_bmove()
225 src = p->screen_base + sy * linesize + (sx>>1)*4 + (sx & 1); in fbcon_iplan2p2_bmove()
228 src += colsize * bytes + (sx & 1)*3; in fbcon_iplan2p2_bmove()
229 dst += colsize * bytes + (sx & 1)*3; in fbcon_iplan2p2_bmove()
242 src = p->screen_base + sy * linesize + (sx>>1)*4 + (sx & 1); in fbcon_iplan2p2_bmove()
250 sx += width-1; in fbcon_iplan2p2_bmove()
252 src = p->screen_base + sy * linesize + (sx>>1)*4 + (sx & 1); in fbcon_iplan2p2_bmove()
265 int sx, int height, int width) in fbcon_iplan2p2_clear() argument
283 if (sx == 0 && width * 2 == bytes) { in fbcon_iplan2p2_clear()
292 offset = ((sy * bytes) << fontheightlog(p)) + (sx>>1)*4 + (sx & 1); in fbcon_iplan2p2_clear()
294 offset = sy * bytes * fontheight(p) + (sx>>1)*4 + (sx & 1); in fbcon_iplan2p2_clear()
305 if (sx & 1) { in fbcon_iplan2p2_clear()