Searched refs:RTC_CCR (Results 1 – 2 of 2) sorted by relevance
37 #define RTC_CCR 0x0C macro85 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()
31 #define RTC_CCR 0x18 macro244 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()