Lines Matching refs:od
411 static inline unsigned int pll_od_to_reg(unsigned int od)
413 switch (od) {
632 unsigned int *od)
635 for (*od = 16 ; *od > 1 ; *od >>= 1) {
636 *m = meson_hdmi_pll_get_m(priv, freq * *od);
639 *frac = meson_hdmi_pll_get_frac(priv, *m, freq * *od);
641 debug("PLL params for %dkHz: m=%x frac=%x od=%d\n",
642 freq, *m, *frac, *od);
655 unsigned int od, m, frac;
660 if (meson_hdmi_pll_find_params(priv, freq, &m, &frac, &od))
670 unsigned int od, m, frac, od1, od2, od3;
672 if (meson_hdmi_pll_find_params(priv, pll_freq, &m, &frac, &od)) {
674 if (od < 4) {
678 od2 = od / 4;
679 od1 = od / od2;
682 debug("PLL params for %dkHz: m=%x frac=%x od=%d/%d/%d\n",