Home
last modified time | relevance | path

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

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/tty/
H A Dpty.c385 struct tty_struct *o_tty; in pty_common_install() local
403 if (!o_tty) in pty_common_install()
406 tty_set_lock_subclass(o_tty); in pty_common_install()
413 tty_init_termios(o_tty); in pty_common_install()
415 driver->other->ttys[idx] = o_tty; in pty_common_install()
429 tty->link = o_tty; in pty_common_install()
430 o_tty->link = tty; in pty_common_install()
435 o_tty->port = ports[0]; in pty_common_install()
437 o_tty->port->itty = o_tty; in pty_common_install()
439 tty_buffer_set_lock_subclass(o_tty->port); in pty_common_install()
[all …]
H A Dtty_ldisc.c779 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) in tty_ldisc_setup() argument
786 if (o_tty) { in tty_ldisc_setup()
791 retval = tty_ldisc_open(o_tty, o_tty->ldisc); in tty_ldisc_setup()
810 struct tty_struct *o_tty = tty->link; in tty_ldisc_release() local
817 tty_ldisc_lock_pair(tty, o_tty); in tty_ldisc_release()
819 if (o_tty) in tty_ldisc_release()
820 tty_ldisc_kill(o_tty); in tty_ldisc_release()
821 tty_ldisc_unlock_pair(tty, o_tty); in tty_ldisc_release()
H A Dtty_io.c1661 if (o_tty->link != tty) { in tty_release_checks()
1751 struct tty_struct *o_tty = NULL; in tty_release() local
1768 o_tty = tty->link; in tty_release()
1781 tty_lock_slave(o_tty); in tty_release()
1809 if (o_tty && o_tty->count <= 1) { in tty_release()
1833 if (o_tty) { in tty_release()
1834 if (--o_tty->count < 0) { in tty_release()
1836 o_tty->count = 0; in tty_release()
1865 if (o_tty) in tty_release()
1871 final = !tty->count && !(o_tty && o_tty->count); in tty_release()
[all …]
H A Dtty.h91 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty);
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/tty/
H A Dpty.c385 struct tty_struct *o_tty; in pty_common_install() local
403 if (!o_tty) in pty_common_install()
406 tty_set_lock_subclass(o_tty); in pty_common_install()
413 tty_init_termios(o_tty); in pty_common_install()
415 driver->other->ttys[idx] = o_tty; in pty_common_install()
429 tty->link = o_tty; in pty_common_install()
430 o_tty->link = tty; in pty_common_install()
435 o_tty->port = ports[0]; in pty_common_install()
437 o_tty->port->itty = o_tty; in pty_common_install()
439 tty_buffer_set_lock_subclass(o_tty->port); in pty_common_install()
[all …]
H A Dtty_ldisc.c779 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) in tty_ldisc_setup() argument
786 if (o_tty) { in tty_ldisc_setup()
791 retval = tty_ldisc_open(o_tty, o_tty->ldisc); in tty_ldisc_setup()
810 struct tty_struct *o_tty = tty->link; in tty_ldisc_release() local
817 tty_ldisc_lock_pair(tty, o_tty); in tty_ldisc_release()
819 if (o_tty) in tty_ldisc_release()
820 tty_ldisc_kill(o_tty); in tty_ldisc_release()
821 tty_ldisc_unlock_pair(tty, o_tty); in tty_ldisc_release()
H A Dtty_io.c1661 if (o_tty->link != tty) { in tty_release_checks()
1751 struct tty_struct *o_tty = NULL; in tty_release() local
1768 o_tty = tty->link; in tty_release()
1781 tty_lock_slave(o_tty); in tty_release()
1809 if (o_tty && o_tty->count <= 1) { in tty_release()
1833 if (o_tty) { in tty_release()
1834 if (--o_tty->count < 0) { in tty_release()
1836 o_tty->count = 0; in tty_release()
1865 if (o_tty) in tty_release()
1871 final = !tty->count && !(o_tty && o_tty->count); in tty_release()
[all …]
H A Dtty.h91 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty);
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/tty/
H A Dpty.c385 struct tty_struct *o_tty; in pty_common_install() local
403 if (!o_tty) in pty_common_install()
406 tty_set_lock_subclass(o_tty); in pty_common_install()
413 tty_init_termios(o_tty); in pty_common_install()
415 driver->other->ttys[idx] = o_tty; in pty_common_install()
429 tty->link = o_tty; in pty_common_install()
430 o_tty->link = tty; in pty_common_install()
435 o_tty->port = ports[0]; in pty_common_install()
437 o_tty->port->itty = o_tty; in pty_common_install()
439 tty_buffer_set_lock_subclass(o_tty->port); in pty_common_install()
[all …]
H A Dtty_ldisc.c779 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) in tty_ldisc_setup() argument
786 if (o_tty) { in tty_ldisc_setup()
791 retval = tty_ldisc_open(o_tty, o_tty->ldisc); in tty_ldisc_setup()
810 struct tty_struct *o_tty = tty->link; in tty_ldisc_release() local
817 tty_ldisc_lock_pair(tty, o_tty); in tty_ldisc_release()
819 if (o_tty) in tty_ldisc_release()
820 tty_ldisc_kill(o_tty); in tty_ldisc_release()
821 tty_ldisc_unlock_pair(tty, o_tty); in tty_ldisc_release()
H A Dtty_io.c1661 if (o_tty->link != tty) { in tty_release_checks()
1751 struct tty_struct *o_tty = NULL; in tty_release() local
1768 o_tty = tty->link; in tty_release()
1781 tty_lock_slave(o_tty); in tty_release()
1809 if (o_tty && o_tty->count <= 1) { in tty_release()
1833 if (o_tty) { in tty_release()
1834 if (--o_tty->count < 0) { in tty_release()
1836 o_tty->count = 0; in tty_release()
1865 if (o_tty) in tty_release()
1871 final = !tty->count && !(o_tty && o_tty->count); in tty_release()
[all …]
H A Dtty.h91 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty);