Lines Matching full:od
476 static inline unsigned int pll_od_to_reg(unsigned int od) in pll_od_to_reg() argument
478 switch (od) { in pll_od_to_reg()
704 unsigned int *od) in meson_hdmi_pll_find_params() argument
707 for (*od = 16 ; *od > 1 ; *od >>= 1) { in meson_hdmi_pll_find_params()
708 *m = meson_hdmi_pll_get_m(priv, freq * *od); in meson_hdmi_pll_find_params()
711 *frac = meson_hdmi_pll_get_frac(priv, *m, freq * *od); in meson_hdmi_pll_find_params()
713 DRM_DEBUG_DRIVER("PLL params for %lluHz: m=%x frac=%x od=%d\n", in meson_hdmi_pll_find_params()
714 freq, *m, *frac, *od); in meson_hdmi_pll_find_params()
723 /* pll_freq is the frequency after the OD dividers */
727 unsigned int od, m, frac; in meson_vclk_dmt_supported_freq() local
739 if (meson_hdmi_pll_find_params(priv, freq, &m, &frac, &od)) in meson_vclk_dmt_supported_freq()
746 /* pll_freq is the frequency after the OD dividers */
750 unsigned int od, m, frac, od1, od2, od3; in meson_hdmi_pll_generic_set() local
752 if (meson_hdmi_pll_find_params(priv, pll_freq, &m, &frac, &od)) { in meson_hdmi_pll_generic_set()
755 if (od < 4) { in meson_hdmi_pll_generic_set()
759 od2 = od / 4; in meson_hdmi_pll_generic_set()
760 od1 = od / od2; in meson_hdmi_pll_generic_set()
763 DRM_DEBUG_DRIVER("PLL params for %lluHz: m=%x frac=%x od=%d/%d/%d\n", in meson_hdmi_pll_generic_set()
1049 * - automatic PLL freq + OD management in meson_vclk_setup()