Searched refs:tod_year (Results 1 – 16 of 16) sorted by relevance
147 tod.tod_year -= YRBASE; in todpc_set()148 if (tod.tod_year >= 100) { in todpc_set()149 tod.tod_year -= 100; in todpc_set()153 rtc.rtc_yr = BYTE_TO_BCD(tod.tod_year); in todpc_set()189 tod.tod_year = BCD_TO_BYTE(rtc.rtc_yr); in todpc_get()190 if (tod.tod_year < 69) { in todpc_get()191 if (range_warn && tod.tod_year > 38) { in todpc_get()196 tod.tod_year += 100 + YRBASE; /* 20xx year */ in todpc_get()200 tod.tod_year += YRBASE; /* 19xx year */ in todpc_get()
87 if (tod.tod_year < 69) { in todxen_get()102 if (tod.tod_year > 38) in todxen_get()108 tod.tod_year += 100; in todxen_get()
130 tod.tod_year = BCD_TO_BYTE(CLOCK->clk_year) + YRBASE; in todm_get()166 CLOCK->clk_year = BYTE_TO_BCD(tod.tod_year - YRBASE); in todm_set()
415 tod.tod_year = rtc.rtc_year; in todds1337_get()417 tod.tod_year += 100; in todds1337_get()452 if ((tod.tod_year < 69) || (tod.tod_year > 168)) in todds1337_set()455 year = tod.tod_year; in todds1337_set()
179 tod.tod_year = rtc.rtc_year + (rtc.rtc_century * 100) - 1900; in todbq4802_get()255 year = 1900 + tod.tod_year; in todbq4802_set()
185 tod.tod_year = rtc->rtc_year + (rtc->rtc_century * 100) - 1900; in rtc_to_tod()252 year = 1900 + tod.tod_year; in todm5819_set()
200 tod.tod_year = rtc->rtc_year + (rtc->rtc_century * 100) - 1900; in rtc_to_tod()258 year = 1900 + tod.tod_year; in todm5819p_rmc_set()
838 tod.tod_year = rtc.rtc_year + (rtc.rtc_century * 100) - 1900; in todds_get()958 year = 1900 + tod.tod_year; in todds_set()1100 rtc.apc_wyr = tod.tod_year % 100; in todds_set_power_alarm()1101 rtc.apc_wcr = (tod.tod_year / 100) + 19; in todds_set_power_alarm()
3422 set_time_msg.year = tod.tod_year; in plat_timesync()
162 (1970 + todinfo.tod_year - 70), \
342 int tod_year; /* year 70+ */ member
1435 tod.tod_year = year; in utc_to_tod()1445 int year = tod.tod_year; in tod_to_utc()
522 tm->tm_year = tod->tod_year - 1900; in srvsvc_net_remote_tod()
1877 tod->tod_year = tm.tm_year+1900; in srvsvc_s_NetRemoteTOD()
2055 ht->time[7] = BIN2BCD(tod.tod_year - 70); /* Year w/in century */ in update_time()
1232 DWORD tod_year;