/openbsd-current/sys/arch/octeon/dev/ |
H A D | octrtc.c | 126 uint8_t tod[8]; local 134 rc = octrtc_read(&tod[0], 1); /* ia read */ 141 rc = octrtc_read(&tod[i], 0); /* current address */ 146 DPRINTF(("%#X ", tod[i])); 155 if ((check & 0xf) == (tod[0] & 0xf)) 161 ((tod[5] & 0x80) ? 2000 : 1900) + FROMBCD(tod[6]), /* year */ 162 FROMBCD(tod[5] & 0x1f), /* month */ 163 FROMBCD(tod[4] & 0x3f), /* day */ 164 (tod[ 243 uint8_t tod[8]; local [all...] |
/openbsd-current/sys/arch/sparc64/dev/ |
H A D | vrtc.c | 80 u_int64_t tod; local 82 if (hv_tod_get(&tod) != H_EOK) 85 tv->tv_sec = tod;
|
H A D | prtc.c | 107 u_int32_t tod = 0; local 109 snprintf(buf, sizeof(buf), "h# %08lx unix-gettod", (long)&tod); 112 tv->tv_sec = tod; 133 .name = ADR2CELL("FJSV,get-tod"),
|
H A D | sbbc.c | 318 struct sbbc_sram_tod *tod; local 321 tod = (struct sbbc_sram_tod *)(sc->sc_sram + offset); 322 if (tod->tod_magic != SBBC_TOD_MAGIC || 323 tod->tod_version < SBBC_TOD_VERSION) 330 handle->cookie = tod; 342 struct sbbc_sram_tod *tod = handle->cookie; local 344 tv->tv_sec = tod->tod_time + tod->tod_skew; 352 struct sbbc_sram_tod *tod = handle->cookie; local 354 tod [all...] |
/openbsd-current/sys/dev/fdt/ |
H A D | plrtc.c | 66 uint32_t tod; local 68 tod = bus_space_read_4(sc->sc_iot, sc->sc_ioh, RTCDR); 70 tv->tv_sec = tod;
|
/openbsd-current/sys/arch/hppa/dev/ |
H A D | clock.c | 77 struct pdc_tod tod PDC_ALIGNMENT; 81 &tod, 0, 0, 0, 0, 0))) { 86 tv->tv_sec = tod.sec; 87 tv->tv_usec = tod.usec;
|
/openbsd-current/gnu/usr.bin/cvs/lib/ |
H A D | getdate.y | 613 time_t tod; 642 if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0) 644 Julian += tod; 894 time_t tod; 966 tod = RelativeDate(Start, yyDayOrdinal, yyDayNumber); 967 Start += tod;
|
H A D | getdate.c | 1633 time_t tod; 1659 if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0) 1661 Julian += tod; 1911 time_t tod; 1983 tod = RelativeDate(Start, yyDayOrdinal, yyDayNumber); 1984 Start += tod; 1629 time_t tod; local 1907 time_t tod; local
|
/openbsd-current/usr.bin/rcs/ |
H A D | date.y | 545 time_t tod; 576 if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0) 578 julian += tod; 816 time_t Start, tod, nowtime, tz; 866 tod = RelativeDate(Start, yyDayOrdinal, yyDayNumber); 867 Start += tod;
|
/openbsd-current/usr.bin/cvs/ |
H A D | date.y | 540 time_t tod; 571 if ((tod = ToSeconds(Hours, Minutes, Seconds, Meridian)) < 0) 573 julian += tod; 811 time_t Start, tod, nowtime, tz; 861 tod = RelativeDate(Start, yyDayOrdinal, yyDayNumber); 862 Start += tod;
|
/openbsd-current/usr.bin/top/ |
H A D | display.c | 264 i_timeofday(time_t * tod) argument 281 foo = ctime(tod); 285 printwp("%s %-8.8s", buf, &(ctime(tod)[11]));
|
/openbsd-current/usr.bin/at/ |
H A D | parsetime.c | 381 * tod() computes the time of day 385 tod(struct tm *tm) function 656 if (tod(&runtime) != 0 || month(&runtime) != 0)
|
/openbsd-current/sys/arch/sparc64/include/ |
H A D | hypervisor.h | 128 int64_t hv_tod_get(uint64_t *tod); 129 int64_t hv_tod_set(uint64_t tod);
|
/openbsd-current/usr.sbin/zic/ |
H A D | zic.c | 1038 long dayoff, tod; local 1101 tod = gethms(fields[LP_TIME], "invalid time of day", FALSE); 1127 leapadd(tadd(t, tod), positive, lp->l_value, count); 1719 long tod; local 1754 tod = rp->r_tod; 1756 tod += gmtoff; 1758 tod += dstoff; 1759 if (tod < 0) { 1763 if (tod != 2 * SECSPERMIN * MINSPERHOUR) { 1766 if (stringoffset(ep, size - (ep - result), tod) ! [all...] |
/openbsd-current/usr.sbin/ldomctl/ |
H A D | config.c | 110 uint64_t tod; variable 815 md_get_prop_val(md, node, "tod-offset", &guest->tod_offset); 900 md_get_prop_val(md, node, "tod-frequency", &tod_frequency); 901 md_get_prop_val(md, node, "tod", &tod); 1334 md_add_prop_val(md, node, "tod-offset", guest->tod_offset); 1399 md_add_prop_val(md, node, "tod-frequency", 1401 if (tod != 0) 1402 md_add_prop_val(md, node, "tod", tod); [all...] |