Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/rtc/
Drtc-sunplus.c67 struct sunplus_rtc *sp_rtc = dev_get_drvdata(dev); in sp_get_seconds() local
69 *secs = (unsigned long)readl(sp_rtc->reg_base + RTC_TIMER_OUT); in sp_get_seconds()
74 struct sunplus_rtc *sp_rtc = dev_get_drvdata(dev); in sp_set_seconds() local
76 writel((u32)secs, sp_rtc->reg_base + RTC_TIMER_SET); in sp_set_seconds()
102 struct sunplus_rtc *sp_rtc = dev_get_drvdata(dev); in sp_rtc_set_alarm() local
107 writel((u32)alarm_time, sp_rtc->reg_base + RTC_ALARM_SET); in sp_rtc_set_alarm()
114 struct sunplus_rtc *sp_rtc = dev_get_drvdata(dev); in sp_rtc_read_alarm() local
117 alarm_time = readl(sp_rtc->reg_base + RTC_ALARM_SET); in sp_rtc_read_alarm()
132 struct sunplus_rtc *sp_rtc = dev_get_drvdata(dev); in sp_rtc_alarm_irq_enable() local
139 sp_rtc->reg_base + RTC_CTRL); in sp_rtc_alarm_irq_enable()
[all …]