Home
last modified time | relevance | path

Searched refs:clockctl (Results 1 – 1 of 1) sorted by relevance

/arch/powerpc/platforms/512x/
Dclock.c128 static struct mpc512x_clockctl __iomem *clockctl; variable
135 mask = in_be32(&clockctl->sccr[clk->reg]); in mpc5121_clk_enable()
137 out_be32(&clockctl->sccr[clk->reg], mask); in mpc5121_clk_enable()
147 mask = in_be32(&clockctl->sccr[clk->reg]); in mpc5121_clk_disable()
149 out_be32(&clockctl->sccr[clk->reg], mask); in mpc5121_clk_disable()
190 int spmf = (in_be32(&clockctl->spmr) >> 24) & 0xf; in spmf_mult()
212 int sysdiv = (in_be32(&clockctl->scfr2) >> 26) & 0x3f; in sysdiv_div_x_2()
236 int ips_div = (in_be32(&clockctl->scfr1) >> 23) & 0x7; in ips_to_ref()
290 int diudiv_x_2 = in_be32(&clockctl->scfr1) & 0xff; in diu_clk_calc()
317 int div = (in_be32(&clockctl->scfr1) >> clk->div_shift) & 0x7; in generic_div_clk_calc()
[all …]