Searched refs:RTC_WDAY_MASK (Results 1 – 3 of 3) sorted by relevance
61 #define RTC_WDAY_MASK (0x7 << RTC_WDAY_SHIFT) /* Day of Week [1-7] 1=Sunday */ macro155 tm->tm_wday = ((st_time & RTC_WDAY_MASK) >> RTC_WDAY_SHIFT) - 1; in pl031_stv2_time_to_tm()344 (RTC_MON_MASK | RTC_MDAY_MASK | RTC_WDAY_MASK)) in pl031_probe()
290 tm->tm_wday = (ds1685_rtc_bcd2bin(rtc, wday, RTC_WDAY_MASK, in ds1685_rtc_read_time()291 RTC_WDAY_MASK) - 1); in ds1685_rtc_read_time()321 wday = ds1685_rtc_bin2bcd(rtc, (tm->tm_wday + 1), RTC_WDAY_MASK, in ds1685_rtc_set_time()322 RTC_WDAY_MASK); in ds1685_rtc_set_time()
125 #define RTC_WDAY_MASK 0x07 /* - - - - - x x x */ macro