Searched refs:rtc_status_reg (Results 1 – 2 of 2) sorted by relevance
112 unsigned long rtc_status_reg, rtc_alarm; in sirfsoc_rtc_set_alarm() local121 rtc_status_reg = sirfsoc_rtc_readl(rtcdrv, RTC_STATUS); in sirfsoc_rtc_set_alarm()122 if (rtc_status_reg & SIRFSOC_RTC_AL0E) { in sirfsoc_rtc_set_alarm()131 rtc_status_reg &= ~0x07; /* mask out the lower status bits */ in sirfsoc_rtc_set_alarm()136 rtc_status_reg |= SIRFSOC_RTC_AL0; in sirfsoc_rtc_set_alarm()138 rtc_status_reg |= SIRFSOC_RTC_AL0E; in sirfsoc_rtc_set_alarm()139 sirfsoc_rtc_writel(rtcdrv, RTC_STATUS, rtc_status_reg); in sirfsoc_rtc_set_alarm()150 rtc_status_reg = sirfsoc_rtc_readl(rtcdrv, RTC_STATUS); in sirfsoc_rtc_set_alarm()151 if (rtc_status_reg & SIRFSOC_RTC_AL0E) { in sirfsoc_rtc_set_alarm()153 rtc_status_reg &= ~0x07; in sirfsoc_rtc_set_alarm()[all …]
75 u64 rtc_status_reg; in goldfish_rtc_set_alarm() local97 rtc_status_reg = readl(base + TIMER_ALARM_STATUS); in goldfish_rtc_set_alarm()98 if (rtc_status_reg) in goldfish_rtc_set_alarm()