Lines Matching refs:diwstop_h

727 	u_short diwstop_h;	/* vmode */  member
1005 #define diwstop2hw(diwstop_h, diwstop_v) \ argument
1006 (((diwstop_v) << 7 & 0xff00) | ((diwstop_h)>>2 & 0x00ff))
1007 #define diwhigh2hw(diwstrt_h, diwstrt_v, diwstop_h, diwstop_v) \ argument
1008 (((diwstop_h) << 3 & 0x2000) | ((diwstop_h) << 11 & 0x1800) | \
1227 par->diwstop_h = par->htotal - in ami_decode_var()
1230 par->diwstop_h += mod4(var->hsync_len); in ami_decode_var()
1232 par->diwstop_h = down4(par->diwstop_h); in ami_decode_var()
1234 par->diwstrt_h = par->diwstop_h - xres_n; in ami_decode_var()
1238 if (par->diwstop_h >= par->htotal + 8) { in ami_decode_var()
1318 if (par->diwstrt_h >= 1024 || par->diwstop_h < 1024 || in ami_decode_var()
1328 par->diwstop_h = par->htotal - mod8(par->hsstrt) + 8 - (1 << clk_shift); in ami_decode_var()
1330 par->diwstop_h = down4(par->diwstop_h) - 16; in ami_decode_var()
1331 par->diwstrt_h = par->diwstop_h - xres_n; in ami_decode_var()
1333 par->hbstrt = par->diwstop_h + 4; in ami_decode_var()
1575 var->hsync_len = (152>>clk_shift) + mod4(par->diwstop_h); in ami_encode_var()
1576 var->right_margin = ((par->htotal - down4(par->diwstop_h))>>clk_shift) + var->hsync_len; in ami_encode_var()
2261 (copl++)->l = CMOVE(diwstop2hw(par->diwstop_h, par->diwstop_v + 1), diwstop); in ami_build_copper()
2263 (cops++)->l = CMOVE(diwstop2hw(par->diwstop_h, par->diwstop_v), diwstop); in ami_build_copper()
2266 par->diwstop_h, par->diwstop_v + 1), diwhigh); in ami_build_copper()
2268 par->diwstop_h, par->diwstop_v), diwhigh); in ami_build_copper()
2289 (copl++)->l = CMOVE(diwstop2hw(par->diwstop_h, par->diwstop_v), diwstop); in ami_build_copper()
2292 par->diwstop_h, par->diwstop_v), diwhigh); in ami_build_copper()