Home | History | Annotate | Download | only in i915

Lines Matching defs:htotal

564  *                  pixel counter = vblank_start * htotal     pixel counter = 0 (gen3/4)
592 u32 high1, high2, low, pixel, vbl_start, hsync_start, htotal;
609 htotal = mode->crtc_htotal;
616 vbl_start *= htotal;
619 vbl_start -= htotal - hsync_start;
675 u32 htotal = mode->crtc_htotal;
703 clock), 1000 * htotal);
779 int vbl_start, vbl_end, hsync_start, htotal, vtotal;
791 htotal = mode->crtc_htotal;
829 vbl_start *= htotal;
830 vbl_end *= htotal;
831 vtotal *= htotal;
835 * so one field will have htotal more pixels. In order to avoid
852 * always add htotal-hsync_start to the current pixel position.
854 position = (position + htotal - hsync_start) % vtotal;
880 *vpos = position / htotal;
881 *hpos = position - (*vpos * htotal);