Home
last modified time | relevance | path

Searched refs:ldisc (Results 1 – 22 of 22) sorted by relevance

/linux-4.1.27/drivers/tty/
Dtty_ldisc.c268 WARN_ON(!tty->ldisc); in tty_ldisc_ref_wait()
269 return tty->ldisc; in tty_ldisc_ref_wait()
287 ld = tty->ldisc; in tty_ldisc_ref()
493 tty->ldisc = old; in tty_ldisc_restore()
501 tty->ldisc = new_ldisc; in tty_ldisc_restore()
522 int tty_set_ldisc(struct tty_struct *tty, int ldisc) in tty_set_ldisc() argument
527 new_ldisc = tty_ldisc_get(tty, ldisc); in tty_set_ldisc()
543 if (tty->ldisc->ops->num == ldisc) { in tty_set_ldisc()
550 old_ldisc = tty->ldisc; in tty_set_ldisc()
565 tty->ldisc = new_ldisc; in tty_set_ldisc()
[all …]
Dtty_io.c1482 WARN_ON(!tty->ldisc); in tty_reopen()
2216 struct tty_ldisc *ldisc; in __tty_fasync() local
2227 ldisc = tty_ldisc_ref(tty); in __tty_fasync()
2228 if (ldisc) { in __tty_fasync()
2229 if (ldisc->ops->fasync) in __tty_fasync()
2230 ldisc->ops->fasync(tty, on); in __tty_fasync()
2231 tty_ldisc_deref(ldisc); in __tty_fasync()
2661 int ldisc; in tiocsetd() local
2664 if (get_user(ldisc, p)) in tiocsetd()
2667 ret = tty_set_ldisc(tty, ldisc); in tiocsetd()
Dtty_buffer.c408 struct tty_ldisc *disc = tty->ldisc; in receive_buf()
Damiserial.c972 tty->ldisc.chars_in_buffer(tty)); in rs_throttle()
997 tty->ldisc.chars_in_buffer(tty)); in rs_unthrottle()
Dtty_ioctl.c1080 struct tty_ldisc *ld = tty->ldisc; in __tty_perform_flush()
Drocket.c1373 tty->ldisc.chars_in_buffer(tty)); in rp_throttle()
1390 tty->ldisc.chars_in_buffer(tty)); in rp_unthrottle()
Dcyclades.c2867 tty->ldisc.chars_in_buffer(tty), info->line); in cy_throttle()
/linux-4.1.27/Documentation/serial/
Dtty.txt15 discipline number and the ldisc structure. At the point of registration the
18 called. Do not re-use ldisc numbers as they are part of the userspace ABI
19 and writing over an existing ldisc will cause demons to eat your computer.
20 After the return the ldisc data has been copied so you may free your own
27 return -EBUSY if the ldisc is currently in use. Since the ldisc referencing
31 tty_ldisc structure in the ldisc table counts the number of lines using this
33 counts the number of active users of the ldisc at this instant. In effect it
34 counts the number of threads of execution within an ldisc method (plus those
46 prevent the ldisc from being attached. Can sleep.
51 ldisc code for this tty. Can sleep.
[all …]
Dn_gsm.txt27 int ldisc = N_GSM0710;
46 ioctl(fd, TIOCSETD, &ldisc);
/linux-4.1.27/include/linux/
Dtty_ldisc.h230 #define MODULE_ALIAS_LDISC(ldisc) \ argument
231 MODULE_ALIAS("tty-ldisc-" __stringify(ldisc))
Dtty.h270 struct tty_ldisc *ldisc; member
581 extern int tty_set_ldisc(struct tty_struct *tty, int ldisc);
/linux-4.1.27/drivers/net/caif/
DKconfig12 The CAIF TTY transport driver is a Line Discipline (ldisc)
13 identified as N_CAIF. When this ldisc is opened from user space
/linux-4.1.27/drivers/pps/clients/
DMakefile6 obj-$(CONFIG_PPS_CLIENT_LDISC) += pps-ldisc.o
/linux-4.1.27/Documentation/pti/
Dpti_intel_mid.txt40 privileges to successfully manipulate the ldisc drivers
54 // needed global to hand onto ldisc connection
58 // these two vars used to grab LDISC values from loaded ldisc drivers
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-platform-kim23 daemon when the ldisc install is requested.
47 to be opened/ldisc installed, and would be '0' when UART
/linux-4.1.27/drivers/tty/serial/
D68328serial.c1058 if (tty->ldisc.num != ldiscs[N_TTY].num) {
1059 if (tty->ldisc.close)
1060 (tty->ldisc.close)(tty);
1061 tty->ldisc = ldiscs[N_TTY];
1063 if (tty->ldisc.open)
1064 (tty->ldisc.open)(tty);
Dcrisv10.c3026 DFLOW(DEBUG_LOG(info->line, "ldisc %i\n", tty->ldisc.chars_in_buffer(tty))); in rs_raw_write()
3222 (unsigned long)tty->ldisc.chars_in_buffer(tty)); in rs_throttle()
3224 DFLOW(DEBUG_LOG(info->line,"rs_throttle %lu\n", tty->ldisc.chars_in_buffer(tty))); in rs_throttle()
3244 (unsigned long)tty->ldisc.chars_in_buffer(tty)); in rs_unthrottle()
3246 DFLOW(DEBUG_LOG(info->line,"rs_unthrottle ldisc %d\n", tty->ldisc.chars_in_buffer(tty))); in rs_unthrottle()
/linux-4.1.27/Documentation/networking/caif/
DREADME26 To achieve this we need to install the N_CAIF ldisc from user space.
97 The host seems to be able to send over the UART, at least the CAIF ldisc get
/linux-4.1.27/drivers/bluetooth/
Dhci_ldisc.c357 if (tty->ldisc->ops->flush_buffer) in hci_uart_tty_open()
358 tty->ldisc->ops->flush_buffer(tty); in hci_uart_tty_open()
/linux-4.1.27/drivers/staging/dgnc/
Ddgnc_tty.c932 ch->ch_tun.un_tty->ldisc->ops->write_wakeup) { in dgnc_wakeup_writes()
934 (ch->ch_tun.un_tty->ldisc->ops->write_wakeup)(ch->ch_tun.un_tty); in dgnc_wakeup_writes()
973 ch->ch_pun.un_tty->ldisc->ops->write_wakeup) { in dgnc_wakeup_writes()
975 (ch->ch_pun.un_tty->ldisc->ops->write_wakeup)(ch->ch_pun.un_tty); in dgnc_wakeup_writes()
/linux-4.1.27/Documentation/input/
Djoystick.txt109 alias tty-ldisc-2 serport
/linux-4.1.27/drivers/staging/dgap/
Ddgap.c1732 un->un_tty->ldisc->ops->write_wakeup) { in dgap_write_wakeup()
1736 (un->un_tty->ldisc->ops->write_wakeup)(un->un_tty); in dgap_write_wakeup()