Home
last modified time | relevance | path

Searched refs:active_frac (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/gpu/drm/tegra/
H A Dsor.c466 u32 active_frac; member
1078 unsigned int active_frac; member
1088 u32 active_polarity, active_frac = 0; in tegra_sor_compute_params() local
1107 active_frac = div_u64(frac, f); in tegra_sor_compute_params()
1111 active_frac++; in tegra_sor_compute_params()
1113 active_frac = active_polarity ? 1 : 15; in tegra_sor_compute_params()
1117 if (active_frac == 1) in tegra_sor_compute_params()
1121 if (active_frac) { in tegra_sor_compute_params()
1122 approx = active_count + (active_frac * (f - 1)) * f; in tegra_sor_compute_params()
1123 approx = div_u64(approx, active_frac * f); in tegra_sor_compute_params()
[all …]
/openbmc/u-boot/drivers/video/tegra124/
H A Ddp.c439 link_cfg->active_frac); in tegra_dc_dp_dump_link_cfg()
587 link_cfg->active_frac = 1; in tegra_dc_dp_calc_config()
592 link_cfg->active_frac = (u32)lowest_neg_activefrac; in tegra_dc_dp_calc_config()
H A Dsor.h861 u32 active_frac; member
H A Dsor.c289 reg_val |= (link_cfg->active_frac << in tegra_dc_sor_set_dp_mode()