Lines Matching refs:ahb_rate
56 unsigned long ahb_rate; in ar71xx_clocks_init() local
75 ahb_rate = cpu_rate / div; in ar71xx_clocks_init()
80 ath79_add_sys_clkdev("ahb", ahb_rate); in ar71xx_clocks_init()
91 unsigned long ahb_rate; in ar724x_clocks_init() local
111 ahb_rate = cpu_rate / div; in ar724x_clocks_init()
116 ath79_add_sys_clkdev("ahb", ahb_rate); in ar724x_clocks_init()
127 unsigned long ahb_rate; in ar913x_clocks_init() local
144 ahb_rate = cpu_rate / div; in ar913x_clocks_init()
149 ath79_add_sys_clkdev("ahb", ahb_rate); in ar913x_clocks_init()
160 unsigned long ahb_rate; in ar933x_clocks_init() local
175 ahb_rate = ref_rate; in ar933x_clocks_init()
205 ahb_rate = freq / t; in ar933x_clocks_init()
211 ath79_add_sys_clkdev("ahb", ahb_rate); in ar933x_clocks_init()
242 unsigned long ahb_rate; in ar934x_clocks_init() local
336 ahb_rate = ref_rate; in ar934x_clocks_init()
338 ahb_rate = ddr_pll / (postdiv + 1); in ar934x_clocks_init()
340 ahb_rate = cpu_pll / (postdiv + 1); in ar934x_clocks_init()
345 ath79_add_sys_clkdev("ahb", ahb_rate); in ar934x_clocks_init()
358 unsigned long ahb_rate; in qca955x_clocks_init() local
423 ahb_rate = ref_rate; in qca955x_clocks_init()
425 ahb_rate = ddr_pll / (postdiv + 1); in qca955x_clocks_init()
427 ahb_rate = cpu_pll / (postdiv + 1); in qca955x_clocks_init()
432 ath79_add_sys_clkdev("ahb", ahb_rate); in qca955x_clocks_init()