Lines Matching refs:diwstop_h

733 	u_short diwstop_h;	/* vmode */  member
1011 #define diwstop2hw(diwstop_h, diwstop_v) \ argument
1012 (((diwstop_v) << 7 & 0xff00) | ((diwstop_h)>>2 & 0x00ff))
1013 #define diwhigh2hw(diwstrt_h, diwstrt_v, diwstop_h, diwstop_v) \ argument
1014 (((diwstop_h) << 3 & 0x2000) | ((diwstop_h) << 11 & 0x1800) | \
1233 par->diwstop_h = par->htotal - in ami_decode_var()
1236 par->diwstop_h += mod4(var->hsync_len); in ami_decode_var()
1238 par->diwstop_h = down4(par->diwstop_h); in ami_decode_var()
1240 par->diwstrt_h = par->diwstop_h - xres_n; in ami_decode_var()
1244 if (par->diwstop_h >= par->htotal + 8) { in ami_decode_var()
1324 if (par->diwstrt_h >= 1024 || par->diwstop_h < 1024 || in ami_decode_var()
1334 par->diwstop_h = par->htotal - mod8(par->hsstrt) + 8 - (1 << clk_shift); in ami_decode_var()
1336 par->diwstop_h = down4(par->diwstop_h) - 16; in ami_decode_var()
1337 par->diwstrt_h = par->diwstop_h - xres_n; in ami_decode_var()
1339 par->hbstrt = par->diwstop_h + 4; in ami_decode_var()
1579 var->hsync_len = (152>>clk_shift) + mod4(par->diwstop_h); in ami_encode_var()
1580 var->right_margin = ((par->htotal - down4(par->diwstop_h))>>clk_shift) + var->hsync_len; in ami_encode_var()
2263 (copl++)->l = CMOVE(diwstop2hw(par->diwstop_h, par->diwstop_v + 1), diwstop); in ami_build_copper()
2265 (cops++)->l = CMOVE(diwstop2hw(par->diwstop_h, par->diwstop_v), diwstop); in ami_build_copper()
2268 par->diwstop_h, par->diwstop_v + 1), diwhigh); in ami_build_copper()
2270 par->diwstop_h, par->diwstop_v), diwhigh); in ami_build_copper()
2291 (copl++)->l = CMOVE(diwstop2hw(par->diwstop_h, par->diwstop_v), diwstop); in ami_build_copper()
2294 par->diwstop_h, par->diwstop_v), diwhigh); in ami_build_copper()