Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-stm32.c28 #define STM32_RTC_TR_HOUR GENMASK(21, 16) macro
285 tm->tm_hour = (tr & STM32_RTC_TR_HOUR) >> STM32_RTC_TR_HOUR_SHIFT; in stm32_rtc_read_time()
311 ((tm->tm_hour << STM32_RTC_TR_HOUR_SHIFT) & STM32_RTC_TR_HOUR); in stm32_rtc_set_time()