Lines Matching refs:up

124  * call it up and retrieve the time in one of two formats. As this
168 * &D2 hang up and return to command mode on DTR transition
229 acts_start, /* start up driver */
247 struct actsunit *up;
254 up = emalloc_zero(sizeof(struct actsunit));
255 up->unit = unit;
257 pp->unitptr = up;
270 up->bufptr = up->buf;
290 struct actsunit *up;
297 up = pp->unitptr;
299 free(up);
311 struct actsunit *up;
314 char tbuf[sizeof(up->buf)];
321 * interface kicks up; so, we have to reassemble messages from
327 up = pp->unitptr;
328 octets = sizeof(up->buf) - (up->bufptr - up->buf);
332 if (up->bufptr == up->buf) {
333 up->tstamp = pp->lastrec;
336 *up->bufptr = '\0';
337 up->bufptr = up->buf;
338 acts_message(peer, up->buf);
341 *up->bufptr++ = *tptr;
343 up->tstamp = pp->lastrec;
360 struct actsunit *up;
372 up = pp->unitptr;
379 switch (up->state) {
401 up->retry, sys_phone[up->retry]);
404 refclock_write(peer, sys_phone[up->retry],
405 strlen(sys_phone[up->retry]),
408 up->retry++;
409 up->state = S_CONNECT;
410 up->timer = ANSWER;
424 up->state = S_MSG;
425 up->timer = TIMECODE;
436 if (up->msgcnt < MAXCODE)
460 struct actsunit *up;
471 up = pp->unitptr;
489 up->unit);
507 up->unit);
521 up->msgcnt = 0;
522 up->bufptr = up->buf;
528 if (sys_phone[up->retry] == NULL) {
530 up->state = S_MSG;
531 up->timer = TIMECODE;
544 up->state = S_SETUP;
545 up->timer = SETUP;
568 if (up->msgcnt == 0) {
593 struct actsunit *up;
599 up = pp->unitptr;
610 LOCKFILE, up->unit);
613 if (up->msgcnt == 0 && up->retry > 0) {
614 if (sys_phone[up->retry] != NULL) {
615 up->state = S_IDLE;
616 up->timer = REDIAL;
620 up->state = S_IDLE;
621 up->timer = 0;
634 struct actsunit *up;
643 up = pp->unitptr;
672 if (S_IDLE == up->state) {
673 up->retry = 0;
688 struct actsunit *up;
698 up = pp->unitptr;
699 if (up->timer == 0) {
705 up->timer--;
706 if (up->timer == 0)
707 acts_timeout(peer, up->state);
720 struct actsunit *up;
748 up = pp->unitptr;
757 if (*str == '*' && up->msgcnt > 0)
782 up->msgcnt++;
783 if (flag != '#' && up->msgcnt < 10)
806 up->msgcnt++;
830 up->msgcnt++;
848 up->msgcnt++;
869 up->msgcnt++;
887 pp->lastrec = up->tstamp;
888 if (up->msgcnt == 0)