Lines Matching refs:rate
28 static ulong rate(int id) in rate() function
33 ulong rate; in rate() local
46 rate = clk_get_rate(&clk); in rate()
50 return rate; in rate()
55 return rate(PB7CLK); in clk_get_cpu_rate()
64 ulong rate; in prefetch_init() local
67 rate = clk_get_cpu_rate() / 1000000; in prefetch_init()
74 if (rate < 66) in prefetch_init()
76 else if (rate < 133) in prefetch_init()
81 if (rate <= 83) in prefetch_init()
83 else if (rate <= 166) in prefetch_init()
156 CLK_MHZ(rate(PLLCLK))); in soc_clk_dump()
158 printf("CPU Speed: %lu MHz\n", CLK_MHZ(rate(PB7CLK))); in soc_clk_dump()
160 printf("MPLL Speed: %lu MHz\n", CLK_MHZ(rate(MPLL))); in soc_clk_dump()
164 CLK_MHZ(rate(i))); in soc_clk_dump()
168 CLK_MHZ(rate(i))); in soc_clk_dump()