Lines Matching refs:vmp
216 struct vesagtf_params *params, int flags, struct videomode *vmp) in vesagtf_mode_params() argument
616 vmp->hsync_start = h_pixels + h_front_porch; in vesagtf_mode_params()
617 vmp->hsync_end = vmp->hsync_start + h_sync; in vesagtf_mode_params()
618 vmp->htotal = total_pixels; in vesagtf_mode_params()
619 vmp->hdisplay = h_pixels; in vesagtf_mode_params()
621 vmp->vsync_start = v_lines + v_odd_front_porch_lines; in vesagtf_mode_params()
622 vmp->vsync_end = vmp->vsync_start + params->vsync_rqd; in vesagtf_mode_params()
623 vmp->vtotal = total_v_lines; in vesagtf_mode_params()
624 vmp->vdisplay = v_lines; in vesagtf_mode_params()
626 vmp->dot_clock = pixel_freq; in vesagtf_mode_params()
631 vesagtf_mode(unsigned x, unsigned y, unsigned refresh, struct videomode *vmp) in vesagtf_mode() argument
645 vesagtf_mode_params(x, y, refresh, ¶ms, 0, vmp); in vesagtf_mode()
659 print_xf86_mode (struct videomode *vmp) in print_xf86_mode() argument
663 hf = 1000.0 * vmp->dot_clock / vmp->htotal; in print_xf86_mode()
664 vf = 1.0 * hf / vmp->vtotal; in print_xf86_mode()
668 vmp->hdisplay, vmp->vdisplay, vf, hf, vmp->dot_clock / 1000.0); in print_xf86_mode()
674 vmp->hdisplay, vmp->vdisplay, vf, (vmp->dot_clock / 1000.0), in print_xf86_mode()
675 vmp->hdisplay, vmp->hsync_start, vmp->hsync_end, vmp->htotal, in print_xf86_mode()
676 vmp->vdisplay, vmp->vsync_start, vmp->vsync_end, vmp->vtotal); in print_xf86_mode()