Home
last modified time | relevance | path

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

/openbmc/linux/drivers/rtc/
H A Drtc-pl031.c60 #define RTC_WDAY_SHIFT 17 macro
61 #define RTC_WDAY_MASK (0x7 << RTC_WDAY_SHIFT) /* Day of Week [1-7] 1=Sunday */
138 | ((wday + 1) << RTC_WDAY_SHIFT) in pl031_stv2_tm_to_time()
155 tm->tm_wday = ((st_time & RTC_WDAY_MASK) >> RTC_WDAY_SHIFT) - 1; in pl031_stv2_time_to_tm()
346 time = time | (0x7 << RTC_WDAY_SHIFT); in pl031_probe()