Lines Matching refs:anatop
68 struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR; in get_cpu_rev() local
69 u32 reg = readl(&anatop->digprog_sololite); in get_cpu_rev()
74 reg = readl(&anatop->digprog); in get_cpu_rev()
229 struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR; in clear_ldo_ramp() local
236 reg = readl(&anatop->ana_misc2); in clear_ldo_ramp()
238 writel(reg, &anatop->ana_misc2); in clear_ldo_ramp()
250 struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR; in set_ldo_voltage() local
251 u32 val, step, old, reg = readl(&anatop->reg_core); in set_ldo_voltage()
287 writel(reg, &anatop->reg_core); in set_ldo_voltage()
328 struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR; in init_bandgap() local
338 while (!(readl(&anatop->ana_misc0) & 0x80)) in init_bandgap()
345 writel(BM_ANADIG_ANA_MISC0_REFTOP_SELBIASOFF, &anatop->ana_misc0_set); in init_bandgap()
364 &anatop->ana_misc0_set); in init_bandgap()
558 struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR; in s_init() local
594 writel(mask480, &anatop->pfd_480_set); in s_init()
595 writel(mask528, &anatop->pfd_528_set); in s_init()
596 writel(mask480, &anatop->pfd_480_clr); in s_init()
597 writel(mask528, &anatop->pfd_528_clr); in s_init()