Lines Matching refs:active_frac
199 u32 active_frac; member
499 unsigned int active_frac; member
509 u32 active_polarity, active_frac = 0; in tegra_sor_compute_params() local
528 active_frac = div_u64(frac, f); in tegra_sor_compute_params()
532 active_frac++; in tegra_sor_compute_params()
534 active_frac = active_polarity ? 1 : 15; in tegra_sor_compute_params()
538 if (active_frac == 1) in tegra_sor_compute_params()
542 if (active_frac) { in tegra_sor_compute_params()
543 approx = active_count + (active_frac * (f - 1)) * f; in tegra_sor_compute_params()
544 approx = div_u64(approx, active_frac * f); in tegra_sor_compute_params()
549 if (active_frac) in tegra_sor_compute_params()
550 approx = active_count + div_u64(f, active_frac); in tegra_sor_compute_params()
561 params->active_frac = active_frac; in tegra_sor_compute_params()
604 if (params.active_frac == 0) { in tegra_sor_calc_config()
612 config->active_frac = 1; in tegra_sor_calc_config()
616 config->active_frac = params.active_frac; in tegra_sor_calc_config()
623 config->tu_size, config->active_frac); in tegra_sor_calc_config()
1411 value |= SOR_DP_CONFIG_ACTIVE_SYM_FRAC(config.active_frac); in tegra_sor_edp_enable()