Searched refs:RTC_CCR (Results 1 – 2 of 2) sorted by relevance
24 #define RTC_CCR 0x0C macro71 alrm->enabled = readl(pdata->csr_base + RTC_CCR) & RTC_CCR_IE; in xgene_rtc_read_alarm()81 ccr = readl(pdata->csr_base + RTC_CCR); in xgene_rtc_alarm_irq_enable()89 writel(ccr, pdata->csr_base + RTC_CCR); in xgene_rtc_alarm_irq_enable()98 return readl(pdata->csr_base + RTC_CCR) & RTC_CCR_IE ? 1 : 0; in xgene_rtc_alarm_irq_enabled()175 writel(RTC_CCR_EN, pdata->csr_base + RTC_CCR); in xgene_rtc_probe()
26 #define RTC_CCR 0x18 macro239 rtc_delayed_write(RTC_NOMINAL_TIMING, rtc, RTC_CCR); in armada38x_rtc_reset()405 ccr = rtc->data->read_rtc_reg(rtc, RTC_CCR); in armada38x_rtc_read_offset()446 rtc_delayed_write(ccr, rtc, RTC_CCR); in armada38x_rtc_set_offset()