Lines Matching refs:cpuclk
118 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()
158 txx9_cpu_clock = cpuclk; in tx4939_setup()
163 cpuclk = txx9_cpu_clock; in tx4939_setup()
168 txx9_master_clock = cpuclk * 6 / 8; break; in tx4939_setup()
170 txx9_master_clock = cpuclk * 6 / 9; break; in tx4939_setup()
172 txx9_master_clock = cpuclk * 6 / 10; break; in tx4939_setup()
174 txx9_master_clock = cpuclk * 6 / 11; break; in tx4939_setup()
176 txx9_master_clock = cpuclk * 6 / 12; break; in tx4939_setup()
178 txx9_master_clock = cpuclk * 6 / 13; break; in tx4939_setup()
180 txx9_master_clock = cpuclk * 6 / 14; break; in tx4939_setup()
182 txx9_master_clock = cpuclk * 6 / 15; break; in tx4939_setup()
220 (cpuclk + 500000) / 1000000, in tx4939_setup()