Searched refs:alrmar (Results 1 – 1 of 1) sorted by relevance
105 u16 alrmar; member345 unsigned int alrmar, cr, status; in stm32_rtc_read_alarm() local347 alrmar = readl_relaxed(rtc->base + regs->alrmar); in stm32_rtc_read_alarm()351 if (alrmar & STM32_RTC_ALRMXR_DATE_MASK) { in stm32_rtc_read_alarm()359 if (alrmar & STM32_RTC_ALRMXR_WDSEL) { in stm32_rtc_read_alarm()362 tm->tm_wday = (alrmar & STM32_RTC_ALRMXR_WDAY) >> in stm32_rtc_read_alarm()368 tm->tm_mday = (alrmar & STM32_RTC_ALRMXR_DATE) >> in stm32_rtc_read_alarm()373 if (alrmar & STM32_RTC_ALRMXR_HOUR_MASK) { in stm32_rtc_read_alarm()377 tm->tm_hour = (alrmar & STM32_RTC_ALRMXR_HOUR) >> in stm32_rtc_read_alarm()379 if (alrmar & STM32_RTC_ALRMXR_PM) in stm32_rtc_read_alarm()[all …]