Lines Matching defs:h_total

13 	uint32 h_total;
102 LOG(2,("MAVENTV: trying h_total modification of +%d...\n", h_total_mod));
106 *ht_new = target.timing.h_total + h_total_mod + 2;
173 LOG(2,("MAVENTV: mnp(ex. filter) 0x%02x 0x%02x 0x%02x, h_total %d, ht_lastline %d\n",
181 /* h_total to use for this setting:
218 best[3] = target.timing.h_total;
219 best[4] = target.timing.h_total;
259 LOG(2,("MAVENTV: new h_total %d, ht_lastline %d\n", *ht_new, *ht_last_line));
619 m_timing->h_total = 64000000;
620 /* the sum of the signal duration below should match h_total! */
636 m_timing->h_total = 63555556;
637 /* the sum of the signal duration below should match h_total! */
729 // hcrt = tv_target.timing.h_total - slen - si->crtc_delay;
730 // if (ht_last_line < tv_target.timing.h_total) hcrt += ht_last_line;
731 // if (hcrt > tv_target.timing.h_total) hcrt -= tv_target.timing.h_total;
732 // if (hcrt + 2 > tv_target.timing.h_total) hcrt = 0; /* or issue warning? */
739 // MAVWW(HSYNCLENL, (tv_target.timing.h_total - tv_target.timing.h_sync_end));
777 h_scale_tv = (736 << 7) / tv_target.timing.h_total;//should be PLL corrected
800 (((tv_target.timing.h_total - tv_target.timing.h_sync_end) /* is left margin */
824 ib_min_length = ((tv_target.timing.h_total - tv_target.timing.h_sync_end) +
983 uint16 front_porch, back_porch, h_sync_length, burst_length, h_total, h_display;
1024 * we want to loose the truncating h_total trick below if possible! */
1027 h_total_wanted = ((m_timing.h_total / ((float)pix_period)) + 0.5);
1028 LOG(4,("MAVENTV: TV h_total should be %d units\n", h_total_wanted));
1042 /* we always round up because of the h_total truncating 'trick' below,
1044 * h_total_clk and h_total */
1051 /* we always round up because of the h_total truncating 'trick' below,
1053 * h_total_clk and h_total */
1060 /* we always round up because of the h_total truncating 'trick' below,
1062 * h_total_clk and h_total */
1068 /* calculate h_total in 'half pixelclocks' */
1069 h_total = h_display + front_porch + back_porch + h_sync_length;
1075 LOG(4,("MAVENTV: TV h_total is %d clocks\n", h_total));
1085 * h_total to adhere to the CRTC2 timing restrictions. */
1086 leftover = h_total & 0x0F;
1095 h_total -= leftover;
1102 LOG(4,("MAVENTV: CRTC2 h_total leftover discarded (< 3)\n"));
1111 * because of the illegal h_total timing we create here.) */
1113 h_total += 4;
1114 LOG(4,("MAVENTV: CRTC2 h_total leftover corrected via killer (> 2, < 10)\n"));
1121 h_total += 16;
1122 LOG(4,("MAVENTV: CRTC2 h_total leftover corrected via increase (> 9, < 16)\n"));
1127 /* (linux) fixme: maybe MAVEN has requirement 800 < h_total < 1184 */
1132 /* change h_total to represent 'whole pixelclocks' */
1133 h_total = h_total >> 1;
1136 tv_target.timing.h_sync_end = (h_total & ~0x07) - 8;
1137 /* h_total is checked before being programmed! (NTSC killer circuitry) */
1138 tv_target.timing.h_total = h_total;