Lines Matching full:od
473 static inline unsigned int pll_od_to_reg(unsigned int od) in pll_od_to_reg() argument
475 switch (od) { in pll_od_to_reg()
701 unsigned int *od) in meson_hdmi_pll_find_params() argument
704 for (*od = 16 ; *od > 1 ; *od >>= 1) { in meson_hdmi_pll_find_params()
705 *m = meson_hdmi_pll_get_m(priv, freq * *od); in meson_hdmi_pll_find_params()
708 *frac = meson_hdmi_pll_get_frac(priv, *m, freq * *od); in meson_hdmi_pll_find_params()
710 DRM_DEBUG_DRIVER("PLL params for %lluHz: m=%x frac=%x od=%d\n", in meson_hdmi_pll_find_params()
711 freq, *m, *frac, *od); in meson_hdmi_pll_find_params()
720 /* pll_freq is the frequency after the OD dividers */
724 unsigned int od, m, frac; in meson_vclk_dmt_supported_freq() local
736 if (meson_hdmi_pll_find_params(priv, freq, &m, &frac, &od)) in meson_vclk_dmt_supported_freq()
743 /* pll_freq is the frequency after the OD dividers */
747 unsigned int od, m, frac, od1, od2, od3; in meson_hdmi_pll_generic_set() local
749 if (meson_hdmi_pll_find_params(priv, pll_freq, &m, &frac, &od)) { in meson_hdmi_pll_generic_set()
752 if (od < 4) { in meson_hdmi_pll_generic_set()
756 od2 = od / 4; in meson_hdmi_pll_generic_set()
757 od1 = od / od2; in meson_hdmi_pll_generic_set()
760 DRM_DEBUG_DRIVER("PLL params for %lluHz: m=%x frac=%x od=%d/%d/%d\n", in meson_hdmi_pll_generic_set()
1064 * - automatic PLL freq + OD management in meson_vclk_setup()