Lines Matching refs:vco
723 u64 vco; in inno_hdmi_phy_rk3228_clk_recalc_rate() local
729 vco = parent_rate * nf; in inno_hdmi_phy_rk3228_clk_recalc_rate()
732 do_div(vco, nd * 5); in inno_hdmi_phy_rk3228_clk_recalc_rate()
742 do_div(vco, (nd * (no_a == 1 ? no_b : no_a) * no_d * 2)); in inno_hdmi_phy_rk3228_clk_recalc_rate()
745 inno->pixclock = vco; in inno_hdmi_phy_rk3228_clk_recalc_rate()
749 return vco; in inno_hdmi_phy_rk3228_clk_recalc_rate()
874 u64 vco; in inno_hdmi_phy_rk3328_clk_recalc_rate() local
880 vco = parent_rate * nf; in inno_hdmi_phy_rk3328_clk_recalc_rate()
886 vco += DIV_ROUND_CLOSEST(parent_rate * frac, (1 << 24)); in inno_hdmi_phy_rk3328_clk_recalc_rate()
890 do_div(vco, nd * 5); in inno_hdmi_phy_rk3328_clk_recalc_rate()
898 do_div(vco, (nd * (no_a == 1 ? no_b : no_a) * no_d * 2)); in inno_hdmi_phy_rk3328_clk_recalc_rate()
901 inno->pixclock = DIV_ROUND_CLOSEST((unsigned long)vco, 1000) * 1000; in inno_hdmi_phy_rk3328_clk_recalc_rate()
904 __func__, inno->pixclock, vco); in inno_hdmi_phy_rk3328_clk_recalc_rate()