Lines Matching refs:ht_new
31 display_mode target, unsigned int * ht_new, unsigned int * ht_last_line, in g100_g400max_maventv_vid_pll_find() argument
101 *ht_new = target.timing.h_total + h_total_mod + 2; in g100_g400max_maventv_vid_pll_find()
105 req_pclks_field = *ht_new * target.timing.v_total; in g100_g400max_maventv_vid_pll_find()
146 if (calc_pclks_field < ((*ht_new * (target.timing.v_total - 1)) + 2)) continue; in g100_g400max_maventv_vid_pll_find()
149 *ht_last_line = calc_pclks_field - (*ht_new * (target.timing.v_total - 1)); in g100_g400max_maventv_vid_pll_find()
152 if (*ht_last_line > *ht_new) continue; in g100_g400max_maventv_vid_pll_find()
156 diff = *ht_new - *ht_last_line; in g100_g400max_maventv_vid_pll_find()
169 (m - 1), (n - 1), (p - 1), (*ht_new - 2), (*ht_last_line - 2))); in g100_g400max_maventv_vid_pll_find()
178 best[3] = *ht_new - 2; in g100_g400max_maventv_vid_pll_find()
246 *ht_new = best[3]; in g100_g400max_maventv_vid_pll_find()
252 LOG(2, ("MAVENTV: new h_total %d, ht_lastline %d\n", *ht_new, *ht_last_line)); in g100_g400max_maventv_vid_pll_find()
647 unsigned int ht_new, ht_last_line; in maventv_init() local
898 tv_target, &ht_new, &ht_last_line, &m_result, &n_result, &p_result); in maventv_init()
908 MAVWW(HTOTALL, ht_new); in maventv_init()
1034 if (ib_length >= ht_new + 2) in maventv_init()
1053 out_clocks = m_timing.v_total * (ht_new + 2); in maventv_init()
1056 in_clocks = (tv_target.timing.v_total - 1) * (ht_new + 2) + ht_last_line + 2; in maventv_init()