Lines Matching refs:up
104 atom_start, /* start up driver */
124 struct ppsunit *up;
135 up = emalloc(sizeof(struct ppsunit));
136 memset(up, 0, sizeof(struct ppsunit));
137 pp->unitptr = up;
144 up->fddev = tty_open(device, O_RDWR, 0777);
145 if (up->fddev <= 0) {
152 * Light up the PPSAPI interface.
154 return (refclock_ppsapi(up->fddev, &up->atom));
168 struct ppsunit *up;
171 up = pp->unitptr;
172 if (up->fddev > 0)
173 close(up->fddev);
174 free(up);
186 struct ppsunit *up;
191 up = pp->unitptr;
192 if (refclock_pps(peer, &up->atom, pp->sloppyclockflag) <= 0)