Searched refs:get_freq (Results 1 – 2 of 2) sorted by relevance
/arch/powerpc/platforms/8xx/ |
D | m8xx_setup.c | 62 static int __init get_freq(char *name, unsigned long *val) in get_freq() function 112 if (!get_freq("clock-frequency", &ppc_proc_freq)) in mpc8xx_calibrate_decr()
|
/arch/powerpc/kernel/ |
D | time.c | 743 static int __init get_freq(char *name, int cells, unsigned long *val) in get_freq() function 788 if (!get_freq("ibm,extended-timebase-frequency", 2, &ppc_tb_freq) && in generic_calibrate_decr() 789 !get_freq("timebase-frequency", 1, &ppc_tb_freq)) { in generic_calibrate_decr() 797 if (!get_freq("ibm,extended-clock-frequency", 2, &ppc_proc_freq) && in generic_calibrate_decr() 798 !get_freq("clock-frequency", 1, &ppc_proc_freq)) { in generic_calibrate_decr()
|