Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/rtc/
Drtc-stm32.c29 #define STM32_RTC_DR_DATE_SHIFT 0 macro
284 tm->tm_mday = (dr & STM32_RTC_DR_DATE) >> STM32_RTC_DR_DATE_SHIFT; in stm32_rtc_read_time()
311 dr = ((tm->tm_mday << STM32_RTC_DR_DATE_SHIFT) & STM32_RTC_DR_DATE) | in stm32_rtc_set_time()
437 cur_day = (dr & STM32_RTC_DR_DATE) >> STM32_RTC_DR_DATE_SHIFT; in stm32_rtc_valid_alrm()