Searched refs:fd232 (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_leitch.c | 244 int fd232; in leitch_start() local 264 fd232 = open(leitchdev, O_RDWR, 0777); in leitch_start() 265 if (fd232 == -1) { in leitch_start() 280 if (ioctl(fd232, TCGETA, &ttyb) < 0) { in leitch_start() 290 if (ioctl(fd232, TCSETA, &ttyb) < 0) { in leitch_start() 304 if (tcgetattr(fd232, ttyp) < 0) { in leitch_start() 314 if (tcsetattr(fd232, TCSANOW, ttyp) < 0) { in leitch_start() 319 if (tcflush(fd232, TCIOFLUSH) < 0) { in leitch_start() 333 if (ioctl(fd232, TIOCGETP, &ttyb) < 0) { in leitch_start() 341 if (ioctl(fd232, TIOCSETP, &ttyb) < 0) { in leitch_start() [all …]
|
H A D | refclock_msfees.c | 436 int fd232 = -1; in msfees_start() local 456 fd232 = open(eesdev, O_RDWR, 0777); in msfees_start() 457 if (fd232 == -1) { in msfees_start() 464 if (ioctl(fd232, TIOCEXCL, (char *)0) < 0) { in msfees_start() 483 if (tcgetattr(fd232, ttyp) < 0) { in msfees_start() 493 if (tcsetattr(fd232, TCSANOW, ttyp) < 0) { in msfees_start() 498 if (tcflush(fd232, TCIOFLUSH) < 0) { in msfees_start() 539 ees->io.fd = fd232; in msfees_start() 550 while (ioctl(fd232, I_POP, 0 ) >= 0) ; in msfees_start() 553 if ((rc1=ioctl(fd232, I_PUSH, STREAM_PP1)) < 0 && in msfees_start() [all …]
|
H A D | refclock_parse.c | 2986 int fd232; in parse_start() local 3045 fd232 = tty_open(parsedev, O_RDWR | O_NOCTTY | O_NONBLOCK, 0777); in parse_start() 3047 if (fd232 == -1) in parse_start() 3101 parse->generic->io.fd = fd232; in parse_start() 3108 if (TTY_GETATTR(fd232, &tio) == -1) in parse_start() 3110 msyslog(LOG_ERR, "PARSE receiver #%d: parse_start: tcgetattr(%d, &tio): %m", unit, fd232); in parse_start() 3172 parse->ppsfd = fd232; in parse_start() 3239 if (TTY_SETATTR(fd232, &tio) == -1) in parse_start() 3241 msyslog(LOG_ERR, "PARSE receiver #%d: parse_start: tcsetattr(%d, &tio): %m", unit, fd232); in parse_start()
|