Searched refs:maple_clock_read (Results 1 – 1 of 1) sorted by relevance
45 static int maple_clock_read(int addr) in maple_clock_read() function60 tm->tm_sec = maple_clock_read(RTC_SECONDS); in maple_get_rtc_time()61 tm->tm_min = maple_clock_read(RTC_MINUTES); in maple_get_rtc_time()62 tm->tm_hour = maple_clock_read(RTC_HOURS); in maple_get_rtc_time()63 tm->tm_mday = maple_clock_read(RTC_DAY_OF_MONTH); in maple_get_rtc_time()64 tm->tm_mon = maple_clock_read(RTC_MONTH); in maple_get_rtc_time()65 tm->tm_year = maple_clock_read(RTC_YEAR); in maple_get_rtc_time()66 } while (tm->tm_sec != maple_clock_read(RTC_SECONDS)); in maple_get_rtc_time()68 if (!(maple_clock_read(RTC_CONTROL) & RTC_DM_BINARY) in maple_get_rtc_time()90 save_control = maple_clock_read(RTC_CONTROL); /* tell the clock it's being set */ in maple_set_rtc_time()[all …]