Lines Matching refs:fdata
144 static inline u32 pll_get_pll_cmp(u64 fdata, unsigned long ref_clk) in pll_get_pll_cmp() argument
146 u64 dividend = HDMI_PLL_CMP_CNT * fdata; in pll_get_pll_cmp()
159 u64 fdata = ((u64)pll_cmp) * ref_clk * 10; in pll_cmp_to_fdata() local
161 do_div(fdata, HDMI_PLL_CMP_CNT); in pll_cmp_to_fdata()
163 return fdata; in pll_cmp_to_fdata()
226 u64 fdata; in pll_calculate() local
265 fdata = pd.vco_freq; in pll_calculate()
266 do_div(fdata, pd.vco_ratio); in pll_calculate()
268 pll_cmp = pll_get_pll_cmp(fdata, ref_clk); in pll_calculate()
271 DBG("fdata: %llu", fdata); in pll_calculate()
648 u64 fdata; in hdmi_8996_pll_recalc_rate() local
657 fdata = pll_cmp_to_fdata(pll_cmp + 1, parent_rate); in hdmi_8996_pll_recalc_rate()
659 do_div(fdata, 10); in hdmi_8996_pll_recalc_rate()
661 return fdata; in hdmi_8996_pll_recalc_rate()