Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
Ddcn32_clk_mgr.c512 uint32_t target_div = 0; in dcn32_dump_clk_registers() local
539 target_div = dentist_get_divider_from_did(dispclk_did); in dcn32_dump_clk_registers()
542 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
545 target_div = dentist_get_divider_from_did(dppclk_did); in dcn32_dump_clk_registers()
548 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
551 target_div = dentist_get_divider_from_did(dprefclk_did); in dcn32_dump_clk_registers()
554 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
557 target_div = dentist_get_divider_from_did(dcfclk_did); in dcn32_dump_clk_registers()
560 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn32_dump_clk_registers()
563 target_div = dentist_get_divider_from_did(dtbclk_did); in dcn32_dump_clk_registers()
[all …]
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
Ddcn20_clk_mgr.c558 int target_div = dentist_get_divider_from_did(dprefclk_did); in dcn20_clk_mgr_construct() local
584 * clk_mgr->base.dentist_vco_freq_khz) / target_div; in dcn20_clk_mgr_construct()