Lines Matching refs:sx

148 static void matrox_cfbX_bmove(struct display* p, int sy, int sx, int dy, int dx, int height, int wi…  in matrox_cfbX_bmove()  argument
157 sx *= fontwidth(p); in matrox_cfbX_bmove()
163 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_cfbX_bmove()
169 start = sy*pixx+sx+curr_ydstorg(MINFO); in matrox_cfbX_bmove()
177 end = (sy+height-1)*pixx+sx+curr_ydstorg(MINFO); in matrox_cfbX_bmove()
192 static void matrox_cfb4_bmove(struct display* p, int sy, int sx, int dy, int dx, int height, int wi… in matrox_cfb4_bmove() argument
203 if ((sx | dx | width) & fontwidth(p) & 1) { in matrox_cfb4_bmove()
204 fbcon_cfb4_bmove(p, sy, sx, dy, dx, height, width); in matrox_cfb4_bmove()
207 sx *= fontwidth(p); in matrox_cfb4_bmove()
214 sx >>= 1; in matrox_cfb4_bmove()
217 if ((dy < sy) || ((dy == sy) && (dx <= sx))) { in matrox_cfb4_bmove()
223 start = sy*pixx+sx+curr_ydstorg(MINFO); in matrox_cfb4_bmove()
231 end = (sy+height-1)*pixx+sx+curr_ydstorg(MINFO); in matrox_cfb4_bmove()
247 static void matroxfb_accel_clear(WPMINFO u_int32_t color, int sy, int sx, int height, in matroxfb_accel_clear() argument
258 mga_outl(M_FXBNDRY, ((sx + width) << 16) | sx); in matroxfb_accel_clear()
265 static void matrox_cfbX_clear(u_int32_t color, struct display* p, int sy, int sx, int height, int w… in matrox_cfbX_clear() argument
269 matroxfb_accel_clear(PMXINFO(p) color, sy * fontheight(p), sx * fontwidth(p), in matrox_cfbX_clear()
274 static void matrox_cfb4_clear(struct vc_data* conp, struct display* p, int sy, int sx, int height, … in matrox_cfb4_clear() argument
290 sx *= fontwidth(p); in matrox_cfb4_clear()
293 if (sx & 1) { in matrox_cfb4_clear()
294 sx ++; in matrox_cfb4_clear()
303 sx >>= 1; in matrox_cfb4_clear()
308 mga_outl(M_FXBNDRY, ((sx + width) << 16) | sx); in matrox_cfb4_clear()
317 unsigned int uaddr = sy * step + sx - 1; in matrox_cfb4_clear()
326 unsigned int uaddr = sy * step + sx + width; in matrox_cfb4_clear()
341 static void matrox_cfb8_clear(struct vc_data* conp, struct display* p, int sy, int sx, int height, … in matrox_cfb8_clear() argument
349 matrox_cfbX_clear(bgx, p, sy, sx, height, width); in matrox_cfb8_clear()
354 static void matrox_cfb16_clear(struct vc_data* conp, struct display* p, int sy, int sx, int height,… in matrox_cfb16_clear() argument
360 matrox_cfbX_clear((bgx << 16) | bgx, p, sy, sx, height, width); in matrox_cfb16_clear()
365 static void matrox_cfb32_clear(struct vc_data* conp, struct display* p, int sy, int sx, int height,… in matrox_cfb32_clear() argument
371 matrox_cfbX_clear(bgx, p, sy, sx, height, width); in matrox_cfb32_clear()
825 static void matrox_text_bmove(struct display* p, int sy, int sx, int dy, int dx, in matrox_text_bmove() argument
836 srcoff = (sy * p->next_line) + (sx * step); in matrox_text_bmove()
865 static void matrox_text_clear(struct vc_data* conp, struct display* p, int sy, int sx, in matrox_text_clear() argument
874 offs = sy * p->next_line + sx * step; in matrox_text_clear()