Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/tty/
Dtty_ldisc.c265 WARN_ON(!tty->ldisc); in tty_ldisc_ref_wait()
266 return tty->ldisc; in tty_ldisc_ref_wait()
284 ld = tty->ldisc; in tty_ldisc_ref()
451 tty_ldisc_debug(tty, "%p: opened\n", tty->ldisc); in tty_ldisc_open()
472 tty_ldisc_debug(tty, "%p: closed\n", tty->ldisc); in tty_ldisc_close()
492 tty->ldisc = old; in tty_ldisc_restore()
500 tty->ldisc = new_ldisc; in tty_ldisc_restore()
521 int tty_set_ldisc(struct tty_struct *tty, int ldisc) in tty_set_ldisc() argument
526 new_ldisc = tty_ldisc_get(tty, ldisc); in tty_set_ldisc()
542 if (tty->ldisc->ops->num == ldisc) { in tty_set_ldisc()
[all …]
Dtty_io.c1477 WARN_ON(!tty->ldisc); in tty_reopen()
2210 struct tty_ldisc *ldisc; in __tty_fasync() local
2221 ldisc = tty_ldisc_ref(tty); in __tty_fasync()
2222 if (ldisc) { in __tty_fasync()
2223 if (ldisc->ops->fasync) in __tty_fasync()
2224 ldisc->ops->fasync(tty, on); in __tty_fasync()
2225 tty_ldisc_deref(ldisc); in __tty_fasync()
2654 int ldisc; in tiocsetd() local
2657 if (get_user(ldisc, p)) in tiocsetd()
2660 ret = tty_set_ldisc(tty, ldisc); in tiocsetd()
Dtty_buffer.c417 struct tty_ldisc *disc = tty->ldisc; in receive_buf()
Damiserial.c970 tty->ldisc.chars_in_buffer(tty)); in rs_throttle()
993 tty->ldisc.chars_in_buffer(tty)); in rs_unthrottle()
Dtty_ioctl.c1083 struct tty_ldisc *ld = tty->ldisc; in __tty_perform_flush()
Drocket.c1364 tty->ldisc.chars_in_buffer(tty)); in rp_throttle()
1381 tty->ldisc.chars_in_buffer(tty)); in rp_unthrottle()
Dcyclades.c2856 tty->ldisc.chars_in_buffer(tty), info->line); in cy_throttle()
/linux-4.4.14/Documentation/serial/
Dtty.txt12 discipline number and the ldisc structure. At the point of registration the
15 called. Do not re-use ldisc numbers as they are part of the userspace ABI
16 and writing over an existing ldisc will cause demons to eat your computer.
17 After the return the ldisc data has been copied so you may free your own
24 return -EBUSY if the ldisc is currently in use. Since the ldisc referencing
28 tty_ldisc structure in the ldisc table counts the number of lines using this
30 counts the number of active users of the ldisc at this instant. In effect it
31 counts the number of threads of execution within an ldisc method (plus those
43 state needed by the ldisc, and set receive_room
47 Returning an error will prevent the ldisc from
[all …]
Dn_gsm.txt27 int ldisc = N_GSM0710;
46 ioctl(fd, TIOCSETD, &ldisc);
/linux-4.4.14/include/linux/
Dtty_ldisc.h230 #define MODULE_ALIAS_LDISC(ldisc) \ argument
231 MODULE_ALIAS("tty-ldisc-" __stringify(ldisc))
Dtty.h269 struct tty_ldisc *ldisc; member
583 extern int tty_set_ldisc(struct tty_struct *tty, int ldisc);
/linux-4.4.14/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.4.14/drivers/pps/clients/
DMakefile6 obj-$(CONFIG_PPS_CLIENT_LDISC) += pps-ldisc.o
/linux-4.4.14/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.4.14/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.4.14/drivers/tty/serial/
D68328serial.c1059 if (tty->ldisc.num != ldiscs[N_TTY].num) {
1060 if (tty->ldisc.close)
1061 (tty->ldisc.close)(tty);
1062 tty->ldisc = ldiscs[N_TTY];
1064 if (tty->ldisc.open)
1065 (tty->ldisc.open)(tty);
Dcrisv10.c2971 DFLOW(DEBUG_LOG(info->line, "ldisc %i\n", tty->ldisc.chars_in_buffer(tty))); in rs_raw_write()
3165 (unsigned long)tty->ldisc.chars_in_buffer(tty)); in rs_throttle()
3167 DFLOW(DEBUG_LOG(info->line,"rs_throttle %lu\n", tty->ldisc.chars_in_buffer(tty))); in rs_throttle()
3185 (unsigned long)tty->ldisc.chars_in_buffer(tty)); in rs_unthrottle()
3187 DFLOW(DEBUG_LOG(info->line,"rs_unthrottle ldisc %d\n", tty->ldisc.chars_in_buffer(tty))); in rs_unthrottle()
/linux-4.4.14/net/nfc/nci/
Duart.c180 if (tty->ldisc->ops->flush_buffer) in nci_uart_tty_open()
181 tty->ldisc->ops->flush_buffer(tty); in nci_uart_tty_open()
/linux-4.4.14/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.4.14/drivers/bluetooth/
Dhci_ldisc.c469 if (tty->ldisc->ops->flush_buffer) in hci_uart_tty_open()
470 tty->ldisc->ops->flush_buffer(tty); in hci_uart_tty_open()
/linux-4.4.14/drivers/staging/dgnc/
Ddgnc_tty.c937 ch->ch_tun.un_tty->ldisc->ops->write_wakeup) { in dgnc_wakeup_writes()
939 ch->ch_tun.un_tty->ldisc->ops->write_wakeup(ch->ch_tun.un_tty); in dgnc_wakeup_writes()
979 ch->ch_pun.un_tty->ldisc->ops->write_wakeup) { in dgnc_wakeup_writes()
981 ch->ch_pun.un_tty->ldisc->ops->write_wakeup(ch->ch_pun.un_tty); in dgnc_wakeup_writes()
/linux-4.4.14/Documentation/input/
Djoystick.txt109 alias tty-ldisc-2 serport
/linux-4.4.14/drivers/staging/dgap/
Ddgap.c1681 un->un_tty->ldisc->ops->write_wakeup) { in dgap_write_wakeup()
1685 (un->un_tty->ldisc->ops->write_wakeup)(un->un_tty); in dgap_write_wakeup()