Home
last modified time | relevance | path

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

/linux/drivers/tty/
H A Dtty_ldisc.c244 ld = tty->ldisc; in tty_ldisc_ref_wait()
264 ld = tty->ldisc; in tty_ldisc_ref()
475 tty->ldisc = disc; in tty_ldisc_failto()
533 if (!tty->ldisc) { in tty_set_ldisc()
608 if (!tty->ldisc) in tty_ldisc_kill()
616 tty->ldisc = NULL; in tty_ldisc_kill()
659 if (tty->ldisc) { in tty_ldisc_reinit()
665 tty->ldisc = ld; in tty_ldisc_reinit()
723 if (tty->ldisc) { in tty_ldisc_hangup()
807 tty->ldisc = ld; in tty_ldisc_init()
[all …]
H A Dtty_ioctl.c901 struct tty_ldisc *ld = tty->ldisc; in __tty_perform_flush()
H A Dtty_io.c1365 if (!tty->ldisc) in tty_reopen()
/linux/Documentation/driver-api/tty/
H A Dtty_ldisc.rst18 Line disciplines are registered with tty_register_ldisc() passing the ldisc
21 returns an error then it won’t get called. Do not re-use ldisc numbers as they
22 are part of the userspace ABI and writing over an existing ldisc will cause
28 tty_ldisc structure in the ldisc table counts the number of lines using this
30 the number of active users of the ldisc at this instant. In effect it counts
31 the number of threads of execution within an ldisc method (plus those about to
77 functions are called with the ldisc unavailable. Thus tty_ldisc_ref() will fail
H A Dn_gsm.rst47 int ldisc = N_GSM0710;
69 ioctl(fd, TIOCSETD, &ldisc);
144 int ldisc = N_GSM0710;
159 ioctl(fd, TIOCSETD, &ldisc);
H A Dindex.rst23 short ldisc; in C, struct tty_ldisc_ops). Its task is to transform characters
24 as defined by a particular ldisc or by user too. The default one is n_tty,
/linux/include/linux/
H A Dtty_ldisc.h274 #define MODULE_ALIAS_LDISC(ldisc) \ argument
275 MODULE_ALIAS("tty-ldisc-" __stringify(ldisc))
286 void tty_unregister_ldisc(struct tty_ldisc_ops *ldisc);
H A Dtty_driver.h382 int (*ldisc_ok)(struct tty_struct *tty, int ldisc);
H A Dtty.h196 struct tty_ldisc *ldisc; member
/linux/drivers/net/caif/
H A 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/drivers/pps/clients/
H A DMakefile7 obj-$(CONFIG_PPS_CLIENT_LDISC) += pps-ldisc.o
/linux/Documentation/ABI/testing/
H A Dsysfs-platform-kim24 daemon when the ldisc install is requested.
48 to be opened/ldisc installed, and would be '0' when UART
/linux/Documentation/networking/caif/
H A 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/drivers/net/mctp/
H A DKconfig13 MCTP Serial Transport Binding". By attaching the ldisc to a serial
/linux/Documentation/networking/device_drivers/can/
H A Dcan327.rst80 Once the ldisc is attached, the CAN interface starts out unconfigured.
/linux/Documentation/input/joydev/
H A Djoystick.rst86 alias tty-ldisc-2 serport
/linux/drivers/tty/vt/
H A Dvt.c3583 static int con_ldisc_ok(struct tty_struct *tty, int ldisc) in con_ldisc_ok() argument
3585 return ldisc == N_TTY ? 0 : -EINVAL; in con_ldisc_ok()