Lines Matching refs:t
204 int dn_dummy_hwclk(int op, struct rtc_time *t) { in dn_dummy_hwclk() argument
208 t->tm_sec=rtc->second; in dn_dummy_hwclk()
209 t->tm_min=rtc->minute; in dn_dummy_hwclk()
210 t->tm_hour=rtc->hours; in dn_dummy_hwclk()
211 t->tm_mday=rtc->day_of_month; in dn_dummy_hwclk()
212 t->tm_wday=rtc->day_of_week; in dn_dummy_hwclk()
213 t->tm_mon = rtc->month - 1; in dn_dummy_hwclk()
214 t->tm_year=rtc->year; in dn_dummy_hwclk()
215 if (t->tm_year < 70) in dn_dummy_hwclk()
216 t->tm_year += 100; in dn_dummy_hwclk()
218 rtc->second=t->tm_sec; in dn_dummy_hwclk()
219 rtc->minute=t->tm_min; in dn_dummy_hwclk()
220 rtc->hours=t->tm_hour; in dn_dummy_hwclk()
221 rtc->day_of_month=t->tm_mday; in dn_dummy_hwclk()
222 if(t->tm_wday!=-1) in dn_dummy_hwclk()
223 rtc->day_of_week=t->tm_wday; in dn_dummy_hwclk()
224 rtc->month = t->tm_mon + 1; in dn_dummy_hwclk()
225 rtc->year = t->tm_year % 100; in dn_dummy_hwclk()