Searched refs:RTC_DATE (Results 1 – 1 of 1) sorted by relevance
51 #define RTC_DATE 0x4 macro114 date = data[RTC_DATE]; in rtc_validate()135 data[RTC_DATE] = 0x01; in rtc_validate()158 tmp->tm_mday = bcd2bin(data[RTC_DATE] & 0x3F); in rtc_get()186 data[RTC_DATE] = bin2bcd(tmp->tm_mday) & 0x3F; in rtc_set()