Lines Matching refs:ahb_rate
60 unsigned long ahb_rate; in ar71xx_clocks_init() local
79 ahb_rate = cpu_rate / div; in ar71xx_clocks_init()
84 clks[2] = ath79_add_sys_clkdev("ahb", ahb_rate); in ar71xx_clocks_init()
95 unsigned long ahb_rate; in ar724x_clocks_init() local
115 ahb_rate = cpu_rate / div; in ar724x_clocks_init()
120 clks[2] = ath79_add_sys_clkdev("ahb", ahb_rate); in ar724x_clocks_init()
131 unsigned long ahb_rate; in ar913x_clocks_init() local
148 ahb_rate = cpu_rate / div; in ar913x_clocks_init()
153 clks[2] = ath79_add_sys_clkdev("ahb", ahb_rate); in ar913x_clocks_init()
164 unsigned long ahb_rate; in ar933x_clocks_init() local
179 ahb_rate = ref_rate; in ar933x_clocks_init()
209 ahb_rate = freq / t; in ar933x_clocks_init()
215 clks[2] = ath79_add_sys_clkdev("ahb", ahb_rate); in ar933x_clocks_init()
246 unsigned long ahb_rate; in ar934x_clocks_init() local
340 ahb_rate = ref_rate; in ar934x_clocks_init()
342 ahb_rate = ddr_pll / (postdiv + 1); in ar934x_clocks_init()
344 ahb_rate = cpu_pll / (postdiv + 1); in ar934x_clocks_init()
349 clks[2] = ath79_add_sys_clkdev("ahb", ahb_rate); in ar934x_clocks_init()
362 unsigned long ahb_rate; in qca955x_clocks_init() local
427 ahb_rate = ref_rate; in qca955x_clocks_init()
429 ahb_rate = ddr_pll / (postdiv + 1); in qca955x_clocks_init()
431 ahb_rate = cpu_pll / (postdiv + 1); in qca955x_clocks_init()
436 clks[2] = ath79_add_sys_clkdev("ahb", ahb_rate); in qca955x_clocks_init()