Searched refs:RTC_DAY (Results 1 – 1 of 1) sorted by relevance
50 #define RTC_DAY 0x3 macro120 0x07 < data[RTC_DAY] || 0x00 == data[RTC_DAY] || in rtc_validate()134 data[RTC_DAY] = 0x02; in rtc_validate()161 tmp->tm_wday = bcd2bin(data[RTC_DAY] & 0x07) - 1; in rtc_get()190 data[RTC_DAY] = bin2bcd(tmp->tm_wday + 1) & 0x07; in rtc_set()