Home
last modified time | relevance | path

Searched refs:tty_ldisc (Results 1 – 25 of 25) sorted by relevance

/linux-6.6.21/drivers/tty/
Dtty_ldisc.c139 static struct tty_ldisc *tty_ldisc_get(struct tty_struct *tty, int disc) in tty_ldisc_get()
141 struct tty_ldisc *ld; in tty_ldisc_get()
165 ld = kmalloc(sizeof(struct tty_ldisc), GFP_KERNEL | __GFP_NOFAIL); in tty_ldisc_get()
178 static void tty_ldisc_put(struct tty_ldisc *ld) in tty_ldisc_put()
239 struct tty_ldisc *tty_ldisc_ref_wait(struct tty_struct *tty) in tty_ldisc_ref_wait()
241 struct tty_ldisc *ld; in tty_ldisc_ref_wait()
259 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *tty) in tty_ldisc_ref()
261 struct tty_ldisc *ld = NULL; in tty_ldisc_ref()
279 void tty_ldisc_deref(struct tty_ldisc *ld) in tty_ldisc_deref()
386 struct tty_ldisc *ld = tty_ldisc_ref(tty); in tty_ldisc_flush()
[all …]
DMakefile2 obj-$(CONFIG_TTY) += tty_io.o n_tty.o tty_ioctl.o tty_ldisc.o \
Dtty_io.c517 struct tty_ldisc *ld; in tty_wakeup()
846 static ssize_t iterate_tty_read(struct tty_ldisc *ld, struct tty_struct *tty, in iterate_tty_read()
917 struct tty_ldisc *ld; in tty_read()
963 static ssize_t iterate_tty_write(struct tty_ldisc *ld, struct tty_struct *tty, in iterate_tty_write()
1072 struct tty_ldisc *ld; in file_tty_write()
1336 struct tty_ldisc *ld; in tty_reopen()
2196 struct tty_ldisc *ld; in tty_poll()
2276 struct tty_ldisc *ld; in tiocsti()
2448 struct tty_ldisc *ld; in tiocgetd()
2661 struct tty_ldisc *ld; in tty_ioctl()
[all …]
Dtty_ioctl.c335 struct tty_ldisc *ld; in tty_set_termios()
459 struct tty_ldisc *ld; in set_termios()
907 struct tty_ldisc *ld = tty->ldisc; in __tty_perform_flush()
933 struct tty_ldisc *ld; in tty_perform_flush()
Dtty.h72 void tty_buffer_flush(struct tty_struct *tty, struct tty_ldisc *ld);
Dtty_buffer.c221 void tty_buffer_flush(struct tty_struct *tty, struct tty_ldisc *ld) in tty_buffer_flush()
383 size_t tty_ldisc_receive_buf(struct tty_ldisc *ld, const u8 *p, const u8 *f, in tty_ldisc_receive_buf()
Dtty_port.c27 struct tty_ldisc *ld; in tty_port_default_receive_buf()
48 struct tty_ldisc *ld; in tty_port_default_lookahead_buf()
Dsynclink_gt.c570 struct tty_ldisc *ld; in ldisc_receive_buf()
/linux-6.6.21/Documentation/driver-api/tty/
Dtty_ldisc.rst28 tty_ldisc structure in the ldisc table counts the number of lines using this
29 discipline. The reference count of the tty_ldisc structure within a tty counts
34 .. kernel-doc:: drivers/tty/tty_ldisc.c
40 .. kernel-doc:: drivers/tty/tty_ldisc.c
46 .. kernel-doc:: include/linux/tty_ldisc.h
68 .. kernel-doc:: drivers/tty/tty_ldisc.c
84 .. kernel-doc:: drivers/tty/tty_ldisc.c
Dn_tty.rst9 The default (and fallback) :doc:`TTY line discipline <tty_ldisc>`. It tries to
Dindex.rst22 through a preselected :doc:`tty_ldisc` (in
37 tty_ldisc
Dtty_buffer.rst12 <tty_ldisc>` for further processing.
/linux-6.6.21/include/linux/
Dtty_ldisc.h269 struct tty_ldisc { struct
279 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *); argument
280 void tty_ldisc_deref(struct tty_ldisc *);
281 struct tty_ldisc *tty_ldisc_ref_wait(struct tty_struct *);
Dtty_flip.h8 struct tty_ldisc;
86 size_t tty_ldisc_receive_buf(struct tty_ldisc *ld, const u8 *p, const u8 *f,
Dtty.h201 struct tty_ldisc *ldisc;
/linux-6.6.21/Documentation/translations/zh_CN/process/
Dmagic-number.rst23 struct tty_ldisc {
/linux-6.6.21/Documentation/translations/zh_TW/process/
Dmagic-number.rst26 struct tty_ldisc {
/linux-6.6.21/Documentation/translations/it_IT/process/
Dmagic-number.rst27 struct tty_ldisc {
/linux-6.6.21/Documentation/process/
Dmagic-number.rst22 struct tty_ldisc {
/linux-6.6.21/Documentation/translations/sp_SP/process/
Dmagic-number.rst28 struct tty_ldisc {
/linux-6.6.21/drivers/tty/vt/
Dselection.c380 struct tty_ldisc *ld; in paste_selection()
/linux-6.6.21/drivers/usb/serial/
Dgeneric.c616 struct tty_ldisc *ld = tty_ldisc_ref(tty); in usb_serial_handle_dcd_change()
/linux-6.6.21/drivers/isdn/capi/
Dcapi.c411 struct tty_ldisc *ld; in handle_recv_skb()
/linux-6.6.21/drivers/usb/class/
Dcdc-acm.c324 struct tty_ldisc *ld = tty_ldisc_ref(acm->port.tty); in acm_process_notification()
/linux-6.6.21/drivers/tty/serial/
Dserial_core.c3450 struct tty_ldisc *ld; in uart_handle_dcd_change()