Searched refs:alrmar (Results 1 – 1 of 1) sorted by relevance
100 u16 alrmar; member342 unsigned int alrmar, cr, status; in stm32_rtc_read_alarm() local344 alrmar = readl_relaxed(rtc->base + regs->alrmar); in stm32_rtc_read_alarm()348 if (alrmar & STM32_RTC_ALRMXR_DATE_MASK) { in stm32_rtc_read_alarm()356 if (alrmar & STM32_RTC_ALRMXR_WDSEL) { in stm32_rtc_read_alarm()359 tm->tm_wday = (alrmar & STM32_RTC_ALRMXR_WDAY) >> in stm32_rtc_read_alarm()365 tm->tm_mday = (alrmar & STM32_RTC_ALRMXR_DATE) >> in stm32_rtc_read_alarm()370 if (alrmar & STM32_RTC_ALRMXR_HOUR_MASK) { in stm32_rtc_read_alarm()374 tm->tm_hour = (alrmar & STM32_RTC_ALRMXR_HOUR) >> in stm32_rtc_read_alarm()376 if (alrmar & STM32_RTC_ALRMXR_PM) in stm32_rtc_read_alarm()[all …]