Searched refs:corefreq (Results 1 – 2 of 2) sorted by relevance
/arch/powerpc/boot/ |
D | pq2.c | 28 int pq2_get_clocks(u32 crystal, u32 *sysfreq, u32 *corefreq, in pq2_get_clocks() argument 60 if (corefreq) { in pq2_get_clocks() 64 *corefreq = mainclk / 2; in pq2_get_clocks() 68 *corefreq = busclk * coremult / 2; in pq2_get_clocks() 75 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq) in pq2_set_clocks() argument 79 dt_fixup_cpu_clocks(corefreq, timebase, sysfreq); in pq2_set_clocks() 92 u32 sysfreq, corefreq, timebase, brgfreq; in pq2_fixup_clocks() local 94 if (!pq2_get_clocks(crystal, &sysfreq, &corefreq, &timebase, &brgfreq)) in pq2_fixup_clocks() 97 pq2_set_clocks(sysfreq, corefreq, timebase, brgfreq); in pq2_fixup_clocks()
|
D | pq2.h | 7 int pq2_get_clocks(u32 crystal, u32 *sysfreq, u32 *corefreq, 9 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq);
|