Home
last modified time | relevance | path

Searched refs:brgfreq (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/arch/powerpc/boot/
Dpq2.c32 u32 *timebase, u32 *brgfreq) in pq2_get_clocks() argument
60 if (brgfreq) in pq2_get_clocks()
61 *brgfreq = mainclk / (1 << ((dfbrg + 1) * 2)); in pq2_get_clocks()
78 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq) in pq2_set_clocks() argument
90 setprop(node, "clock-frequency", &brgfreq, 4); in pq2_set_clocks()
95 u32 sysfreq, corefreq, timebase, brgfreq; in pq2_fixup_clocks() local
97 if (!pq2_get_clocks(crystal, &sysfreq, &corefreq, &timebase, &brgfreq)) in pq2_fixup_clocks()
100 pq2_set_clocks(sysfreq, corefreq, timebase, brgfreq); in pq2_fixup_clocks()
Dpq2.h7 u32 *timebase, u32 *brgfreq);
8 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq);
/linux-3.4.99/arch/powerpc/sysdev/
Dfsl_soc.c109 static u32 brgfreq = -1; variable
117 if (brgfreq != -1) in get_brgfreq()
118 return brgfreq; in get_brgfreq()
124 brgfreq = *prop; in get_brgfreq()
127 return brgfreq; in get_brgfreq()
140 brgfreq = *prop; in get_brgfreq()
142 if (brgfreq == -1 || brgfreq == 0) { in get_brgfreq()
145 brgfreq = *prop / 2; in get_brgfreq()
150 return brgfreq; in get_brgfreq()