Home
last modified time | relevance | path

Searched refs:sysfreq (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/arch/powerpc/boot/
Dpq2.c31 int pq2_get_clocks(u32 crystal, u32 *sysfreq, u32 *corefreq, in pq2_get_clocks() argument
56 if (sysfreq) in pq2_get_clocks()
57 *sysfreq = mainclk / 2; in pq2_get_clocks()
78 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq) in pq2_set_clocks() argument
82 dt_fixup_cpu_clocks(corefreq, timebase, sysfreq); in pq2_set_clocks()
86 setprop(node, "clock-frequency", &sysfreq, 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()
Dcuboot-52xx.c28 u32 sysfreq; in platform_fixups() local
51 sysfreq = bd.bi_busfreq * div; in platform_fixups()
52 setprop(soc, "system-frequency", &sysfreq, sizeof(sysfreq)); in platform_fixups()
Dpq2.h6 int pq2_get_clocks(u32 crystal, u32 *sysfreq, u32 *corefreq,
8 void pq2_set_clocks(u32 sysfreq, u32 corefreq, u32 timebase, u32 brgfreq);
/linux-3.4.99/arch/powerpc/sysdev/
Dfsl_soc.c80 static u32 sysfreq = -1; variable
88 if (sysfreq != -1) in fsl_get_sys_freq()
89 return sysfreq; in fsl_get_sys_freq()
100 sysfreq = *prop; in fsl_get_sys_freq()
103 return sysfreq; in fsl_get_sys_freq()