13 #include <linux/time.h>
20 #define TWENTY_YEARS ((20 * 365LU + 5) * 86400)
24 #define AICA_RTC_SECS_H 0xa0710000
25 #define AICA_RTC_SECS_L 0xa0710004
33 static void aica_rtc_gettimeofday(
struct timespec *
ts)
35 unsigned long val1, val2;
43 }
while (val1 != val2);
57 static int aica_rtc_settimeofday(
const time_t secs)
59 unsigned long val1, val2;
71 }
while (val1 != val2);