Lines Matching full:anatop
54 struct anatop_regs *anatop = (struct anatop_regs *)pdata->regs; in read_cpu_temperature() local
101 writel(TEMPSENSE0_POWER_DOWN, &anatop->tempsense0_clr); in read_cpu_temperature()
102 writel(MISC0_REFTOP_SELBIASOFF, &anatop->ana_misc0_set); in read_cpu_temperature()
105 reg = readl(&anatop->tempsense1); in read_cpu_temperature()
108 writel(reg, &anatop->tempsense1); in read_cpu_temperature()
111 writel(TEMPSENSE0_MEASURE_TEMP, &anatop->tempsense0_clr); in read_cpu_temperature()
112 writel(TEMPSENSE0_FINISHED, &anatop->tempsense0_clr); in read_cpu_temperature()
113 writel(TEMPSENSE0_MEASURE_TEMP, &anatop->tempsense0_set); in read_cpu_temperature()
116 while ((readl(&anatop->tempsense0) & in read_cpu_temperature()
121 reg = readl(&anatop->tempsense0); in read_cpu_temperature()
124 writel(TEMPSENSE0_FINISHED, &anatop->tempsense0_clr); in read_cpu_temperature()
129 /* power down anatop thermal sensor */ in read_cpu_temperature()
130 writel(TEMPSENSE0_POWER_DOWN, &anatop->tempsense0_set); in read_cpu_temperature()
131 writel(MISC0_REFTOP_SELBIASOFF, &anatop->ana_misc0_clr); in read_cpu_temperature()
199 /* power down anatop thermal sensor */ in read_cpu_temperature()