Searched defs:rtc (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/sgs/crle/common/
H A Ddump.c36 #include "rtc.h"
95 Rtc_head *rtc = (Rtc_head *)crle->c_tempheadaddr; local
113 rtc->ch_resbgn =
118 rtc->ch_resend =
/illumos-gate/usr/src/uts/sun4u/io/
H A Dtodbq4802.c166 struct rtc_t rtc; local
170 read_rtc(&rtc);
172 " sec=%d\n", rtc.rtc_century, rtc.rtc_year, rtc.rtc_dom,
173 rtc.rtc_hrs, rtc.rtc_min, rtc.rtc_sec);
177 * year retrieved from the rtc's century and year fields.
179 tod.tod_year = rtc
212 read_rtc(struct rtc_t *rtc) argument
248 struct rtc_t rtc; local
279 write_rtc_time(struct rtc_t *rtc) argument
305 write_rtc_alarm(struct rtc_t *rtc) argument
321 struct rtc_t rtc; local
[all...]
H A Dtodm5819.c144 struct rtc_t rtc; local
153 if (read_rtc(&rtc))
166 rtc.rtc_century, rtc.rtc_year, rtc.rtc_dom, rtc.rtc_hrs);
171 ts.tv_sec = tod_to_utc(rtc_to_tod(&rtc));
177 rtc_to_tod(struct rtc_t *rtc) argument
183 * year retrieved from the rtc's century and year fields.
185 tod.tod_year = rtc
197 read_rtc(struct rtc_t *rtc) argument
245 struct rtc_t rtc; local
268 write_rtc_time(struct rtc_t *rtc) argument
322 write_rtc_alarm(struct rtc_t *rtc) argument
338 struct rtc_t rtc; local
[all...]
H A Dtodblade.c141 struct rtc_t rtc; local
178 if (read_rtc(&rtc))
191 rtc.rtc_century, rtc.rtc_year, rtc.rtc_dom, rtc.rtc_hrs);
196 ts.tv_sec = tod_to_utc(rtc_to_tod(&rtc));
202 rtc_to_tod(struct rtc_t *rtc) argument
208 * year retrieved from the rtc's century and year fields.
210 tod.tod_year = rtc
223 read_rtc(struct rtc_t *rtc) argument
271 struct rtc_t rtc; local
314 write_rtc_time(struct rtc_t *rtc) argument
[all...]
H A Dtodm5819p_rmc.c142 struct rtc_t rtc; local
168 read_rtc(&rtc);
186 ts.tv_sec = tod_to_utc(rtc_to_tod(&rtc));
192 rtc_to_tod(struct rtc_t *rtc) argument
198 * retrieved from the rtc's century and year fields.
200 tod.tod_year = rtc->rtc_year + (rtc->rtc_century * 100) - 1900;
201 tod.tod_month = rtc->rtc_mon;
202 tod.tod_day = rtc->rtc_dom;
203 tod.tod_dow = rtc
212 read_rtc(struct rtc_t *rtc) argument
249 struct rtc_t rtc; local
285 write_rtc_time(struct rtc_t *rtc) argument
345 write_rtc_alarm(struct rtc_t *rtc) argument
366 struct rtc_t rtc; local
[all...]
H A Dtodds1337.c52 #define DS1337_DEVICE_TYPE "rtc"
72 static int todds1337_prom_getdate(struct rtc_t *rtc);
73 static int todds1337_prom_setdate(struct rtc_t *rtc);
397 struct rtc_t rtc; local
409 bcopy(&soft_rtc, &rtc, sizeof (rtc));
415 tod.tod_year = rtc.rtc_year;
416 if (rtc.rtc_year <= 68)
418 tod.tod_month = rtc.rtc_mon;
419 tod.tod_day = rtc
442 struct rtc_t rtc; local
733 todds1337_read_rtc(struct rtc_t *rtc) argument
823 todds1337_write_rtc(struct rtc_t *rtc) argument
946 todds1337_prom_getdate(struct rtc_t *rtc) argument
983 todds1337_prom_setdate(struct rtc_t *rtc) argument
[all...]
H A Dtodds1287.c826 struct rtc_t rtc; local
830 read_rtc(&rtc);
832 rtc.rtc_century, rtc.rtc_year, rtc.rtc_dom, rtc.rtc_hrs);
836 * year retrieved from the rtc's century and year fields.
838 tod.tod_year = rtc.rtc_year + (rtc.rtc_century * 100) - 1900;
839 tod.tod_month = rtc
862 read_rtc(struct rtc_t *rtc) argument
951 struct rtc_t rtc; local
974 write_rtc_time(struct rtc_t *rtc) argument
1034 write_rtc_alarm(struct rtc_t *rtc) argument
1073 struct rtc_t rtc; local
[all...]
/illumos-gate/usr/src/uts/sun4u/snowbird/sys/
H A Dtodds1307.h87 struct rtc_t rtc; member in struct:ds1307_state
/illumos-gate/usr/src/uts/i86pc/io/
H A Dtodpc_subr.c43 #include <sys/rtc.h>
132 struct rtc_t rtc; local
136 if (todpc_rtcget((unsigned char *)&rtc))
140 * rtc bytes are in binary-coded decimal, so we have to convert.
141 * We assume that we wrap the rtc year back to zero at 2000.
147 rtc.rtc_century = BYTE_TO_BCD(20); /* 20xx year */
149 rtc.rtc_century = BYTE_TO_BCD(19); /* 19xx year */
150 rtc.rtc_yr = BYTE_TO_BCD(tod.tod_year);
151 rtc.rtc_mon = BYTE_TO_BCD(tod.tod_month);
152 rtc
173 struct rtc_t rtc; local
235 struct rtc_t rtc; local
[all...]
/illumos-gate/usr/src/uts/sun4u/snowbird/io/todds1307/
H A Dtodds1307.c54 #define DS1307_DEVICE_TYPE "rtc"
74 static int todds1307_prom_getdate(struct rtc_t *rtc);
75 static int todds1307_prom_setdate(struct rtc_t *rtc);
375 struct rtc_t rtc; local
387 bcopy(&soft_rtc, &rtc, sizeof (rtc));
393 tod.tod_year = rtc.rtc_year;
394 if (rtc.rtc_year <= 68)
396 tod.tod_month = rtc.rtc_mon;
397 tod.tod_day = rtc
420 struct rtc_t rtc; local
482 todds1307_read_rtc(struct rtc_t *rtc) argument
574 todds1307_write_rtc(struct rtc_t *rtc) argument
716 todds1307_prom_getdate(struct rtc_t *rtc) argument
753 todds1307_prom_setdate(struct rtc_t *rtc) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dtodds1337.h117 struct rtc_t rtc; member in struct:ds1337_state
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_input.c200 rtc_t rtc; local
250 rtc.rtc_ire = NULL;
251 rtc.rtc_ip6addr = ipv6_all_zeros;
316 * an indication that the rtc is not used.
356 (*ill->ill_inputfn)(mp, ip6h, &ip6h->ip6_dst, &iras, &rtc);
383 if (rtc.rtc_ire != NULL) {
384 ASSERT(!IN6_IS_ADDR_UNSPECIFIED(&rtc.rtc_ip6addr));
385 ire_refrele(rtc.rtc_ire);
409 ip_recv_attr_t *ira, rtc_t *rtc)
441 ill_input_short_v6(mp, ip6h, nexthop, ira, rtc);
408 ill_input_full_v6(mblk_t *mp, void *iph_arg, void *nexthop_arg, ip_recv_attr_t *ira, rtc_t *rtc) argument
514 ill_input_short_v6(mblk_t *mp, void *iph_arg, void *nexthop_arg, ip_recv_attr_t *ira, rtc_t *rtc) argument
[all...]
H A Dip_input.c203 rtc_t rtc; local
253 rtc.rtc_ire = NULL;
254 rtc.rtc_ipaddr = INADDR_ANY;
329 * an indication that the rtc is not used.
374 (*ill->ill_inputfn)(mp, ipha, &ipha->ipha_dst, &iras, &rtc);
401 if (rtc.rtc_ire != NULL) {
402 ASSERT(rtc.rtc_ipaddr != INADDR_ANY);
403 ire_refrele(rtc.rtc_ire);
426 ip_recv_attr_t *ira, rtc_t *rtc)
548 ill_input_short_v4(mp, ipha, &nexthop, ira, rtc);
425 ill_input_full_v4(mblk_t *mp, void *iph_arg, void *nexthop_arg, ip_recv_attr_t *ira, rtc_t *rtc) argument
556 ill_input_short_v4(mblk_t *mp, void *iph_arg, void *nexthop_arg, ip_recv_attr_t *ira, rtc_t *rtc) argument
[all...]
H A Dip_output.c2054 rtc_t rtc; local
2090 rtc.rtc_ire = NULL;
2094 rtc.rtc_ipaddr = INADDR_ANY;
2096 (*ill->ill_inputfn)(mp, ipha, &ipha->ipha_dst, &iras, &rtc);
2097 if (rtc.rtc_ire != NULL) {
2098 ASSERT(rtc.rtc_ipaddr != INADDR_ANY);
2099 ire_refrele(rtc.rtc_ire);
2104 rtc.rtc_ip6addr = ipv6_all_zeros;
2106 (*ill->ill_inputfn)(mp, ip6h, &ip6h->ip6_dst, &iras, &rtc);
2107 if (rtc
[all...]
/illumos-gate/usr/src/uts/common/io/mega_sas/
H A Dmegaraid_sas.h1020 uint32_t rtc; member in struct:megasas_evt_detail::__anon6081::__anon6096
/illumos-gate/usr/src/uts/common/io/mr_sas/
H A Dmr_sas.h1704 uint32_t rtc; member in struct:mrsas_evt_detail::__anon268::__anon283

Completed in 102 milliseconds