Lines Matching defs:htotal
43 unsigned long htotal, hsyncstart;
59 * HSync_start to (HSync_start + htotal - 1). However, the counters
60 * must be between 0 and htotal - 1. When placing VBI data before the
65 htotal = ((READ_REG32(DC3_H_ACTIVE_TIMING) >> 16) & 0xFFF) + 1;
72 || (buffer->horz_start + buffer->vbi_width) > htotal)
80 if (buffer->horz_start < ((long) hsyncstart - (long) htotal) ||
82 buffer->vbi_width > htotal) {
86 hstart = buffer->horz_start + htotal;
90 if (hstart > htotal)
91 hstart -= htotal;
92 if (hstop > htotal)
93 hstop -= htotal;
449 unsigned long htotal, hsyncstart;
454 htotal = ((READ_REG32(DC3_H_ACTIVE_TIMING) >> 16) & 0xFFF) + 1;
464 buffer->horz_start = hstart + htotal - hsyncstart;
465 if (buffer->horz_start >= (long) htotal)
466 buffer->horz_start -= htotal;
470 buffer->horz_start = (long) hstart - (long) htotal;
478 buffer->vbi_width = (htotal - hstart) + hstop;