Lines Matching full:pll2
116 static unsigned long decode_div(unsigned long pll2, unsigned long val, in decode_div() argument
121 pll2 = 288 * MHZ; in decode_div()
123 return pll2 / div_tab[(val >> lshft) & mask]; in decode_div()
140 unsigned long pll2 = 0; in sm501_dump_clk() local
144 pll2 = 336 * MHZ; in sm501_dump_clk()
147 pll2 = 288 * MHZ; in sm501_dump_clk()
150 pll2 = 240 * MHZ; in sm501_dump_clk()
153 pll2 = 192 * MHZ; in sm501_dump_clk()
157 sdclk0 = (misct & (1<<12)) ? pll2 : 288 * MHZ; in sm501_dump_clk()
160 sdclk1 = (misct & (1<<20)) ? pll2 : 288 * MHZ; in sm501_dump_clk()
166 dev_dbg(sm->dev, "PLL2 = %ld.%ld MHz (%ld), SDCLK0=%08lx, SDCLK1=%08lx\n", in sm501_dump_clk()
167 fmt_freq(pll2), sdclk0, sdclk1); in sm501_dump_clk()
175 fmt_freq(decode_div(pll2, pm0, 24, 1<<29, 31)), in sm501_dump_clk()
176 fmt_freq(decode_div(pll2, pm0, 16, 1<<20, 15)), in sm501_dump_clk()
177 fmt_freq(decode_div(pll2, pm0, 8, 1<<12, 15)), in sm501_dump_clk()
178 fmt_freq(decode_div(pll2, pm0, 0, 1<<4, 15))); in sm501_dump_clk()
184 fmt_freq(decode_div(pll2, pm1, 24, 1<<29, 31)), in sm501_dump_clk()
185 fmt_freq(decode_div(pll2, pm1, 16, 1<<20, 15)), in sm501_dump_clk()
186 fmt_freq(decode_div(pll2, pm1, 8, 1<<12, 15)), in sm501_dump_clk()
187 fmt_freq(decode_div(pll2, pm1, 0, 1<<4, 15))); in sm501_dump_clk()