Lines Matching refs:step
314 u_int32_t step = p->var.xres_virtual >> 1; in matrox_cfb4_clear() local
317 unsigned int uaddr = sy * step + sx - 1; in matrox_cfb4_clear()
322 uaddr += step; in matrox_cfb4_clear()
326 unsigned int uaddr = sy * step + sx + width; in matrox_cfb4_clear()
331 uaddr += step; in matrox_cfb4_clear()
404 u_int32_t step; in matrox_cfbX_putc() local
424 step = 1; in matrox_cfbX_putc()
426 step = 2; in matrox_cfbX_putc()
428 step = 4; in matrox_cfbX_putc()
429 if (fontwidth(p) == step << 3) { in matrox_cfbX_putc()
430 size_t charcell = fontheight(p)*step; in matrox_cfbX_putc()
440 u8* chardata = p->fontdata+(c&p->charmask)*fontheight(p)*step; in matrox_cfbX_putc()
451 switch (step) { in matrox_cfbX_putc()
559 u_int32_t step; in matrox_cfbX_putcs() local
575 step = 1; in matrox_cfbX_putcs()
577 step = 2; in matrox_cfbX_putcs()
579 step = 4; in matrox_cfbX_putcs()
580 charcell = fontheight(p)*step; in matrox_cfbX_putcs()
583 if (fontwidth(p) == step << 3) { in matrox_cfbX_putcs()
620 switch (step) { in matrox_cfbX_putcs()
829 unsigned int step; in matrox_text_bmove() local
835 step = ACCESS_FBINFO(devflags.textstep); in matrox_text_bmove() local
836 srcoff = (sy * p->next_line) + (sx * step); in matrox_text_bmove()
837 dstoff = (dy * p->next_line) + (dx * step); in matrox_text_bmove()
841 for (i = width; i > 0; dstoff += step, srcoff += step, i--) in matrox_text_bmove()
844 dstoff += p->next_line - width * step; in matrox_text_bmove()
845 srcoff += p->next_line - width * step; in matrox_text_bmove()
850 off = (height - 1) * p->next_line + (width - 1) * step; in matrox_text_bmove()
855 for (i = width; i > 0; dstoff -= step, srcoff -= step, i--) in matrox_text_bmove()
857 dstoff -= p->next_line - width * step; in matrox_text_bmove()
858 srcoff -= p->next_line - width * step; in matrox_text_bmove()
869 unsigned int step; in matrox_text_clear() local
873 step = ACCESS_FBINFO(devflags.textstep); in matrox_text_clear()
874 offs = sy * p->next_line + sx * step; in matrox_text_clear()
881 for (i = width; i > 0; offs += step, i--) in matrox_text_clear()
883 offs += p->next_line - width * step; in matrox_text_clear()
892 unsigned int step; in matrox_text_putc() local
896 step = ACCESS_FBINFO(devflags.textstep); in matrox_text_putc()
897 offs = yy * p->next_line + xx * step; in matrox_text_putc()
912 unsigned int step; in matrox_text_putcs() local
917 step = ACCESS_FBINFO(devflags.textstep); in matrox_text_putcs()
918 offs = yy * p->next_line + xx * step; in matrox_text_putcs()
928 offs += step; in matrox_text_putcs()
936 unsigned int step; in matrox_text_revc() local
940 step = ACCESS_FBINFO(devflags.textstep); in matrox_text_revc()
941 offs = yy * p->next_line + xx * step + 1; in matrox_text_revc()