Searched refs:STM32_RTC_DR_YEAR (Results 1 – 1 of 1) sorted by relevance
36 #define STM32_RTC_DR_YEAR GENMASK(23, 16) macro286 tm->tm_year = (dr & STM32_RTC_DR_YEAR) >> STM32_RTC_DR_YEAR_SHIFT; in stm32_rtc_read_time()313 ((tm->tm_year << STM32_RTC_DR_YEAR_SHIFT) & STM32_RTC_DR_YEAR) | in stm32_rtc_set_time()439 cur_year = (dr & STM32_RTC_DR_YEAR) >> STM32_RTC_DR_YEAR_SHIFT; in stm32_rtc_valid_alrm()