Home
last modified time | relevance | path

Searched refs:cpuclk (Results 1 – 11 of 11) 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/mips/cavium-octeon/
Doct_ilm.c33 u64 cpuclk, avg, max, min; in show_latency() local
36 cpuclk = octeon_get_clock_rate(); in show_latency()
38 max = (curr_li.max_latency * 1000000000) / cpuclk; in show_latency()
39 min = (curr_li.min_latency * 1000000000) / cpuclk; in show_latency()
40 avg = (curr_li.latency_sum * 1000000000) / (cpuclk * curr_li.interrupt_cnt); in show_latency()
/arch/arm/boot/dts/
Darmada-xp-98dx3336.dtsi22 clocks = <&cpuclk 1>;
Darmada-xp-98dx4251.dtsi22 clocks = <&cpuclk 1>;
Darmada-xp-mv78460.dtsi35 clocks = <&cpuclk 0>;
43 clocks = <&cpuclk 1>;
51 clocks = <&cpuclk 2>;
59 clocks = <&cpuclk 3>;
Darmada-xp-mv78230.dtsi33 clocks = <&cpuclk 0>;
41 clocks = <&cpuclk 1>;
Darmada-xp-98dx3236.dtsi35 clocks = <&cpuclk 0>;
148 cpuclk: clock-complex@18700 { label
Darmada-xp-mv78260.dtsi34 clocks = <&cpuclk 0>;
42 clocks = <&cpuclk 1>;
Darmada-xp.dtsi102 cpuclk: clock-complex@18700 { label