Lines Matching refs:vtotal
756 u_short vtotal; /* vmode */ member
1024 #define vtotal2hw(vtotal) (div2(vtotal) - 1) argument
1127 u_int htotal, vtotal; in ami_decode_var() local
1218 par->vtotal = in ami_decode_var()
1235 par->diwstop_v = par->vtotal - in ami_decode_var()
1242 if (par->diwstop_v > par->vtotal) { in ami_decode_var()
1259 if (par->vtotal > (PAL_VTOTAL + NTSC_VTOTAL) / 2) { in ami_decode_var()
1274 vtotal = PAL_VTOTAL>>1; in ami_decode_var()
1304 vtotal = NTSC_VTOTAL>>1; in ami_decode_var()
1339 par->diwstop_v = par->vtotal; in ami_decode_var()
1345 if (par->vtotal > 2048) { in ami_decode_var()
1364 vtotal = par->vtotal>>1; in ami_decode_var()
1563 var->upper_margin = (par->vtotal>>line_shift) - var->yres - var->lower_margin - var->vsync_len; in ami_encode_var()
1577 var->lower_margin = ((par->vtotal - par->diwstop_v)>>line_shift) + var->vsync_len; in ami_encode_var()
1578 var->upper_margin = (((par->vtotal - 2)>>line_shift) + 1) - var->yres - in ami_encode_var()
1710 custom.vtotal = vtotal2hw(par->vtotal); in ami_init_display()
1762 custom.vsstrt = vsstrt2hw(par->vtotal + 4); in ami_do_blank()
1763 custom.vsstop = vsstop2hw(par->vtotal + 4); in ami_do_blank()
1774 custom.vsstrt = vsstrt2hw(par->vtotal + 4); in ami_do_blank()
1775 custom.vsstop = vsstop2hw(par->vtotal + 4); in ami_do_blank()
1780 custom.vtotal = vtotal2hw(par->vtotal); in ami_do_blank()
2269 (copl++)->l = CMOVE(vtotal2hw(par->vtotal), vtotal); in ami_build_copper()
2272 (cops++)->l = CMOVE(vtotal2hw(par->vtotal), vtotal); in ami_build_copper()
2293 (copl++)->l = CMOVE(vtotal2hw(par->vtotal), vtotal); in ami_build_copper()