Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/tty/
Dtty_ldisc.c88 void tty_unregister_ldisc(struct tty_ldisc_ops *ldisc) in tty_unregister_ldisc() argument
93 tty_ldiscs[ldisc->num] = NULL; in tty_unregister_ldisc()
253 ld = tty->ldisc; in tty_ldisc_ref_wait()
274 ld = tty->ldisc; in tty_ldisc_ref()
495 tty->ldisc = disc; in tty_ldisc_failto()
555 if (!tty->ldisc) { in tty_set_ldisc()
561 if (tty->ldisc->ops->num == disc) in tty_set_ldisc()
570 old_ldisc = tty->ldisc; in tty_set_ldisc()
576 tty->ldisc = new_ldisc; in tty_set_ldisc()
586 if (tty->ldisc->ops->num != old_ldisc->ops->num && tty->ops->set_ldisc) { in tty_set_ldisc()
[all …]
Dtty_ioctl.c822 struct tty_ldisc *ld = tty->ldisc; in __tty_perform_flush()
Dtty_io.c1370 if (!tty->ldisc) in tty_reopen()
/Linux-v5.15/Documentation/driver-api/serial/
Dtty.rst13 discipline number and the ldisc structure. At the point of registration the
16 called. Do not re-use ldisc numbers as they are part of the userspace ABI
17 and writing over an existing ldisc will cause demons to eat your computer.
18 After the return the ldisc data has been copied so you may free your own
25 return -EBUSY if the ldisc is currently in use. Since the ldisc referencing
29 tty_ldisc structure in the ldisc table counts the number of lines using this
31 counts the number of active users of the ldisc at this instant. In effect it
32 counts the number of threads of execution within an ldisc method (plus those
46 state needed by the ldisc, and set receive_room
50 Returning an error will prevent the ldisc from
[all …]
Dn_gsm.rst33 int ldisc = N_GSM0710;
53 ioctl(fd, TIOCSETD, &ldisc);
/Linux-v5.15/include/linux/
Dtty_ldisc.h225 #define MODULE_ALIAS_LDISC(ldisc) \ argument
226 MODULE_ALIAS("tty-ldisc-" __stringify(ldisc))
237 void tty_unregister_ldisc(struct tty_ldisc_ops *ldisc);
Dtty.h153 struct tty_ldisc *ldisc; member
/Linux-v5.15/drivers/net/caif/
DKconfig19 The CAIF TTY transport driver is a Line Discipline (ldisc)
20 identified as N_CAIF. When this ldisc is opened from user space
/Linux-v5.15/drivers/pps/clients/
DMakefile7 obj-$(CONFIG_PPS_CLIENT_LDISC) += pps-ldisc.o
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-platform-kim24 daemon when the ldisc install is requested.
48 to be opened/ldisc installed, and would be '0' when UART
/Linux-v5.15/Documentation/networking/caif/
Dcaif.rst37 To achieve this we need to install the N_CAIF ldisc from user space.
124 The host seems to be able to send over the UART, at least the CAIF ldisc get
/Linux-v5.15/Documentation/input/joydev/
Djoystick.rst86 alias tty-ldisc-2 serport