Home
last modified time | relevance | path

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

/linux-4.19.296/drivers/rtc/
Drtc-xgene.c37 #define RTC_CCR 0x0C macro
85 alrm->enabled = readl(pdata->csr_base + RTC_CCR) & RTC_CCR_IE; in xgene_rtc_read_alarm()
95 ccr = readl(pdata->csr_base + RTC_CCR); in xgene_rtc_alarm_irq_enable()
103 writel(ccr, pdata->csr_base + RTC_CCR); in xgene_rtc_alarm_irq_enable()
112 return readl(pdata->csr_base + RTC_CCR) & RTC_CCR_IE ? 1 : 0; in xgene_rtc_alarm_irq_enabled()
197 writel(RTC_CCR_EN, pdata->csr_base + RTC_CCR); in xgene_rtc_probe()
Drtc-armada38x.c31 #define RTC_CCR 0x18 macro
244 rtc_delayed_write(RTC_NOMINAL_TIMING, rtc, RTC_CCR); in armada38x_rtc_reset()
420 ccr = rtc->data->read_rtc_reg(rtc, RTC_CCR); in armada38x_rtc_read_offset()
461 rtc_delayed_write(ccr, rtc, RTC_CCR); in armada38x_rtc_set_offset()