Home
last modified time | relevance | path

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

/linux-2.6.39/arch/powerpc/platforms/maple/
Dtime.c46 static int maple_clock_read(int addr) in maple_clock_read() function
61 tm->tm_sec = maple_clock_read(RTC_SECONDS); in maple_get_rtc_time()
62 tm->tm_min = maple_clock_read(RTC_MINUTES); in maple_get_rtc_time()
63 tm->tm_hour = maple_clock_read(RTC_HOURS); in maple_get_rtc_time()
64 tm->tm_mday = maple_clock_read(RTC_DAY_OF_MONTH); in maple_get_rtc_time()
65 tm->tm_mon = maple_clock_read(RTC_MONTH); in maple_get_rtc_time()
66 tm->tm_year = maple_clock_read(RTC_YEAR); in maple_get_rtc_time()
67 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); in maple_get_rtc_time()
69 if (!(maple_clock_read(RTC_CONTROL) & RTC_DM_BINARY) in maple_get_rtc_time()
91 save_control = maple_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in maple_set_rtc_time()
[all …]