Searched refs:new_tm (Results 1 – 1 of 1) sorted by relevance
2664 struct tm new_tm; in omap_rtc_write() local2713 memcpy(&new_tm, &s->current_tm, sizeof(new_tm)); in omap_rtc_write()2714 new_tm.tm_mon = from_bcd(value); in omap_rtc_write()2716 ti[1] = mktimegm(&new_tm); in omap_rtc_write()2732 memcpy(&new_tm, &s->current_tm, sizeof(new_tm)); in omap_rtc_write()2733 new_tm.tm_year += from_bcd(value) - (new_tm.tm_year % 100); in omap_rtc_write()2735 ti[1] = mktimegm(&new_tm); in omap_rtc_write()