Lines Matching refs:active_frac
55 u32 active_frac; member
314 unsigned int active_frac; member
324 u32 active_polarity, active_frac = 0; in tegra_sor_compute_params() local
343 active_frac = div_u64(frac, f); in tegra_sor_compute_params()
347 active_frac++; in tegra_sor_compute_params()
349 active_frac = active_polarity ? 1 : 15; in tegra_sor_compute_params()
353 if (active_frac == 1) in tegra_sor_compute_params()
357 if (active_frac) { in tegra_sor_compute_params()
358 approx = active_count + (active_frac * (f - 1)) * f; in tegra_sor_compute_params()
359 approx = div_u64(approx, active_frac * f); in tegra_sor_compute_params()
364 if (active_frac) in tegra_sor_compute_params()
365 approx = active_count + div_u64(f, active_frac); in tegra_sor_compute_params()
376 params->active_frac = active_frac; in tegra_sor_compute_params()
419 if (params.active_frac == 0) { in tegra_sor_calc_config()
427 config->active_frac = 1; in tegra_sor_calc_config()
431 config->active_frac = params.active_frac; in tegra_sor_calc_config()
438 config->tu_size, config->active_frac); in tegra_sor_calc_config()
1170 value |= SOR_DP_CONFIG_ACTIVE_SYM_FRAC(config.active_frac); in tegra_sor_encoder_mode_set()