Lines Matching refs:htotal
46 * pixel counter = vblank_start * htotal pixel counter = 0 (gen3/4)
73 u32 pixel, vbl_start, hsync_start, htotal;
90 htotal = mode->crtc_htotal;
97 vbl_start *= htotal;
100 vbl_start -= htotal - hsync_start;
138 u32 htotal = mode->crtc_htotal;
168 clock), 1000 * htotal);
306 int vbl_start, vbl_end, hsync_start, htotal, vtotal;
319 htotal = mode->crtc_htotal;
372 vbl_start *= htotal;
373 vbl_end *= htotal;
374 vtotal *= htotal;
378 * so one field will have htotal more pixels. In order to avoid
394 * always add htotal-hsync_start to the current pixel position.
396 position = (position + htotal - hsync_start) % vtotal;
423 *vpos = position / htotal;
424 *hpos = position - (*vpos * htotal);