Searched refs:new_tm (Results 1 – 1 of 1) sorted by relevance
2655 struct tm new_tm; in omap_rtc_write() local2689 memcpy(&new_tm, &s->current_tm, sizeof(new_tm)); in omap_rtc_write()2690 new_tm.tm_mon = from_bcd(value); in omap_rtc_write()2692 ti[1] = mktimegm(&new_tm); in omap_rtc_write()2705 memcpy(&new_tm, &s->current_tm, sizeof(new_tm)); in omap_rtc_write()2706 new_tm.tm_year += from_bcd(value) - (new_tm.tm_year % 100); in omap_rtc_write()2708 ti[1] = mktimegm(&new_tm); in omap_rtc_write()