Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-lpc24xx.c59 #define rtc_readl(dev, reg) readl((dev)->rtc_base + (reg)) macro
95 ct0 = rtc_readl(rtc, LPC24XX_CTIME0); in lpc24xx_rtc_read_time()
96 ct1 = rtc_readl(rtc, LPC24XX_CTIME1); in lpc24xx_rtc_read_time()
97 ct2 = rtc_readl(rtc, LPC24XX_CTIME2); in lpc24xx_rtc_read_time()
116 tm->tm_sec = rtc_readl(rtc, LPC24XX_ALSEC); in lpc24xx_rtc_read_alarm()
117 tm->tm_min = rtc_readl(rtc, LPC24XX_ALMIN); in lpc24xx_rtc_read_alarm()
118 tm->tm_hour = rtc_readl(rtc, LPC24XX_ALHOUR); in lpc24xx_rtc_read_alarm()
119 tm->tm_mday = rtc_readl(rtc, LPC24XX_ALDOM); in lpc24xx_rtc_read_alarm()
120 tm->tm_wday = rtc_readl(rtc, LPC24XX_ALDOW); in lpc24xx_rtc_read_alarm()
121 tm->tm_yday = rtc_readl(rtc, LPC24XX_ALDOY); in lpc24xx_rtc_read_alarm()
[all …]
Drtc-lpc32xx.c42 #define rtc_readl(dev, reg) \ macro
60 elapsed_sec = rtc_readl(rtc, LPC32XX_RTC_UCOUNT); in lpc32xx_rtc_read_time()
75 tmp = rtc_readl(rtc, LPC32XX_RTC_CTRL); in lpc32xx_rtc_set_time()
91 rtc_time64_to_tm(rtc_readl(rtc, LPC32XX_RTC_MATCH0), &wkalrm->time); in lpc32xx_rtc_read_alarm()
93 wkalrm->pending = !!(rtc_readl(rtc, LPC32XX_RTC_INTSTAT) & in lpc32xx_rtc_read_alarm()
111 tmp = rtc_readl(rtc, LPC32XX_RTC_CTRL); in lpc32xx_rtc_set_alarm()
136 tmp = rtc_readl(rtc, LPC32XX_RTC_CTRL); in lpc32xx_rtc_alarm_irq_enable()
160 rtc_readl(rtc, LPC32XX_RTC_CTRL) & in lpc32xx_rtc_alarm_interrupt()
207 tmp = rtc_readl(rtc, LPC32XX_RTC_CTRL); in lpc32xx_rtc_probe()
208 if (rtc_readl(rtc, LPC32XX_RTC_KEY) != LPC32XX_RTC_KEY_ONSW_LOADVAL) { in lpc32xx_rtc_probe()
[all …]
Drtc-pxa.c71 #define rtc_readl(pxa_rtc, reg) \ macro
116 rtsr = rtc_readl(pxa_rtc, RTSR); in rtsr_clear_bits()
126 rtsr = rtc_readl(pxa_rtc, RTSR); in rtsr_set_bits()
141 rtsr = rtc_readl(pxa_rtc, RTSR); in pxa_rtc_irq()
228 rycr = rtc_readl(pxa_rtc, RYCR); in pxa_rtc_read_time()
229 rdcr = rtc_readl(pxa_rtc, RDCR); in pxa_rtc_read_time()
250 ryar = rtc_readl(pxa_rtc, RYAR1); in pxa_rtc_read_alarm()
251 rdar = rtc_readl(pxa_rtc, RDAR1); in pxa_rtc_read_alarm()
254 rtsr = rtc_readl(pxa_rtc, RTSR); in pxa_rtc_read_alarm()
270 rtsr = rtc_readl(pxa_rtc, RTSR); in pxa_rtc_set_alarm()
[all …]
Drtc-fsl-ftm-alarm.c48 static inline u32 rtc_readl(struct ftm_rtc *dev, u32 reg) in rtc_readl() function
69 val = rtc_readl(rtc, FTM_SC); in ftm_counter_enable()
80 val = rtc_readl(rtc, FTM_SC); in ftm_counter_disable()
110 while ((FTM_SC_TOF & rtc_readl(rtc, FTM_SC)) && timeout--) in ftm_irq_acknowledge()
111 rtc_writel(rtc, FTM_SC, rtc_readl(rtc, FTM_SC) & (~FTM_SC_TOF)); in ftm_irq_acknowledge()
118 val = rtc_readl(rtc, FTM_SC); in ftm_irq_enable()
127 val = rtc_readl(rtc, FTM_SC); in ftm_irq_disable()
Drtc-omap.c160 static inline u32 rtc_readl(struct omap_rtc *rtc, unsigned int reg) in rtc_readl() function
421 val = rtc_readl(rtc, OMAP_RTC_PMIC_REG); in omap_rtc_power_off_program()
491 val = rtc_readl(omap_rtc_power_off_rtc, OMAP_RTC_PMIC_REG); in omap_rtc_power_off()
606 val = rtc_readl(rtc, OMAP_RTC_PMIC_REG); in rtc_pinconf_get()
636 val = rtc_readl(rtc, OMAP_RTC_PMIC_REG); in rtc_pinconf_set()
696 val[i] = rtc_readl(rtc, in omap_rtc_scratch_read()