Lines Matching refs:t
155 u32 t; in ar933x_clocks_init() local
157 t = ath79_reset_rr(AR933X_RESET_REG_BOOTSTRAP); in ar933x_clocks_init()
158 if (t & AR933X_BOOTSTRAP_REF_CLK_40) in ar933x_clocks_init()
176 u32 t; in ar933x_clocks_init() local
180 t = (cpu_config >> AR933X_PLL_CPU_CONFIG_REFDIV_SHIFT) & in ar933x_clocks_init()
182 ref_div = t; in ar933x_clocks_init()
187 t = (cpu_config >> AR933X_PLL_CPU_CONFIG_OUTDIV_SHIFT) & in ar933x_clocks_init()
189 if (t == 0) in ar933x_clocks_init()
190 t = 1; in ar933x_clocks_init()
192 out_div = (1 << t); in ar933x_clocks_init()
215 u64 t; in ar934x_get_pll_freq() local
218 t = ref; in ar934x_get_pll_freq()
219 t *= nint; in ar934x_get_pll_freq()
220 do_div(t, ref_div); in ar934x_get_pll_freq()
221 ret = t; in ar934x_get_pll_freq()
223 t = ref; in ar934x_get_pll_freq()
224 t *= nfrac; in ar934x_get_pll_freq()
225 do_div(t, ref_div * frac); in ar934x_get_pll_freq()
226 ret += t; in ar934x_get_pll_freq()