Lines Matching refs:tx
63 static void adjtimex_status(struct timex *tx, int status)
77 tx->modes = ADJ_STATUS;
78 tx->status = status;
79 ret = adjtimex(tx);
80 now.tv_sec = tx->time.tv_sec;
81 now.tv_nsec = tx->time.tv_usec * 1000;
83 if ((tx->status & status) != status)
126 struct timex tx;
147 adjtimex_status(&tx, STA_PLL);
148 adjtimex_status(&tx, 0);
151 adjtimex_status(&tx, STA_INS);
154 while (tx.time.tv_sec < leap.tv_sec + SECONDS_AFTER_LEAP) {
155 adjtimex_status(&tx, tx.status);
161 adjtimex_status(&tx, STA_PLL);
162 adjtimex_status(&tx, 0);