Lines Matching refs:line_shift
730 u_short line_shift; /* vmode */ member
1131 u_short clk_shift, line_shift; in ami_decode_var() local
1197 line_shift = 0; in ami_decode_var()
1200 line_shift = 1; in ami_decode_var()
1207 line_shift = 2; in ami_decode_var()
1214 par->line_shift = line_shift; in ami_decode_var()
1221 yres_n = par->yres << line_shift; in ami_decode_var()
1226 var->vsync_len) << line_shift) + 1); in ami_decode_var()
1242 ((var->lower_margin - var->vsync_len) << line_shift); in ami_decode_var()
1343 par->vsstrt = var->lower_margin << line_shift; in ami_decode_var()
1344 par->vsstop = (var->lower_margin + var->vsync_len) << line_shift; in ami_decode_var()
1518 u_short clk_shift, line_shift; in ami_encode_var() local
1523 line_shift = par->line_shift; in ami_encode_var()
1567 var->vsync_len = (par->vsstop - par->vsstrt)>>line_shift; in ami_encode_var()
1568 var->lower_margin = par->vsstrt>>line_shift; in ami_encode_var()
1569 var->upper_margin = (par->vtotal>>line_shift) - var->yres - var->lower_margin - var->vsync_len; in ami_encode_var()
1582 var->vsync_len = 4>>line_shift; 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()
2074 vs = par->diwstrt_v + (my << par->line_shift); in ami_set_sprite()
2075 ve = vs + (par->crsr.height << par->line_shift); in ami_set_sprite()
2173 line = par->diwstrt_v + ((par->vyres - par->yoffset) << par->line_shift) - 1; in ami_rebuild_copper()
2207 line = par->diwstrt_v + ((par->vyres - par->yoffset) << par->line_shift) - 2; in ami_rebuild_copper()