Searched refs:pll_req (Results 1 – 7 of 7) sorted by relevance
175 struct fixed31_32 pll_req; in dcn30_get_vco_frequency_from_reg() local183 pll_req = dc_fixpt_from_int(pll_req_reg & clk_mgr->clk_mgr_mask->FbMult_int); in dcn30_get_vco_frequency_from_reg()184 pll_req.value |= pll_req_reg & clk_mgr->clk_mgr_mask->FbMult_frac; in dcn30_get_vco_frequency_from_reg()187 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in dcn30_get_vco_frequency_from_reg()189 return dc_fixpt_floor(pll_req); in dcn30_get_vco_frequency_from_reg()
537 struct fixed31_32 pll_req; in dcn20_clk_mgr_construct() local567 pll_req = dc_fixpt_from_int(pll_req_reg & clk_mgr->clk_mgr_mask->FbMult_int); in dcn20_clk_mgr_construct()568 pll_req.value |= pll_req_reg & clk_mgr->clk_mgr_mask->FbMult_frac; in dcn20_clk_mgr_construct()571 pll_req = dc_fixpt_mul_int(pll_req, 100000); in dcn20_clk_mgr_construct()574 clk_mgr->base.dentist_vco_freq_khz = dc_fixpt_floor(pll_req); in dcn20_clk_mgr_construct()
188 struct fixed31_32 pll_req; in get_vco_frequency_from_reg() local201 pll_req = dc_fixpt_from_int(fbmult_int_val); in get_vco_frequency_from_reg()207 pll_req.value |= fbmult_frac_val << 16; in get_vco_frequency_from_reg()210 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()213 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
256 struct fixed31_32 pll_req; in get_vco_frequency_from_reg() local269 pll_req = dc_fixpt_from_int(fbmult_int_val); in get_vco_frequency_from_reg()275 pll_req.value |= fbmult_frac_val << 16; in get_vco_frequency_from_reg()278 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()281 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
262 struct fixed31_32 pll_req; in get_vco_frequency_from_reg() local274 pll_req = dc_fixpt_from_int(fbmult_int_val); in get_vco_frequency_from_reg()280 pll_req.value |= fbmult_frac_val << 16; in get_vco_frequency_from_reg()283 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()286 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
290 struct fixed31_32 pll_req; in get_vco_frequency_from_reg() local302 pll_req = dc_fixpt_from_int(fbmult_int_val); in get_vco_frequency_from_reg()308 pll_req.value |= fbmult_frac_val << 16; in get_vco_frequency_from_reg()311 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in get_vco_frequency_from_reg()314 return dc_fixpt_floor(pll_req); in get_vco_frequency_from_reg()
662 struct fixed31_32 pll_req; in dcn32_get_vco_frequency_from_reg() local675 pll_req = dc_fixpt_from_int(pll_req_reg & clk_mgr->clk_mgr_mask->FbMult_int); in dcn32_get_vco_frequency_from_reg()676 pll_req.value |= pll_req_reg & clk_mgr->clk_mgr_mask->FbMult_frac; in dcn32_get_vco_frequency_from_reg()679 pll_req = dc_fixpt_mul_int(pll_req, clk_mgr->dfs_ref_freq_khz); in dcn32_get_vco_frequency_from_reg()681 return dc_fixpt_floor(pll_req); in dcn32_get_vco_frequency_from_reg()