• Home
  • Raw
  • Download

Lines Matching refs:pll

126 int matroxfb_PLL_calcclock(const struct matrox_pll_features* pll, unsigned int freq, unsigned int f…  in matroxfb_PLL_calcclock()  argument
130 unsigned int fxtal = pll->ref_freq; in matroxfb_PLL_calcclock()
139 printk(KERN_ERR "post_shift_max: %d\n", pll->post_shift_max); in matroxfb_PLL_calcclock()
140 printk(KERN_ERR "ref_freq: %d\n", pll->ref_freq); in matroxfb_PLL_calcclock()
142 printk(KERN_ERR "vco_freq_min: %d\n", pll->vco_freq_min); in matroxfb_PLL_calcclock()
143 printk(KERN_ERR "in_div_min: %d\n", pll->in_div_min); in matroxfb_PLL_calcclock()
144 printk(KERN_ERR "in_div_max: %d\n", pll->in_div_max); in matroxfb_PLL_calcclock()
145 printk(KERN_ERR "feed_div_min: %d\n", pll->feed_div_min); in matroxfb_PLL_calcclock()
146 printk(KERN_ERR "feed_div_max: %d\n", pll->feed_div_max); in matroxfb_PLL_calcclock()
149 for (p = 1; p <= pll->post_shift_max; p++) { in matroxfb_PLL_calcclock()
154 if (fwant < pll->vco_freq_min) fwant = pll->vco_freq_min; in matroxfb_PLL_calcclock()
159 if (fwant < pll->vco_freq_min) break; in matroxfb_PLL_calcclock()
160 for (m = pll->in_div_min; m <= pll->in_div_max; m++) { in matroxfb_PLL_calcclock()
165 if (n > pll->feed_div_max) in matroxfb_PLL_calcclock()
167 if (n < pll->feed_div_min) in matroxfb_PLL_calcclock()
168 n = pll->feed_div_min; in matroxfb_PLL_calcclock()
537 MINFO->values.pll.system = get_unaligned_le16(bd->pins + 28) ? in parse_pins1()
540 MINFO->features.pll.ref_freq = 14318; in parse_pins1()
548 MINFO->values.pll.system = 50000; in default_pins1()
549 MINFO->features.pll.ref_freq = 14318; in default_pins1()
560 MINFO->values.pll.system = (bd->pins[43] == 0xFF) ? 50000 : ((bd->pins[43] + 100) * 1000); in parse_pins2()
561 MINFO->features.pll.ref_freq = 14318; in parse_pins2()
570 MINFO->values.pll.system = 50000; in default_pins2()
571 MINFO->features.pll.ref_freq = 14318; in default_pins2()
586 MINFO->features.pll.ref_freq = (bd->pins[52] & 0x20) ? 14318 : 27000; in parse_pins3()
598 MINFO->features.pll.ref_freq = 27000; in default_pins3()
613 MINFO->values.pll.system = (bd->pins[ 65] == 0xFF) ? 200000 : bd->pins[ 65] * 4000; in parse_pins4()
614 MINFO->features.pll.ref_freq = (bd->pins[ 92] & 0x01) ? 14318 : 27000; in parse_pins4()
626 MINFO->values.pll.system = 200000; in default_pins4()
627 MINFO->features.pll.ref_freq = 27000; in default_pins4()
641 MINFO->values.pll.system = in parse_pins5()
642 MINFO->values.pll.video = (bd->pins[ 92] == 0xFF) ? 284000 : bd->pins[ 92] * 4000; in parse_pins5()
649 MINFO->features.pll.ref_freq = (bd->pins[110] & 0x01) ? 14318 : 27000; in parse_pins5()
673 MINFO->values.pll.system = in default_pins5()
674 MINFO->values.pll.video = 284000; in default_pins5()
682 MINFO->features.pll.ref_freq = 27000; in default_pins5()