Home
last modified time | relevance | path

Searched refs:target_div (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/drivers/clk/mvebu/
Dclk-cpu.c114 unsigned long fabric_div, target_div, cur_rate; in clk_cpu_on_set_rate() local
132 target_div = fabric_div / 2; in clk_cpu_on_set_rate()
135 target_div = fabric_div; in clk_cpu_on_set_rate()
137 if (target_div == 0) in clk_cpu_on_set_rate()
138 target_div = 1; in clk_cpu_on_set_rate()
142 reg |= (target_div << PMU_DFS_RATIO_SHIFT); in clk_cpu_on_set_rate()
/Linux-v4.19/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clocks.c181 int target_div; in dce_get_dp_ref_freq_khz() local
192 target_div = dentist_get_divider_from_did(dprefclk_wdivider); in dce_get_dp_ref_freq_khz()
196 * clk_dce->dentist_vco_freq_khz) / target_div; in dce_get_dp_ref_freq_khz()