Lines Matching defs:txp

433 netbsd32_from_timex(const struct timex *txp, struct netbsd32_timex *tx32p)
437 tx32p->modes = txp->modes;
438 tx32p->offset = (netbsd32_long)txp->offset;
439 tx32p->freq = (netbsd32_long)txp->freq;
440 tx32p->maxerror = (netbsd32_long)txp->maxerror;
441 tx32p->esterror = (netbsd32_long)txp->esterror;
442 tx32p->status = txp->status;
443 tx32p->constant = (netbsd32_long)txp->constant;
444 tx32p->precision = (netbsd32_long)txp->precision;
445 tx32p->tolerance = (netbsd32_long)txp->tolerance;
446 tx32p->ppsfreq = (netbsd32_long)txp->ppsfreq;
447 tx32p->jitter = (netbsd32_long)txp->jitter;
448 tx32p->shift = txp->shift;
449 tx32p->stabil = (netbsd32_long)txp->stabil;
450 tx32p->jitcnt = (netbsd32_long)txp->jitcnt;
451 tx32p->calcnt = (netbsd32_long)txp->calcnt;
452 tx32p->errcnt = (netbsd32_long)txp->errcnt;
453 tx32p->stbcnt = (netbsd32_long)txp->stbcnt;
457 netbsd32_to_timex(const struct netbsd32_timex *tx32p, struct timex *txp)
460 memset(txp, 0, sizeof(*txp));
461 txp->modes = tx32p->modes;
462 txp->offset = (long)tx32p->offset;
463 txp->freq = (long)tx32p->freq;
464 txp->maxerror = (long)tx32p->maxerror;
465 txp->esterror = (long)tx32p->esterror;
466 txp->status = tx32p->status;
467 txp->constant = (long)tx32p->constant;
468 txp->precision = (long)tx32p->precision;
469 txp->tolerance = (long)tx32p->tolerance;
470 txp->ppsfreq = (long)tx32p->ppsfreq;
471 txp->jitter = (long)tx32p->jitter;
472 txp->shift = tx32p->shift;
473 txp->stabil = (long)tx32p->stabil;
474 txp->jitcnt = (long)tx32p->jitcnt;
475 txp->calcnt = (long)tx32p->calcnt;
476 txp->errcnt = (long)tx32p->errcnt;
477 txp->stbcnt = (long)tx32p->stbcnt;