Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/rtc/
Drtc-stm32.c100 u16 alrmar; member
342 unsigned int alrmar, cr, status; in stm32_rtc_read_alarm() local
344 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 …]