Home
last modified time | relevance | path

Searched refs:tod_year (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/uts/i86pc/io/
H A Dtodpc_subr.c147 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()
/illumos-gate/usr/src/uts/i86xpv/io/
H A Dxpvtod.c87 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()
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodmostek.c130 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()
H A Dtodds1337.c415 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()
H A Dtodbq4802.c179 tod.tod_year = rtc.rtc_year + (rtc.rtc_century * 100) - 1900; in todbq4802_get()
255 year = 1900 + tod.tod_year; in todbq4802_set()
H A Dtodm5819.c185 tod.tod_year = rtc->rtc_year + (rtc->rtc_century * 100) - 1900; in rtc_to_tod()
252 year = 1900 + tod.tod_year; in todm5819_set()
H A Dtodm5819p_rmc.c200 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()
H A Dtodds1287.c838 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()
H A Drmclomv.c3422 set_time_msg.year = tod.tod_year; in plat_timesync()
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxge_osdep.h162 (1970 + todinfo.tod_year - 70), \
/illumos-gate/usr/src/uts/common/sys/
H A Dtime.h342 int tod_year; /* year 70+ */ member
/illumos-gate/usr/src/uts/common/os/
H A Dtimers.c1435 tod.tod_year = year; in utc_to_tod()
1445 int year = tod.tod_year; in tod_to_utc()
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dsrvsvc_clnt.c522 tm->tm_year = tod->tod_year - 1900; in srvsvc_net_remote_tod()
H A Dsrvsvc_svc.c1877 tod->tod_year = tm.tm_year+1900; in srvsvc_s_NetRemoteTOD()
/illumos-gate/usr/src/uts/common/io/scsi/adapters/smartpqi/
H A Dsmartpqi_init.c2055 ht->time[7] = BIN2BCD(tod.tod_year - 70); /* Year w/in century */ in update_time()
/illumos-gate/usr/src/uts/common/smbsrv/ndl/
H A Dsrvsvc.ndl1232 DWORD tod_year;