Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/clk/mvebu/
Dclk-cpu.c112 unsigned long fabric_div, target_div, cur_rate; in clk_cpu_on_set_rate() local
130 target_div = fabric_div / 2; in clk_cpu_on_set_rate()
133 target_div = fabric_div; in clk_cpu_on_set_rate()
135 if (target_div == 0) in clk_cpu_on_set_rate()
136 target_div = 1; in clk_cpu_on_set_rate()
140 reg |= (target_div << PMU_DFS_RATIO_SHIFT); in clk_cpu_on_set_rate()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/
Ddce60_clk_mgr.c88 int target_div; in dce60_get_dp_ref_freq_khz() local
97 target_div = dentist_get_divider_from_did(dprefclk_wdivider); in dce60_get_dp_ref_freq_khz()
101 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dce60_get_dp_ref_freq_khz()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
Ddce_clk_mgr.c135 int target_div; in dce_get_dp_ref_freq_khz() local
146 target_div = dentist_get_divider_from_did(dprefclk_wdivider); in dce_get_dp_ref_freq_khz()
150 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dce_get_dp_ref_freq_khz()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/dce/
Ddce_clk_mgr.c154 int target_div; in dce_get_dp_ref_freq_khz() local
165 target_div = dentist_get_divider_from_did(dprefclk_wdivider); in dce_get_dp_ref_freq_khz()
169 * clk_mgr_dce->dentist_vco_freq_khz) / target_div; in dce_get_dp_ref_freq_khz()
/linux-5.19.10/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.c551 int target_div = dentist_get_divider_from_did(dprefclk_did); in dcn20_clk_mgr_construct() local
577 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn20_clk_mgr_construct()