/linux-4.1.27/drivers/tty/ |
D | tty_ldisc.c | 268 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 …]
|
D | tty_io.c | 1482 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()
|
D | tty_buffer.c | 408 struct tty_ldisc *disc = tty->ldisc; in receive_buf()
|
D | amiserial.c | 972 tty->ldisc.chars_in_buffer(tty)); in rs_throttle() 997 tty->ldisc.chars_in_buffer(tty)); in rs_unthrottle()
|
D | tty_ioctl.c | 1080 struct tty_ldisc *ld = tty->ldisc; in __tty_perform_flush()
|
D | rocket.c | 1373 tty->ldisc.chars_in_buffer(tty)); in rp_throttle() 1390 tty->ldisc.chars_in_buffer(tty)); in rp_unthrottle()
|
D | cyclades.c | 2867 tty->ldisc.chars_in_buffer(tty), info->line); in cy_throttle()
|
/linux-4.1.27/Documentation/serial/ |
D | tty.txt | 15 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 …]
|
D | n_gsm.txt | 27 int ldisc = N_GSM0710; 46 ioctl(fd, TIOCSETD, &ldisc);
|
/linux-4.1.27/include/linux/ |
D | tty_ldisc.h | 230 #define MODULE_ALIAS_LDISC(ldisc) \ argument 231 MODULE_ALIAS("tty-ldisc-" __stringify(ldisc))
|
D | tty.h | 270 struct tty_ldisc *ldisc; member 581 extern int tty_set_ldisc(struct tty_struct *tty, int ldisc);
|
/linux-4.1.27/drivers/net/caif/ |
D | Kconfig | 12 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/ |
D | Makefile | 6 obj-$(CONFIG_PPS_CLIENT_LDISC) += pps-ldisc.o
|
/linux-4.1.27/Documentation/pti/ |
D | pti_intel_mid.txt | 40 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/ |
D | sysfs-platform-kim | 23 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/ |
D | 68328serial.c | 1058 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);
|
D | crisv10.c | 3026 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/ |
D | README | 26 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/ |
D | hci_ldisc.c | 357 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/ |
D | dgnc_tty.c | 932 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/ |
D | joystick.txt | 109 alias tty-ldisc-2 serport
|
/linux-4.1.27/drivers/staging/dgap/ |
D | dgap.c | 1732 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()
|