Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/rtc/
Drtc-stm32.c36 #define STM32_RTC_DR_YEAR GENMASK(23, 16) macro
286 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()