Lines Matching refs:diwstop_h

691 	u_short diwstop_h;	/* vmode */  member
977 #define diwstop2hw(diwstop_h, diwstop_v) \ argument
978 (((diwstop_v)<<7 & 0xff00) | ((diwstop_h)>>2 & 0x00ff))
979 #define diwhigh2hw(diwstrt_h, diwstrt_v, diwstop_h, diwstop_v) \ argument
980 (((diwstop_h)<<3 & 0x2000) | ((diwstop_h)<<11 & 0x1800) | \
2080 par->diwstop_h = par->htotal-((var->right_margin-var->hsync_len)<<clk_shift); in ami_decode_var()
2082 par->diwstop_h += mod4(var->hsync_len); in ami_decode_var()
2084 par->diwstop_h = down4(par->diwstop_h); in ami_decode_var()
2086 par->diwstrt_h = par->diwstop_h - xres_n; in ami_decode_var()
2089 if (par->diwstop_h >= par->htotal+8) { in ami_decode_var()
2169 if (par->diwstrt_h >= 1024 || par->diwstop_h < 1024 || in ami_decode_var()
2179 par->diwstop_h = par->htotal - mod8(par->hsstrt) + 8 - (1 << clk_shift); in ami_decode_var()
2181 par->diwstop_h = down4(par->diwstop_h) - 16; in ami_decode_var()
2182 par->diwstrt_h = par->diwstop_h - xres_n; in ami_decode_var()
2184 par->hbstrt = par->diwstop_h + 4; in ami_decode_var()
2440 var->hsync_len = (152>>clk_shift) + mod4(par->diwstop_h); in ami_encode_var()
2441 var->right_margin = ((par->htotal - down4(par->diwstop_h))>>clk_shift) + var->hsync_len; in ami_encode_var()
3187 (copl++)->l = CMOVE(diwstop2hw(par->diwstop_h, par->diwstop_v+1), diwstop); in ami_build_copper()
3189 (cops++)->l = CMOVE(diwstop2hw(par->diwstop_h, par->diwstop_v), diwstop); in ami_build_copper()
3192 par->diwstop_h, par->diwstop_v+1), diwhigh); in ami_build_copper()
3194 par->diwstop_h, par->diwstop_v), diwhigh); in ami_build_copper()
3215 (copl++)->l = CMOVE(diwstop2hw(par->diwstop_h, par->diwstop_v), diwstop); in ami_build_copper()
3218 par->diwstop_h, par->diwstop_v), diwhigh); in ami_build_copper()