Lines Matching refs:htotal
755 u_short htotal; /* vmode */ member
1021 #define htotal2hw(htotal) (div8(htotal) - 1) argument
1025 #define hcenter2hw(htotal) (div8(htotal)) argument
1127 u_int htotal, vtotal; in ami_decode_var() local
1216 par->htotal = down8((var->left_margin + par->xres + var->right_margin + in ami_decode_var()
1227 par->diwstop_h = par->htotal - in ami_decode_var()
1238 if (par->diwstop_h >= par->htotal + 8) { in ami_decode_var()
1261 if (par->htotal != PAL_HTOTAL) { in ami_decode_var()
1273 htotal = PAL_HTOTAL>>clk_shift; in ami_decode_var()
1291 if (par->htotal != NTSC_HTOTAL) { in ami_decode_var()
1303 htotal = NTSC_HTOTAL>>clk_shift; in ami_decode_var()
1328 par->diwstop_h = par->htotal - mod8(par->hsstrt) + 8 - (1 << clk_shift); in ami_decode_var()
1334 if (par->hbstrt >= par->htotal + 8) in ami_decode_var()
1335 par->hbstrt -= par->htotal; in ami_decode_var()
1336 par->hcenter = par->hsstrt + (par->htotal >> 1); in ami_decode_var()
1349 if (par->htotal > 2048) { in ami_decode_var()
1363 htotal = par->htotal>>clk_shift; in ami_decode_var()
1398 maxfetchstop = down16(par->htotal - 80); in ami_decode_var()
1431 if (par->htotal - fsize - 64 < par->bpp * 64) in ami_decode_var()
1562 var->left_margin = (par->htotal>>clk_shift) - var->xres - var->right_margin - var->hsync_len; in ami_encode_var()
1576 var->right_margin = ((par->htotal - down4(par->diwstop_h))>>clk_shift) + var->hsync_len; in ami_encode_var()
1577 var->left_margin = (par->htotal>>clk_shift) - var->xres - var->right_margin - var->hsync_len; in ami_encode_var()
1706 custom.htotal = htotal2hw(par->htotal); in ami_init_display()
1728 amiga_audio_min_period = div16(par->htotal); in ami_init_display()
1768 custom.hsstrt = hsstrt2hw(par->htotal + 16); in ami_do_blank()
1769 custom.hsstop = hsstop2hw(par->htotal + 16); in ami_do_blank()
1774 custom.hsstrt = hsstrt2hw(par->htotal + 16); in ami_do_blank()
1775 custom.hsstop = hsstop2hw(par->htotal + 16); in ami_do_blank()
1781 custom.htotal = htotal2hw(par->htotal); in ami_do_blank()
2157 h_end1 = par->htotal - 32; in ami_rebuild_copper()