Lines Matching refs:vtotal
762 u_short vtotal; /* vmode */ member
1030 #define vtotal2hw(vtotal) (div2(vtotal) - 1) argument
1133 u_int htotal, vtotal; in ami_decode_var() local
1224 par->vtotal = in ami_decode_var()
1241 par->diwstop_v = par->vtotal - in ami_decode_var()
1248 if (par->diwstop_v > par->vtotal) { in ami_decode_var()
1265 if (par->vtotal > (PAL_VTOTAL + NTSC_VTOTAL) / 2) { in ami_decode_var()
1280 vtotal = PAL_VTOTAL>>1; in ami_decode_var()
1310 vtotal = NTSC_VTOTAL>>1; in ami_decode_var()
1345 par->diwstop_v = par->vtotal; in ami_decode_var()
1351 if (par->vtotal > 2048) { in ami_decode_var()
1370 vtotal = par->vtotal>>1; in ami_decode_var()
1569 var->upper_margin = (par->vtotal>>line_shift) - var->yres - var->lower_margin - var->vsync_len; in ami_encode_var()
1583 var->lower_margin = ((par->vtotal - par->diwstop_v)>>line_shift) + var->vsync_len; in ami_encode_var()
1584 var->upper_margin = (((par->vtotal - 2)>>line_shift) + 1) - var->yres - in ami_encode_var()
1716 custom.vtotal = vtotal2hw(par->vtotal); in ami_init_display()
1768 custom.vsstrt = vsstrt2hw(par->vtotal + 4); in ami_do_blank()
1769 custom.vsstop = vsstop2hw(par->vtotal + 4); in ami_do_blank()
1780 custom.vsstrt = vsstrt2hw(par->vtotal + 4); in ami_do_blank()
1781 custom.vsstop = vsstop2hw(par->vtotal + 4); in ami_do_blank()
1786 custom.vtotal = vtotal2hw(par->vtotal); in ami_do_blank()
2273 (copl++)->l = CMOVE(vtotal2hw(par->vtotal), vtotal); in ami_build_copper()
2276 (cops++)->l = CMOVE(vtotal2hw(par->vtotal), vtotal); in ami_build_copper()
2297 (copl++)->l = CMOVE(vtotal2hw(par->vtotal), vtotal); in ami_build_copper()