Lines Matching defs:tstamp
52 struct timespec *tstamp);
138 void mbg_update_sensor(struct mbg_softc *sc, struct timespec *tstamp,
141 struct timespec *tstamp);
143 struct timespec *tstamp);
145 struct timespec *tstamp);
312 struct timespec tstamp;
317 &tstamp)) {
333 timedelta = (int64_t)((tstamp.tv_sec - trecv) * 100
334 - tframe.hundreds) * 10000000LL + tstamp.tv_nsec;
336 mbg_update_sensor(sc, &tstamp, timedelta, tframe.signal,
349 struct timespec tstamp;
353 &tstamp)) {
362 tlocal = tstamp.tv_sec * NSECPERSEC + tstamp.tv_nsec;
366 mbg_update_sensor(sc, &tstamp, tlocal - trecv, tframe.signal,
372 mbg_update_sensor(struct mbg_softc *sc, struct timespec *tstamp,
378 sc->sc_timedelta.tv.tv_sec = tstamp->tv_sec;
379 sc->sc_timedelta.tv.tv_usec = tstamp->tv_nsec / 1000;
404 struct timespec *tstamp)
416 if (tstamp)
417 nanotime(tstamp);
427 tsleep_nsec(tstamp, 0, "mbg", MSEC_TO_NSEC(1));
459 struct timespec *tstamp)
472 if (tstamp)
473 nanotime(tstamp);
483 tsleep_nsec(tstamp, 0, "mbg", MSEC_TO_NSEC(1));
509 struct timespec *tstamp)
520 if (tstamp) {
522 nanotime(tstamp);
535 tsleep_nsec(tstamp, 0, "mbg", MSEC_TO_NSEC(1));