Home
last modified time | relevance | path

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

/drivers/rtc/
Drtc-nuc900.c47 struct nuc900_rtc { struct
64 struct nuc900_rtc *rtc = _rtc; in nuc900_rtc_interrupt() argument
86 static int *check_rtc_access_enable(struct nuc900_rtc *nuc900_rtc) in check_rtc_access_enable() argument
89 __raw_writel(INIRRESET, nuc900_rtc->rtc_reg + REG_RTC_INIR); in check_rtc_access_enable()
93 __raw_writel(AERPOWERON, nuc900_rtc->rtc_reg + REG_RTC_AER); in check_rtc_access_enable()
95 while (!(__raw_readl(nuc900_rtc->rtc_reg + REG_RTC_AER) & AERRWENB) in check_rtc_access_enable()
139 struct nuc900_rtc *rtc = dev_get_drvdata(dev); in nuc900_alarm_irq_enable()
153 struct nuc900_rtc *rtc = dev_get_drvdata(dev); in nuc900_rtc_read_time()
164 struct nuc900_rtc *rtc = dev_get_drvdata(dev); in nuc900_rtc_set_time()
186 struct nuc900_rtc *rtc = dev_get_drvdata(dev); in nuc900_rtc_read_alarm()
[all …]