Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-imx/mx7/
Dclock.c18 struct mxc_ccm_anatop_reg *ccm_anatop = (struct mxc_ccm_anatop_reg *) variable
115 reg = readl(&ccm_anatop->pll_arm); in decode_pll()
129 reg = readl(&ccm_anatop->pll_480); in decode_pll()
144 reg = readl(&ccm_anatop->pll_enet); in decode_pll()
155 reg = readl(&ccm_anatop->pll_ddr); in decode_pll()
160 num = ccm_anatop->pll_ddr_num; in decode_pll()
161 denom = ccm_anatop->pll_ddr_denom; in decode_pll()
188 reg = readl(&ccm_anatop->pll_480); in mxc_get_pll_sys_derive()
208 reg = readl(&ccm_anatop->pfd_480a); in mxc_get_pll_sys_derive()
217 reg = readl(&ccm_anatop->pfd_480a); in mxc_get_pll_sys_derive()
[all …]
Dsoc.c118 struct mxc_ccm_anatop_reg *ccm_anatop = (struct mxc_ccm_anatop_reg *) in get_cpu_rev() local
120 u32 reg = readl(&ccm_anatop->digprog); in get_cpu_rev()
/external/u-boot/drivers/thermal/
Dimx_thermal.c143 struct mxc_ccm_anatop_reg *ccm_anatop = (struct mxc_ccm_anatop_reg *) in read_cpu_temperature() local
164 writel(TEMPMON_HW_ANADIG_TEMPSENSE1_POWER_DOWN_MASK, &ccm_anatop->tempsense1_clr); in read_cpu_temperature()
165 writel(PMU_REF_REFTOP_SELFBIASOFF_MASK, &ccm_anatop->ref_set); in read_cpu_temperature()
168 reg = readl(&ccm_anatop->tempsense1); in read_cpu_temperature()
171 writel(reg, &ccm_anatop->tempsense1); in read_cpu_temperature()
173 writel(TEMPMON_HW_ANADIG_TEMPSENSE1_MEASURE_TEMP_MASK, &ccm_anatop->tempsense1_clr); in read_cpu_temperature()
174 writel(TEMPMON_HW_ANADIG_TEMPSENSE1_FINISHED_MASK, &ccm_anatop->tempsense1_clr); in read_cpu_temperature()
175 writel(TEMPMON_HW_ANADIG_TEMPSENSE1_MEASURE_TEMP_MASK, &ccm_anatop->tempsense1_set); in read_cpu_temperature()
178 while ((readl(&ccm_anatop->tempsense1) & in read_cpu_temperature()
181 reg = readl(&ccm_anatop->tempsense1); in read_cpu_temperature()
[all …]