Lines Matching refs:time1
34 u16 time1[4], time2[4]; in wm8350_rtc_readtime() local
43 4, time1); in wm8350_rtc_readtime()
51 if (memcmp(time1, time2, sizeof(time1)) == 0) { in wm8350_rtc_readtime()
52 tm->tm_sec = time1[0] & WM8350_RTC_SECS_MASK; in wm8350_rtc_readtime()
54 tm->tm_min = (time1[0] & WM8350_RTC_MINS_MASK) in wm8350_rtc_readtime()
57 tm->tm_hour = time1[1] & WM8350_RTC_HRS_MASK; in wm8350_rtc_readtime()
59 tm->tm_wday = ((time1[1] >> WM8350_RTC_DAY_SHIFT) in wm8350_rtc_readtime()
62 tm->tm_mon = ((time1[2] & WM8350_RTC_MTH_MASK) in wm8350_rtc_readtime()
65 tm->tm_mday = (time1[2] & WM8350_RTC_DATE_MASK); in wm8350_rtc_readtime()
67 tm->tm_year = ((time1[3] & WM8350_RTC_YHUNDREDS_MASK) in wm8350_rtc_readtime()
69 tm->tm_year += time1[3] & WM8350_RTC_YUNITS_MASK; in wm8350_rtc_readtime()
77 time1[0], time1[1], time1[2], time1[3]); in wm8350_rtc_readtime()