Lines Matching refs:sx
32 int sy, int sx, int dy, int dx, in atafb_iplan2p8_copyarea() argument
51 u_int upwards = (dy < sy) || (dy == sy && dx < sx); in atafb_iplan2p8_copyarea()
54 if (!((sx ^ dx) & 15)) { in atafb_iplan2p8_copyarea()
58 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
60 if (sx & 15) { in atafb_iplan2p8_copyarea()
83 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
86 if ((sx + width) & 15) { in atafb_iplan2p8_copyarea()
105 if (sx & 15) in atafb_iplan2p8_copyarea()
117 src = (u8 *)info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
123 if (sx & 15) { in atafb_iplan2p8_copyarea()
127 if ((sx + width) & 15) in atafb_iplan2p8_copyarea()
180 src = (u8 *)info->screen_base + (sy - 1) * next_line + ((sx + width + 8) & ~15) / (8 / BPL); in atafb_iplan2p8_copyarea()
188 if (sx & 15) { in atafb_iplan2p8_copyarea()
243 int sy, int sx, int height, int width) in atafb_iplan2p8_fillrect() argument
249 dest = (u32 *)(info->screen_base + sy * next_line + (sx & ~15) / (8 / BPL)); in atafb_iplan2p8_fillrect()
250 if (sx & 15) { in atafb_iplan2p8_fillrect()