Home
last modified time | relevance | path

Searched refs:L_SUB (Results 1 – 25 of 32) sorted by relevance

12

/netbsd/src/external/bsd/ntp/dist/ntpd/
Drefclock_msfees.c931 L_SUB(&diff, &ees->arrvtime); in ees_receive()
939 L_SUB(&diff, &acceptable_slop); in ees_receive()
949 L_SUB(&diff, &ees->arrvtime); in ees_receive()
951 L_SUB(&diff, &acceptable_slop); in ees_receive()
987 L_SUB(&delta, &ees->last_l); in ees_receive()
1171 { L_SUB(&pps_arrvstamp, &inc); in ees_receive()
1172 L_SUB(&ees->arrvtime, &inc); in ees_receive()
1196 L_SUB(&ees->arrvtime, &offset_fudge[ees->unit]); in ees_receive()
1197 L_SUB(&pps_arrvstamp, &offset_fudge[ees->unit]); in ees_receive()
1211 L_SUB(&ees->codeoffsets[n_sample], &ees->arrvtime); in ees_receive()
[all …]
Drefclock_leitch.c502 L_SUB(&off,&leitch->codetime1); in leitch_process()
504 L_SUB(&tmp_fp,&leitch->codetime2); in leitch_process()
508 L_SUB(&tmp_fp,&leitch->codetime3); in leitch_process()
Dntp_monitor.c355 L_SUB(&interval_fp, &mon->last); in ntp_monitor()
452 L_SUB(&interval_fp, &oldest->last); in ntp_monitor()
Dntp_refclock.c512 L_SUB(&lftemp, &lastrec); in refclock_process_offset()
1676 L_SUB(rcvtime, delta); in refclock_ppsaugment()
1700 L_SUB(stamp, delta); in refclock_ppsaugment()
1706 L_SUB(delta, rcvtime); in refclock_ppsaugment()
1740 L_SUB(rcvtime, delta); in refclock_ppsaugment()
Dntp_proto.c1885 L_SUB(&tdiff, &peer->bxmt); in receive()
2699 L_SUB(&ci, &peer->dst); in process_packet()
2703 L_SUB(&ci, &peer->borg); in process_packet()
2705 L_SUB(&ci, &peer->aorg); in process_packet()
2726 L_SUB(&ci, &peer->aorg); in process_packet()
2729 L_SUB(&ci, &peer->borg); in process_packet()
2751 L_SUB(&ci, &peer->dst); in process_packet()
2790 L_SUB(&ci, &peer->dst); in process_packet()
2793 L_SUB(&ci, &p_org); in process_packet()
4237 L_SUB(&xmt_ty, &xmt_tx); in peer_xmit()
[all …]
Drefclock_gpsdjson.c1607 L_SUB(&up->sti_recvt, &up->sti_fudge); in process_tpv()
1682 L_SUB(&up->pps_recvt , &up->pps_fudge ); in process_pps()
1683 L_SUB(&up->pps_recvt2, &up->pps_fudge2); in process_pps()
1738 L_SUB(&up->sti_recvt, &up->sti_fudge); in process_toff()
1814 L_SUB(&diff, &up->pps_local); in gpsd_parse()
Drefclock_irig.c433 L_SUB(&rbufp->recv_time, &ltemp); in irig_receive()
792 L_SUB(&up->chrstamp, &ltemp); in irig_baud()
Drefclock_chu.c675 L_SUB(&rbufp->recv_time, &ltemp); in chu_audio_receive()
1011 L_SUB(&tstmp, &up->laststamp); in chu_decode()
1271 L_SUB(&up->tstamp[up->ntstamp], &offset); in chu_a()
Drefclock_datum.c713 L_SUB(&tstmp, &datum_pts->lastrec); /* tstmp is now the correction */ in datum_pts_receive()
Dntpd.c1538 L_SUB(&dts, &rbuf->recv_time);
1555 L_SUB(&tsb, &tsa);
Drefclock_true.c572 L_SUB(&off, &pp->lastrec); in true_receive()
Drefclock_parse.c2314 L_SUB(&ts.fp, &tstmp); in local_input()
3574L_SUB(&off, &parse->timedata.parse_ptime.fp); /* true offset */ in parse_control()
4012 L_SUB(&off, &rectime); /* prepare for PPS adjustments logic */ in parse_process()
4082 L_SUB(&off, &offset); /* true offset */ in parse_process()
4133 L_SUB(&rectime, &off); /* just to keep the ntp interface happy */ in parse_process()
Drefclock_arc.c1014 L_SUB(&diff, &timestamp); in arc_receive()
/netbsd/src/sys/kern/
Dkern_ntptime.c89 #define L_SUB(v, u) ((v) -= (u)) macro
522 L_SUB(time_offset, ftemp); in ntp_update_second()
838 L_SUB(ftemp, pps_freq); in hardpps()
/netbsd/src/external/bsd/ntp/dist/tests/libntp/
Dtimespecops.c128 L_SUB(&diff, &n); in AssertFpClose()
131 L_SUB(&diff, &m); in AssertFpClose()
Dtimevalops.c138 L_SUB(&diff, &n); in AssertFpClose()
141 L_SUB(&diff, &m); in AssertFpClose()
Dlfpfunc.c143 L_SUB(&temp, &second); in l_fp_subtract()
/netbsd/src/external/bsd/ntp/dist/libparse/
Dclk_trimtsip.c279L_SUB(&secs, &utcoffset); /* adjust GPS time to UTC time */ in cvt_trimtsip()
Dclk_rawdcf.c623 L_SUB(&delt, &base->fp); in calc_usecdiff()
Dparse.c136 L_SUB(&delt, &parseio->parse_lastchar.fp); in parse_timedout()
/netbsd/src/external/bsd/ntp/dist/ntpdate/
Dntpdate.c883 L_SUB(&t10, &rbufp->recv_time); /* recv_time == t0*/ in receive()
886 L_SUB(&t23, &org); /* pkt->org == t3 */ in receive()
903 L_SUB(&t23, &t10); in receive()
/netbsd/src/external/bsd/ntp/dist/libntp/
Dsystime.c262 L_SUB(&lfpdelta, &lfp_prev); in get_systime()
/netbsd/src/external/bsd/ntp/dist/sntp/
Dmain.c1346 L_SUB(&tmp, &p_org); in offset_calculation()
1351 L_SUB(&tmp, &dst); in offset_calculation()
/netbsd/src/external/bsd/ntp/dist/include/
Dntp_fp.h231 #define L_SUB(r, a) M_SUB((r)->l_ui, (r)->l_uf, (a)->l_ui, (a)->l_uf) macro
/netbsd/src/external/bsd/ntp/dist/ntpq/
Dntpq-subs.c3123 L_SUB(&interval, &pm1->first); in qcmp_mru_avgint()
3128 L_SUB(&interval, &pm2->first); in qcmp_mru_avgint()
3311 L_SUB(&interval, &recent->last); in mrulist()
3315 L_SUB(&interval, &recent->first); in mrulist()

12