Home
last modified time | relevance | path

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

/openbmc/linux/drivers/clk/mvebu/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce60/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
H A Ddcn32_clk_mgr.c693 uint32_t target_div = 0; in dcn32_dump_clk_registers() local
720 target_div = dentist_get_divider_from_did(dispclk_did); in dcn32_dump_clk_registers()
723 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
726 target_div = dentist_get_divider_from_did(dppclk_did); in dcn32_dump_clk_registers()
729 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
732 target_div = dentist_get_divider_from_did(dprefclk_did); in dcn32_dump_clk_registers()
735 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
738 target_div = dentist_get_divider_from_did(dcfclk_did); in dcn32_dump_clk_registers()
741 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
744 target_div = dentist_get_divider_from_did(dtbclk_did); in dcn32_dump_clk_registers()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
H A Ddcn20_clk_mgr.c535 int target_div; in dcn20_clk_mgr_construct() local
558 target_div = dentist_get_divider_from_did(dprefclk_did); in dcn20_clk_mgr_construct()
582 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn20_clk_mgr_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce/
H A 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()