Home
last modified time | relevance | path

Searched refs:get_freq (Results 1 – 2 of 2) sorted by relevance

/arch/powerpc/platforms/8xx/
Dm8xx_setup.c61 static int __init get_freq(char *name, unsigned long *val) in get_freq() function
111 if (!get_freq("clock-frequency", &ppc_proc_freq)) in mpc8xx_calibrate_decr()
/arch/powerpc/kernel/
Dtime.c624 static int __init get_freq(char *name, int cells, unsigned long *val) in get_freq() function
661 if (!get_freq("ibm,extended-timebase-frequency", 2, &ppc_tb_freq) && in generic_calibrate_decr()
662 !get_freq("timebase-frequency", 1, &ppc_tb_freq)) { in generic_calibrate_decr()
670 if (!get_freq("ibm,extended-clock-frequency", 2, &ppc_proc_freq) && in generic_calibrate_decr()
671 !get_freq("clock-frequency", 1, &ppc_proc_freq)) { in generic_calibrate_decr()