Lines Matching defs:h_total

13 	uint32 h_total;
97 LOG(2, ("MAVENTV: trying h_total modification of +%d...\n", h_total_mod));
101 *ht_new = target.timing.h_total + h_total_mod + 2;
168 LOG(2, ("MAVENTV: mnp(ex. filter) 0x%02x 0x%02x 0x%02x, h_total %d, ht_lastline %d\n",
176 /* h_total to use for this setting:
211 best[3] = target.timing.h_total;
212 best[4] = target.timing.h_total;
252 LOG(2, ("MAVENTV: new h_total %d, ht_lastline %d\n", *ht_new, *ht_last_line));
612 m_timing->h_total = 64000000;
613 /* the sum of the signal duration below should match h_total! */
629 m_timing->h_total = 63555556;
630 /* the sum of the signal duration below should match h_total! */
739 tv_target.timing.h_total = (tv_target.timing.h_display / uscan_fact);
741 tv_target.timing.h_total &= ~0x0007;
775 /* Note: h_total = 704 has no PLL match! */
776 tv_target.timing.h_total = 696;
786 tv_target.timing.h_total = 784;
792 tv_target.timing.h_total = 832;
796 tv_target.timing.h_total = 784;
857 diff = tv_target.timing.h_total - tv_target.timing.h_display;
875 diff = tv_target.timing.h_total - tv_target.timing.h_display;
919 // hcrt = tv_target.timing.h_total - slen - si->crtc_delay;
920 // if (ht_last_line < tv_target.timing.h_total) hcrt += ht_last_line;
921 // if (hcrt > tv_target.timing.h_total) hcrt -= tv_target.timing.h_total;
922 // if (hcrt + 2 > tv_target.timing.h_total) hcrt = 0; /* or issue warning? */
929 MAVWW(HSYNCLENL, (tv_target.timing.h_total - tv_target.timing.h_sync_end));
966 h_scale_tv = (736 << 7) / tv_target.timing.h_total;//should be PLL corrected
988 (((tv_target.timing.h_total - tv_target.timing.h_sync_end) /* is left margin */
1012 ib_min_length = ((tv_target.timing.h_total - tv_target.timing.h_sync_end) +
1181 uint16 front_porch, back_porch, h_sync_length, burst_length, h_total, h_display;
1222 * we want to loose the truncating h_total trick below if possible! */
1225 h_total_wanted = ((m_timing.h_total / ((float)pix_period)) + 0.5);
1226 LOG(4,("MAVENTV: TV h_total should be %d units\n", h_total_wanted));
1240 /* we always round up because of the h_total truncating 'trick' below,
1242 * h_total_clk and h_total */
1249 /* we always round up because of the h_total truncating 'trick' below,
1251 * h_total_clk and h_total */
1258 /* we always round up because of the h_total truncating 'trick' below,
1260 * h_total_clk and h_total */
1266 /* calculate h_total in 'half pixelclocks' */
1267 h_total = h_display + front_porch + back_porch + h_sync_length;
1273 LOG(4,("MAVENTV: TV h_total is %d clocks\n", h_total));
1283 * h_total to adhere to the CRTC2 timing restrictions. */
1284 leftover = h_total & 0x0F;
1293 h_total -= leftover;
1300 LOG(4,("MAVENTV: CRTC2 h_total leftover discarded (< 3)\n"));
1309 * because of the illegal h_total timing we create here.) */
1311 h_total += 4;
1312 LOG(4,("MAVENTV: CRTC2 h_total leftover corrected via killer (> 2, < 10)\n"));
1319 h_total += 16;
1320 LOG(4,("MAVENTV: CRTC2 h_total leftover corrected via increase (> 9, < 16)\n"));
1325 /* (linux) fixme: maybe MAVEN has requirement 800 < h_total < 1184 */
1330 /* change h_total to represent 'whole pixelclocks' */
1331 h_total = h_total >> 1;
1334 tv_target.timing.h_sync_end = (h_total & ~0x07) - 8;
1335 /* h_total is checked before being programmed! (NTSC killer circuitry) */
1336 tv_target.timing.h_total = h_total;