Lines Matching refs:active_frac
379 u32 active_frac; member
753 unsigned int active_frac; member
763 u32 active_polarity, active_frac = 0; in tegra_sor_compute_params() local
782 active_frac = div_u64(frac, f); in tegra_sor_compute_params()
786 active_frac++; in tegra_sor_compute_params()
788 active_frac = active_polarity ? 1 : 15; in tegra_sor_compute_params()
792 if (active_frac == 1) in tegra_sor_compute_params()
796 if (active_frac) { in tegra_sor_compute_params()
797 approx = active_count + (active_frac * (f - 1)) * f; in tegra_sor_compute_params()
798 approx = div_u64(approx, active_frac * f); in tegra_sor_compute_params()
803 if (active_frac) in tegra_sor_compute_params()
804 approx = active_count + div_u64(f, active_frac); in tegra_sor_compute_params()
815 params->active_frac = active_frac; in tegra_sor_compute_params()
858 if (params.active_frac == 0) { in tegra_sor_compute_config()
866 config->active_frac = 1; in tegra_sor_compute_config()
870 config->active_frac = params.active_frac; in tegra_sor_compute_config()
877 config->tu_size, config->active_frac); in tegra_sor_compute_config()
936 value |= SOR_DP_CONFIG_ACTIVE_SYM_FRAC(config->active_frac); in tegra_sor_apply_config()