Lines Matching refs:sx
164 void fbcon_iplan2p4_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_iplan2p4_bmove() argument
179 if (sx == 0 && dx == 0 && width * 4 == p->next_line) { in fbcon_iplan2p4_bmove()
193 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in fbcon_iplan2p4_bmove()
202 if ((sx & 1) == (dx & 1)) { in fbcon_iplan2p4_bmove()
206 src = p->screen_base + sy * linesize + (sx>>1)*8 + (sx & 1); in fbcon_iplan2p4_bmove()
208 if (sx & 1) { 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()
234 src = p->screen_base + sy * linesize + (sx>>1)*8 + (sx & 1); in fbcon_iplan2p4_bmove()
237 src += colsize * bytes + (sx & 1)*7; in fbcon_iplan2p4_bmove()
238 dst += colsize * bytes + (sx & 1)*7; in fbcon_iplan2p4_bmove()
253 src = p->screen_base + sy * linesize + (sx>>1)*8 + (sx & 1); in fbcon_iplan2p4_bmove()
261 sx += width-1; in fbcon_iplan2p4_bmove()
263 src = p->screen_base + sy * linesize + (sx>>1)*8 + (sx & 1); 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()
302 offset = ((sy * bytes) << fontheightlog(p)) + (sx>>1)*8 + (sx & 1); in fbcon_iplan2p4_clear()
304 offset = sy * bytes * fontheight(p) + (sx>>1)*8 + (sx & 1); in fbcon_iplan2p4_clear()
315 if (sx & 1) { in fbcon_iplan2p4_clear()