Lines Matching refs:mode

31 	impactv_params *params, const display_mode *mode, 
54 for( line = mode->timing.v_display - 1 + 18; line < mode->timing.v_total - 2; ++line ) {
59 how_early = uv_accum_frac * mode->timing.h_total;
69 f_first * mode->timing.v_total * mode->timing.h_total
70 + v_first * mode->timing.h_total
89 - mode->timing.h_display / 2
90 + mode->timing.h_total / 2;
103 first_num += f_total * mode->timing.v_total * mode->timing.h_total;
108 params->f_restart = (first_num / (mode->timing.v_total * mode->timing.h_total)) % f_total;
109 first_num %= mode->timing.v_total * mode->timing.h_total;
110 params->v_restart = (first_num / mode->timing.h_total) % mode->timing.v_total;
111 first_num %= mode->timing.h_total;
193 const display_mode *mode, display_mode *tweaked_mode )
199 h_over_plus = mode->timing.h_sync_start - mode->timing.h_display;
200 h_sync_width = mode->timing.h_sync_end - mode->timing.h_sync_start;
204 (tweaked_mode->timing.h_total - mode->timing.h_display - h_sync_width ) /
205 (mode->timing.h_total - mode->timing.h_display - h_sync_width);
207 tweaked_mode->timing.h_sync_start = mode->timing.h_display + tweaked_h_over_plus;
210 v_over_plus = mode->timing.v_sync_start - mode->timing.v_display;
211 v_sync_width = mode->timing.v_sync_end - mode->timing.v_sync_start;
214 (tweaked_mode->timing.v_total - mode->timing.v_display - v_sync_width ) /
215 (mode->timing.v_total - mode->timing.v_display - v_sync_width);
217 // we really should verify whether the resulting mode is still valid;
221 tweaked_mode->timing.v_sync_start = mode->timing.v_display + tweaked_v_over_plus;
326 const display_mode *mode, display_mode *tweaked_mode )
346 // initially, we try to keep to requested mode
347 *tweaked_mode = *mode;
351 // tweak CRT mode if necessary to match TV frame timing
360 // adopt synchronization to make tweaked mode look like original mode
361 Radeon_AdoptSync( mode, tweaked_mode );
415 // TBD: what's special in terms of PLL in TV-Out mode?
417 accelerator_info *ai, display_mode *mode,
441 if( mode->timing.h_display == 1024 )
515 values->tv_htotal = mode->timing.h_total - 1;
516 values->tv_hsize = mode->timing.h_display;
517 values->tv_hdisp = mode->timing.h_display - 1;
522 values->tv_vtotal = mode->timing.v_total - 1;
523 values->tv_vdisp = mode->timing.v_display - 1;
524 values->tv_sync_size = mode->timing.h_display + 8;
535 ((0x72 * 640 / mode->timing.h_display)