Searched refs:txc (Results 1 - 8 of 8) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/miscutils/
H A Dadjtimex.c54 struct timex txc; local
57 txc.modes=0;
63 txc.offset = xatol(opt_o);
64 txc.modes |= ADJ_OFFSET_SINGLESHOT;
67 txc.freq = xatol(opt_f);
68 txc.modes |= ADJ_FREQUENCY;
71 txc.constant = xatol(opt_p);
72 txc.modes |= ADJ_TIMECONST;
75 txc.tick = xatol(opt_t);
76 txc
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/time/
H A Dntp.c197 int do_adjtimex(struct timex *txc) argument
204 if (txc->modes && !capable(CAP_SYS_TIME))
209 if ((txc->modes & ADJ_OFFSET_SINGLESHOT) == ADJ_OFFSET_SINGLESHOT)
211 if (txc->modes != ADJ_OFFSET_SINGLESHOT)
214 if (txc->modes != ADJ_OFFSET_SINGLESHOT && (txc->modes & ADJ_OFFSET))
216 if (txc->offset <= - MAXPHASE || txc->offset >= MAXPHASE )
220 if (txc->modes & ADJ_TICK)
221 if (txc
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dcompat.c908 struct timex txc; local
911 memset(&txc, 0, sizeof(struct timex));
914 __get_user(txc.modes, &utp->modes) ||
915 __get_user(txc.offset, &utp->offset) ||
916 __get_user(txc.freq, &utp->freq) ||
917 __get_user(txc.maxerror, &utp->maxerror) ||
918 __get_user(txc.esterror, &utp->esterror) ||
919 __get_user(txc.status, &utp->status) ||
920 __get_user(txc.constant, &utp->constant) ||
921 __get_user(txc
[all...]
H A Dtime.c206 struct timex txc; /* Local copy of parameter */ local
213 if(copy_from_user(&txc, txc_p, sizeof(struct timex)))
215 ret = do_adjtimex(&txc);
216 return copy_to_user(txc_p, &txc, sizeof(struct timex)) ? -EFAULT : ret;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntpclient/
H A Dntpclient.c92 struct timex txc; local
93 txc.modes=0;
94 if (__adjtimex(&txc) < 0) {
97 return txc.freq;
108 struct timex txc; local
109 txc.modes = ADJ_FREQUENCY;
110 txc.freq = new_freq;
111 if (__adjtimex(&txc) < 0) {
114 return txc.freq;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/ntpclient/
H A Dntpclient.c89 struct timex txc; local
90 txc.modes=0;
91 if (__adjtimex(&txc) < 0) {
94 return txc.freq;
105 struct timex txc; local
106 txc.modes = ADJ_FREQUENCY;
107 txc.freq = new_freq;
108 if (__adjtimex(&txc) < 0) {
111 return txc.freq;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/kernel/
H A Dosf_sys.c1210 struct timex txc; local
1214 if (copy_from_user(&txc, txc_p, offsetof(struct timex32, time)) ||
1215 copy_from_user(&txc.tick, &txc_p->tick, sizeof(struct timex32) -
1219 ret = do_adjtimex(&txc);
1224 if (copy_to_user(txc_p, &txc, offsetof(struct timex32, time)) ||
1225 (copy_to_user(&txc_p->tick, &txc.tick, sizeof(struct timex32) -
1227 (put_tv32(&txc_p->time, &txc.time)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dewrk3.c284 u_char txc; /* Transmit cut through */ member in struct:ewrk3_private
842 if (lp->txc) {
1914 lp->txc = 1;
1922 lp->txc = 0;

Completed in 221 milliseconds