Home
last modified time | relevance | path

Searched refs:alrmar (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/rtc/
H A Drtc-stm32.c105 u16 alrmar; member
345 unsigned int alrmar, cr, status; in stm32_rtc_read_alarm() local
347 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 …]