Lines Matching refs:active_frac
468 u32 active_frac; member
1080 unsigned int active_frac; member
1090 u32 active_polarity, active_frac = 0; in tegra_sor_compute_params() local
1109 active_frac = div_u64(frac, f); in tegra_sor_compute_params()
1113 active_frac++; in tegra_sor_compute_params()
1115 active_frac = active_polarity ? 1 : 15; in tegra_sor_compute_params()
1119 if (active_frac == 1) in tegra_sor_compute_params()
1123 if (active_frac) { in tegra_sor_compute_params()
1124 approx = active_count + (active_frac * (f - 1)) * f; in tegra_sor_compute_params()
1125 approx = div_u64(approx, active_frac * f); in tegra_sor_compute_params()
1130 if (active_frac) in tegra_sor_compute_params()
1131 approx = active_count + div_u64(f, active_frac); in tegra_sor_compute_params()
1142 params->active_frac = active_frac; in tegra_sor_compute_params()
1185 if (params.active_frac == 0) { in tegra_sor_compute_config()
1193 config->active_frac = 1; in tegra_sor_compute_config()
1197 config->active_frac = params.active_frac; in tegra_sor_compute_config()
1204 config->tu_size, config->active_frac); in tegra_sor_compute_config()
1263 value |= SOR_DP_CONFIG_ACTIVE_SYM_FRAC(config->active_frac); in tegra_sor_apply_config()