Lines Matching refs:cpuclk
101 unsigned int cpuclk = 0; in tx4939_setup() local
122 cpuclk = txx9_master_clock * 20 / 2; in tx4939_setup()
125 cpuclk = cpuclk / 3 * 4 /* / 6 * 8 */; break; in tx4939_setup()
127 cpuclk = cpuclk / 2 * 3 /* / 6 * 9 */; break; in tx4939_setup()
129 cpuclk = cpuclk / 3 * 5 /* / 6 * 10 */; break; in tx4939_setup()
131 cpuclk = cpuclk / 6 * 11; break; in tx4939_setup()
133 cpuclk = cpuclk * 2 /* / 6 * 12 */; break; in tx4939_setup()
135 cpuclk = cpuclk / 6 * 13; break; in tx4939_setup()
137 cpuclk = cpuclk / 3 * 7 /* / 6 * 14 */; break; in tx4939_setup()
139 cpuclk = cpuclk / 2 * 5 /* / 6 * 15 */; break; in tx4939_setup()
141 txx9_cpu_clock = cpuclk; in tx4939_setup()
146 cpuclk = txx9_cpu_clock; in tx4939_setup()
151 txx9_master_clock = cpuclk * 6 / 8; break; in tx4939_setup()
153 txx9_master_clock = cpuclk * 6 / 9; break; in tx4939_setup()
155 txx9_master_clock = cpuclk * 6 / 10; break; in tx4939_setup()
157 txx9_master_clock = cpuclk * 6 / 11; break; in tx4939_setup()
159 txx9_master_clock = cpuclk * 6 / 12; break; in tx4939_setup()
161 txx9_master_clock = cpuclk * 6 / 13; break; in tx4939_setup()
163 txx9_master_clock = cpuclk * 6 / 14; break; in tx4939_setup()
165 txx9_master_clock = cpuclk * 6 / 15; break; in tx4939_setup()
203 (cpuclk + 500000) / 1000000, in tx4939_setup()