Searched refs:sys_tmr1 (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/arch/powerpc/platforms/8xx/
H A Dm8xx_setup.c92 sitk8xx_t __iomem *sys_tmr1; mpc8xx_calibrate_decr() local
133 sys_tmr1 = immr_map(im_sitk); mpc8xx_calibrate_decr()
134 out_be32(&sys_tmr1->sitk_tbscrk, ~KAPWR_KEY); mpc8xx_calibrate_decr()
135 out_be32(&sys_tmr1->sitk_rtcsck, ~KAPWR_KEY); mpc8xx_calibrate_decr()
136 out_be32(&sys_tmr1->sitk_tbk, ~KAPWR_KEY); mpc8xx_calibrate_decr()
137 out_be32(&sys_tmr1->sitk_tbscrk, KAPWR_KEY); mpc8xx_calibrate_decr()
138 out_be32(&sys_tmr1->sitk_rtcsck, KAPWR_KEY); mpc8xx_calibrate_decr()
139 out_be32(&sys_tmr1->sitk_tbk, KAPWR_KEY); mpc8xx_calibrate_decr()
140 immr_unmap(sys_tmr1); mpc8xx_calibrate_decr()
169 sitk8xx_t __iomem *sys_tmr1; mpc8xx_set_rtc_time() local
173 sys_tmr1 = immr_map(im_sitk); mpc8xx_set_rtc_time()
178 out_be32(&sys_tmr1->sitk_rtck, KAPWR_KEY); mpc8xx_set_rtc_time()
180 out_be32(&sys_tmr1->sitk_rtck, ~KAPWR_KEY); mpc8xx_set_rtc_time()
183 immr_unmap(sys_tmr1); mpc8xx_set_rtc_time()

Completed in 100 milliseconds