Searched refs:maple_clock_read (Results 1 – 1 of 1) sorted by relevance
39 static int maple_clock_read(int addr) in maple_clock_read() function54 tm->tm_sec = maple_clock_read(RTC_SECONDS); in maple_get_rtc_time()55 tm->tm_min = maple_clock_read(RTC_MINUTES); in maple_get_rtc_time()56 tm->tm_hour = maple_clock_read(RTC_HOURS); in maple_get_rtc_time()57 tm->tm_mday = maple_clock_read(RTC_DAY_OF_MONTH); in maple_get_rtc_time()58 tm->tm_mon = maple_clock_read(RTC_MONTH); in maple_get_rtc_time()59 tm->tm_year = maple_clock_read(RTC_YEAR); in maple_get_rtc_time()60 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); in maple_get_rtc_time()62 if (!(maple_clock_read(RTC_CONTROL) & RTC_DM_BINARY) in maple_get_rtc_time()84 save_control = maple_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in maple_set_rtc_time()[all …]