Searched refs:ldisc (Results 1 - 14 of 14) sorted by relevance

/netbsd-current/bin/stty/
H A Dstty.h42 linedn_t ldisc; /* line discipline */ member in struct:info
H A Dstty.c102 if (ioctl(i.fd, TIOCGLINED, i.ldisc) < 0)
116 print(&i.t, &i.win, i.queue, i.ldisc, fmt);
H A Dprint.c55 print(struct termios *tp, struct winsize *wp, int queue, const char *ldisc, argument
78 if (ldisc)
79 cnt += printf(" line = %s;", ldisc);
H A Dkey.c150 print(&ip->t, &ip->win, ip->queue, ip->ldisc, STTY_BSD);
189 print(&ip->t, &ip->win, ip->queue, ip->ldisc, STTY_BSD);
/netbsd-current/sbin/slattach/
H A Dslattach.c70 static const char *ldisc = "slip"; variable
108 ldisc = optarg;
140 if (ioctl(fd, TIOCSLINED, ldisc) < 0)
154 "usage: %s [-t ldisc] [-hHlmn] [-s baudrate] ttyname\n",
/netbsd-current/usr.sbin/lpr/lpd/
H A Dextern.h44 int ldisc; /* line discipline */ member in struct:info
H A Dprintjob.c1564 if (ioctl(i.fd, TIOCGETD, &i.ldisc) < 0) {
/netbsd-current/sys/kern/
H A Dtty_conf.c266 struct linesw *ldisc; local
278 LIST_FOREACH(ldisc, &ttyldisc_list, l_list) {
279 if (disc->l_no == ldisc->l_no) {
330 struct linesw *ldisc = ttyldisc_lookup(disc->l_name); local
332 KASSERT(ldisc != NULL);
333 KASSERT(ldisc == disc);
334 ttyldisc_release(ldisc);
/netbsd-current/external/bsd/ntp/dist/ntpd/
H A Drefclock_hpgps.c161 int speed, ldisc; local
169 ldisc = LDISC_CLK;
173 ldisc |= LDISC_7O1;
176 fd = refclock_open(device, speed, ldisc);
/netbsd-current/usr.sbin/sliplogin/
H A Dsliplogin.c210 int fd, s, ldisc, odisc; local
318 /* find out what ldisc we started with */
323 ldisc = SLIPDISC;
324 if (ioctl(STDIN_FILENO, TIOCSETD, (caddr_t)&ldisc) < 0) {
/netbsd-current/external/bsd/ntp/dist/clockstuff/
H A Dchutest.c206 int ldisc; local
209 (void) fprintf(stderr, "Switching to CHU ldisc...");
210 ldisc = CHULDISC;
211 if (ioctl(s, TIOCSETD, (char *)&ldisc) < 0)
/netbsd-current/bin/sh/
H A Djobs.c167 int ldisc; local
204 if (ioctl(ttyfd, TIOCGETD, (char *)&ldisc) < 0
205 || ldisc != NTTYDISC) {
/netbsd-current/bin/ksh/
H A Djobs.c392 int ldisc = NTTYDISC; local
394 if (ioctl(tty_fd, TIOCSETD, &ldisc) < 0)
/netbsd-current/sys/dev/pci/
H A Dxmm7360.c1575 struct tty_ldisc *ldisc = tty_ldisc_ref(qp->port.tty); local
1576 if (ldisc) {
1577 if (ldisc->ops->write_wakeup)
1578 ldisc->ops->write_wakeup(qp->port.tty);
1579 tty_ldisc_deref(ldisc);

Completed in 349 milliseconds