Home
last modified time | relevance | path

Searched refs:cpuclk (Results 1 – 9 of 9) sorted by relevance

/arch/mips/txx9/generic/
Dsetup_tx4939.c118 unsigned int cpuclk = 0; in tx4939_setup() local
139 cpuclk = txx9_master_clock * 20 / 2; in tx4939_setup()
142 cpuclk = cpuclk / 3 * 4 /* / 6 * 8 */; break; in tx4939_setup()
144 cpuclk = cpuclk / 2 * 3 /* / 6 * 9 */; break; in tx4939_setup()
146 cpuclk = cpuclk / 3 * 5 /* / 6 * 10 */; break; in tx4939_setup()
148 cpuclk = cpuclk / 6 * 11; break; in tx4939_setup()
150 cpuclk = cpuclk * 2 /* / 6 * 12 */; break; in tx4939_setup()
152 cpuclk = cpuclk / 6 * 13; break; in tx4939_setup()
154 cpuclk = cpuclk / 3 * 7 /* / 6 * 14 */; break; in tx4939_setup()
156 cpuclk = cpuclk / 2 * 5 /* / 6 * 15 */; break; in tx4939_setup()
[all …]
Dsetup_tx4927.c92 unsigned int cpuclk = 0; in tx4927_setup() local
126 cpuclk = txx9_gbus_clock * 2; break; in tx4927_setup()
129 cpuclk = txx9_gbus_clock * 5 / 2; break; in tx4927_setup()
132 cpuclk = txx9_gbus_clock * 3; break; in tx4927_setup()
135 cpuclk = txx9_gbus_clock * 4; break; in tx4927_setup()
137 txx9_cpu_clock = cpuclk; in tx4927_setup()
142 cpuclk = txx9_cpu_clock; in tx4927_setup()
147 txx9_gbus_clock = cpuclk / 2; break; in tx4927_setup()
150 txx9_gbus_clock = cpuclk * 2 / 5; break; in tx4927_setup()
153 txx9_gbus_clock = cpuclk / 3; break; in tx4927_setup()
[all …]
Dsetup_tx4938.c97 unsigned int cpuclk = 0; in tx4938_setup() local
132 cpuclk = txx9_gbus_clock * 2; break; in tx4938_setup()
135 cpuclk = txx9_gbus_clock * 5 / 2; break; in tx4938_setup()
138 cpuclk = txx9_gbus_clock * 3; break; in tx4938_setup()
141 cpuclk = txx9_gbus_clock * 4; break; in tx4938_setup()
144 cpuclk = txx9_gbus_clock * 9 / 2; break; in tx4938_setup()
146 txx9_cpu_clock = cpuclk; in tx4938_setup()
151 cpuclk = txx9_cpu_clock; in tx4938_setup()
156 txx9_gbus_clock = cpuclk / 2; break; in tx4938_setup()
159 txx9_gbus_clock = cpuclk * 2 / 5; break; in tx4938_setup()
[all …]
/arch/arm/mach-ks8695/
Dcpu.c57 static unsigned int cpuclk[8] = { 166000000, 166000000, 83000000, 83000000, 55300000, 55300000, 415… variable
64 sysclk[scdc] / 1000000, cpuclk[scdc] / 1000000); in ks8695_clock_info()
/arch/mips/cavium-octeon/
Doct_ilm.c32 u64 cpuclk, avg, max, min; in show_latency() local
35 cpuclk = octeon_get_clock_rate(); in show_latency()
37 max = (curr_li.max_latency * 1000000000) / cpuclk; in show_latency()
38 min = (curr_li.min_latency * 1000000000) / cpuclk; in show_latency()
39 avg = (curr_li.latency_sum * 1000000000) / (cpuclk * curr_li.interrupt_cnt); in show_latency()
/arch/arm/boot/dts/
Darmada-xp-mv78460.dtsi37 clocks = <&cpuclk 0>;
44 clocks = <&cpuclk 1>;
51 clocks = <&cpuclk 2>;
58 clocks = <&cpuclk 3>;
Darmada-xp-mv78230.dtsi35 clocks = <&cpuclk 0>;
42 clocks = <&cpuclk 1>;
Darmada-xp-mv78260.dtsi36 clocks = <&cpuclk 0>;
43 clocks = <&cpuclk 1>;
Darmada-xp.dtsi70 cpuclk: clock-complex@18700 { label