Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/rtc/
A Drtc-pl031.c61 #define RTC_WDAY_MASK (0x7 << RTC_WDAY_SHIFT) /* Day of Week [1-7] 1=Sunday */ macro
155 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()
A Drtc-ds1685.c290 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()
/linux-6.3-rc2/include/linux/rtc/
A Dds1685.h125 #define RTC_WDAY_MASK 0x07 /* - - - - - x x x */ macro

Completed in 8 milliseconds