Lines Matching refs:modeline
667 vbios_modeline_type2 * modeline = &res->modelines[j]; in set_mode() local
669 if (modeline->x1 == xprev && modeline->y1 == yprev) { in set_mode()
670 modeline->x1 = modeline->x2 = x-1; in set_mode()
671 modeline->y1 = modeline->y2 = y-1; in set_mode()
673 gtf_timings(x, y, freqs[j], &modeline->clock, in set_mode()
674 &modeline->hsyncstart, &modeline->hsyncend, in set_mode()
675 &modeline->hblank, &modeline->vsyncstart, in set_mode()
676 &modeline->vsyncend, &modeline->vblank); in set_mode()
679 modeline->htotal = htotal; in set_mode()
681 modeline->htotal = modeline->hblank; in set_mode()
684 modeline->vtotal = vtotal; in set_mode()
686 modeline->vtotal = modeline->vblank; in set_mode()
701 vbios_modeline_type3 * modeline = &res->modelines[j]; in set_mode() local
703 if (modeline->x1 == xprev && modeline->y1 == yprev) { in set_mode()
704 modeline->x1 = modeline->x2 = x-1; in set_mode()
705 modeline->y1 = modeline->y2 = y-1; in set_mode()
707 gtf_timings(x, y, freqs[j], &modeline->clock, in set_mode()
708 &modeline->hsyncstart, &modeline->hsyncend, in set_mode()
709 &modeline->hblank, &modeline->vsyncstart, in set_mode()
710 &modeline->vsyncend, &modeline->vblank); in set_mode()
712 modeline->htotal = htotal; in set_mode()
714 modeline->htotal = modeline->hblank; in set_mode()
716 modeline->vtotal = vtotal; in set_mode()
718 modeline->vtotal = modeline->vblank; in set_mode()
720 modeline->timing_h = y-1; in set_mode()
721 modeline->timing_v = x-1; in set_mode()