Lines Matching refs:sx
196 void fbcon_iplan2p8_bmove(struct display *p, int sy, int sx, int dy, int dx, in fbcon_iplan2p8_bmove() argument
211 if (sx == 0 && dx == 0 && width * 8 == p->next_line) { in fbcon_iplan2p8_bmove()
225 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in fbcon_iplan2p8_bmove()
234 if ((sx & 1) == (dx & 1)) { in fbcon_iplan2p8_bmove()
238 src = p->screen_base + sy * linesize + (sx>>1)*16 + (sx & 1); in fbcon_iplan2p8_bmove()
240 if (sx & 1) { in fbcon_iplan2p8_bmove()
261 if (!((sx+width-1) & 1)) { in fbcon_iplan2p8_bmove()
262 src = p->screen_base + sy * linesize + ((sx+width-1)>>1)*16; in fbcon_iplan2p8_bmove()
267 src = p->screen_base + sy * linesize + (sx>>1)*16 + (sx & 1); in fbcon_iplan2p8_bmove()
270 src += colsize * bytes + (sx & 1)*15; in fbcon_iplan2p8_bmove()
271 dst += colsize * bytes + (sx & 1)*15; in fbcon_iplan2p8_bmove()
285 src = p->screen_base + sy * linesize + (sx>>1)*16 + (sx & 1); in fbcon_iplan2p8_bmove()
293 sx += width-1; in fbcon_iplan2p8_bmove()
295 src = p->screen_base + sy * linesize + (sx>>1)*16 + (sx & 1); in fbcon_iplan2p8_bmove()
308 int sx, int height, int width) in fbcon_iplan2p8_clear() argument
325 if (sx == 0 && width * 8 == bytes) { in fbcon_iplan2p8_clear()
334 offset = ((sy * bytes) << fontheightlog(p)) + (sx>>1)*16 + (sx & 1); in fbcon_iplan2p8_clear()
336 offset = sy * bytes * fontheight(p) + (sx>>1)*16 + (sx & 1); in fbcon_iplan2p8_clear()
347 if (sx & 1) { in fbcon_iplan2p8_clear()