Home
last modified time | relevance | path

Searched defs:tty (Results 1 – 25 of 162) sorted by relevance

1234567

/linux-6.3-rc2/include/linux/
A Dtty.h62 #define I_INPCK(tty) _I_FLAG((tty), INPCK) argument
64 #define I_INLCR(tty) _I_FLAG((tty), INLCR) argument
65 #define I_IGNCR(tty) _I_FLAG((tty), IGNCR) argument
66 #define I_ICRNL(tty) _I_FLAG((tty), ICRNL) argument
67 #define I_IUCLC(tty) _I_FLAG((tty), IUCLC) argument
68 #define I_IXON(tty) _I_FLAG((tty), IXON) argument
69 #define I_IXANY(tty) _I_FLAG((tty), IXANY) argument
89 #define C_BAUD(tty) _C_FLAG((tty), CBAUD) argument
101 #define L_ISIG(tty) _L_FLAG((tty), ISIG) argument
104 #define L_ECHO(tty) _L_FLAG((tty), ECHO) argument
[all …]
/linux-6.3-rc2/drivers/tty/
A Dpty.c38 # define tty_debug_hangup(tty, f, args...) do {} while (0) argument
93 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle()
204 static void pty_flush_buffer(struct tty_struct *tty) in pty_flush_buffer()
242 static void pty_set_termios(struct tty_struct *tty, in pty_set_termios()
322 static void pty_start(struct tty_struct *tty) in pty_start()
335 static void pty_stop(struct tty_struct *tty) in pty_stop()
431 static void pty_cleanup(struct tty_struct *tty) in pty_cleanup()
453 static int pty_bsd_ioctl(struct tty_struct *tty, in pty_bsd_ioctl()
642 static int pty_unix98_ioctl(struct tty_struct *tty, in pty_unix98_ioctl()
708 struct tty_struct *tty; in pts_unix98_lookup() local
[all …]
A Dtty_ldisc.c29 #define tty_ldisc_debug(tty, f, args...) argument
260 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *tty) in tty_ldisc_ref()
321 void tty_ldisc_unlock(struct tty_struct *tty) in tty_ldisc_unlock()
385 void tty_ldisc_flush(struct tty_struct *tty) in tty_ldisc_flush()
520 int tty_set_ldisc(struct tty_struct *tty, int disc) in tty_set_ldisc()
600 static void tty_ldisc_kill(struct tty_struct *tty) in tty_ldisc_kill()
620 static void tty_reset_termios(struct tty_struct *tty) in tty_reset_termios()
642 int tty_ldisc_reinit(struct tty_struct *tty, int disc) in tty_ldisc_reinit()
766 void tty_ldisc_release(struct tty_struct *tty) in tty_ldisc_release()
796 int tty_ldisc_init(struct tty_struct *tty) in tty_ldisc_init()
[all …]
A Dtty_io.c670 struct tty_struct *tty = in do_tty_hangup() local
713 struct tty_struct *tty; in tty_vhangup_self() local
959 struct tty_struct *tty, in do_tty_write()
1225 struct tty_struct *tty; in tty_driver_lookup_tty() local
1394 struct tty_struct *tty; in tty_init_dev() local
1524 struct tty_struct *tty = in release_one_tty() local
1877 struct tty_struct *tty; in tty_open_current_tty() local
1954 struct tty_struct *tty; in tty_kopen() local
2040 struct tty_struct *tty; in tty_open_by_driver() local
2114 struct tty_struct *tty; in tty_open() local
[all …]
A Dtty_ioctl.c35 # define tty_debug_wait_until_sent(tty, f, args...) do {} while (0) argument
58 unsigned int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer()
77 unsigned int tty_write_room(struct tty_struct *tty) in tty_write_room()
93 void tty_driver_flush_buffer(struct tty_struct *tty) in tty_driver_flush_buffer()
113 void tty_unthrottle(struct tty_struct *tty) in tty_unthrottle()
137 int tty_throttle_safe(struct tty_struct *tty) in tty_throttle_safe()
168 int tty_unthrottle_safe(struct tty_struct *tty) in tty_unthrottle_safe()
198 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent()
555 static int get_sgflags(struct tty_struct *tty) in get_sgflags()
734 static int tty_change_softcar(struct tty_struct *tty, int arg) in tty_change_softcar()
[all …]
A Dn_tty.c202 static void n_tty_kick_worker(struct tty_struct *tty) in n_tty_kick_worker()
222 static ssize_t chars_in_buffer(struct tty_struct *tty) in chars_in_buffer()
241 static void n_tty_write_wakeup(struct tty_struct *tty) in n_tty_write_wakeup()
760 static void commit_echoes(struct tty_struct *tty) in commit_echoes()
789 static void process_echoes(struct tty_struct *tty) in process_echoes()
807 static void flush_echoes(struct tty_struct *tty) in flush_echoes()
1077 static void __isig(int sig, struct tty_struct *tty) in __isig()
1100 static void isig(int sig, struct tty_struct *tty) in isig()
1853 static void n_tty_close(struct tty_struct *tty) in n_tty_close()
1874 static int n_tty_open(struct tty_struct *tty) in n_tty_open()
[all …]
A Dtty.h9 #define tty_msg(fn, tty, f, ...) \ argument
12 #define tty_debug(tty, f, ...) tty_msg(pr_debug, tty, f, ##__VA_ARGS__) argument
13 #define tty_notice(tty, f, ...) tty_msg(pr_notice, tty, f, ##__VA_ARGS__) argument
14 #define tty_warn(tty, f, ...) tty_msg(pr_warn, tty, f, ##__VA_ARGS__) argument
15 #define tty_err(tty, f, ...) tty_msg(pr_err, tty, f, ##__VA_ARGS__) argument
17 #define tty_info_ratelimited(tty, f, ...) \ argument
47 static inline void __tty_set_flow_change(struct tty_struct *tty, int val) in __tty_set_flow_change()
52 static inline void tty_set_flow_change(struct tty_struct *tty, int val) in tty_set_flow_change()
89 #define tty_is_writelocked(tty) (mutex_is_locked(&tty->atomic_write_lock)) argument
103 static inline void tty_audit_add_data(struct tty_struct *tty, const void *data, in tty_audit_add_data()
[all …]
A Dtty_jobctrl.c33 int __tty_check_change(struct tty_struct *tty, int sig) in __tty_check_change()
69 int tty_check_change(struct tty_struct *tty) in tty_check_change()
78 struct tty_struct *tty; in proc_clear_tty() local
98 static void __proc_set_tty(struct tty_struct *tty) in __proc_set_tty()
122 static void proc_set_tty(struct tty_struct *tty) in proc_set_tty()
132 void tty_open_proc_set_tty(struct file *filp, struct tty_struct *tty) in tty_open_proc_set_tty()
162 struct tty_struct *tty; in get_current_tty() local
196 int tty_signal_session_leader(struct tty_struct *tty, int exit_session) in tty_signal_session_leader()
267 struct tty_struct *tty; in disassociate_ctty() local
360 static int tiocsctty(struct tty_struct *tty, struct file *file, int arg) in tiocsctty()
[all …]
A Dtty_mutex.c15 void tty_lock(struct tty_struct *tty) in tty_lock()
22 int tty_lock_interruptible(struct tty_struct *tty) in tty_lock_interruptible()
33 void tty_unlock(struct tty_struct *tty) in tty_unlock()
40 void tty_lock_slave(struct tty_struct *tty) in tty_lock_slave()
46 void tty_unlock_slave(struct tty_struct *tty) in tty_unlock_slave()
52 void tty_set_lock_subclass(struct tty_struct *tty) in tty_set_lock_subclass()
A Dtty_port.c28 struct tty_struct *tty; in tty_port_default_receive_buf() local
49 struct tty_struct *tty; in tty_port_default_lookahead_buf() local
68 struct tty_struct *tty = tty_port_tty_get(port); in tty_port_default_wakeup() local
325 struct tty_struct *tty; in tty_port_tty_get() local
396 struct tty_struct *tty; in tty_port_hangup() local
421 struct tty_struct *tty = tty_port_tty_get(port); in tty_port_tty_hangup() local
511 struct tty_struct *tty, struct file *filp) in tty_port_block_til_ready()
626 struct tty_struct *tty, struct file *filp) in tty_port_close_start()
715 void tty_port_close(struct tty_port *port, struct tty_struct *tty, in tty_port_close()
739 struct tty_struct *tty) in tty_port_install()
[all …]
A Damiserial.c133 static void rs_stop(struct tty_struct *tty) in rs_stop()
150 static void rs_start(struct tty_struct *tty) in rs_start()
723 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars()
787 static unsigned int rs_write_room(struct tty_struct *tty) in rs_write_room()
801 static void rs_flush_buffer(struct tty_struct *tty) in rs_flush_buffer()
848 static void rs_throttle(struct tty_struct * tty) in rs_throttle()
867 static void rs_unthrottle(struct tty_struct * tty) in rs_unthrottle()
1012 static int rs_tiocmget(struct tty_struct *tty) in rs_tiocmget()
1078 static int rs_get_icount(struct tty_struct *tty, in rs_get_icount()
1103 static int rs_ioctl(struct tty_struct *tty, in rs_ioctl()
[all …]
A Dn_hdlc.c159 static void flush_rx_queue(struct tty_struct *tty) in flush_rx_queue()
168 static void flush_tx_queue(struct tty_struct *tty) in flush_tx_queue()
194 static void n_hdlc_tty_close(struct tty_struct *tty) in n_hdlc_tty_close()
222 static int n_hdlc_tty_open(struct tty_struct *tty) in n_hdlc_tty_open()
344 struct tty_struct *tty = n_hdlc->tty_for_write_work; in n_hdlc_tty_write_work() local
355 static void n_hdlc_tty_wakeup(struct tty_struct *tty) in n_hdlc_tty_wakeup()
372 static void n_hdlc_tty_receive(struct tty_struct *tty, const __u8 *data, in n_hdlc_tty_receive()
427 static ssize_t n_hdlc_tty_read(struct tty_struct *tty, struct file *file, in n_hdlc_tty_read()
520 static ssize_t n_hdlc_tty_write(struct tty_struct *tty, struct file *file, in n_hdlc_tty_write()
583 static int n_hdlc_tty_ioctl(struct tty_struct *tty, unsigned int cmd, in n_hdlc_tty_ioctl()
[all …]
/linux-6.3-rc2/drivers/tty/ipwireless/
A Dtty.c90 struct ipw_tty *tty = get_tty(linux_tty->index); in ipw_open() local
112 static void do_ipw_close(struct ipw_tty *tty) in do_ipw_close()
131 struct ipw_tty *tty = linux_tty->driver_data; in ipw_hangup() local
180 struct ipw_tty *tty = callback_data; in ipw_write_packet_sent_callback() local
192 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write() local
232 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write_room() local
252 struct ipw_tty *tty = linux_tty->driver_data; in ipwireless_get_serial_info() local
274 struct ipw_tty *tty = linux_tty->driver_data; in ipw_chars_in_buffer() local
354 struct ipw_tty *tty = linux_tty->driver_data; in ipw_tiocmget() local
370 struct ipw_tty *tty = linux_tty->driver_data; in ipw_tiocmset() local
[all …]
/linux-6.3-rc2/drivers/tty/serdev/
A Dserdev-ttyport.c15 struct tty_struct *tty; member
52 struct tty_struct *tty; in ttyport_write_wakeup() local
80 struct tty_struct *tty = serport->tty; in ttyport_write_buf() local
92 struct tty_struct *tty = serport->tty; in ttyport_write_flush() local
100 struct tty_struct *tty = serport->tty; in ttyport_write_room() local
108 struct tty_struct *tty; in ttyport_open() local
157 struct tty_struct *tty = serport->tty; in ttyport_close() local
172 struct tty_struct *tty = serport->tty; in ttyport_set_baudrate() local
186 struct tty_struct *tty = serport->tty; in ttyport_set_flow_control() local
201 struct tty_struct *tty = serport->tty; in ttyport_set_parity() local
[all …]
/linux-6.3-rc2/drivers/accessibility/speakup/
A Dspk_ttyio.c47 static int spk_ttyio_ldisc_open(struct tty_struct *tty) in spk_ttyio_ldisc_open()
69 static void spk_ttyio_ldisc_close(struct tty_struct *tty) in spk_ttyio_ldisc_close()
136 static inline void get_termios(struct tty_struct *tty, in get_termios()
147 struct tty_struct *tty; in spk_ttyio_initialise_ldisc() local
227 struct tty_struct *tty = in_synth->dev; in spk_ttyio_out() local
273 struct tty_struct *tty = in_synth->dev; in spk_ttyio_send_xchar() local
281 struct tty_struct *tty = in_synth->dev; in spk_ttyio_tiocmset() local
294 struct tty_struct *tty = in_synth->dev; in ttyio_in() local
334 struct tty_struct *tty = in_synth->dev; in spk_ttyio_flush_buffer() local
355 struct tty_struct *tty = in_synth->dev; in spk_ttyio_release() local
[all …]
A Dselection.c22 struct tty_struct *tty; member
30 struct tty_struct *tty; in __speakup_set_selection() local
62 int speakup_set_selection(struct tty_struct *tty) in speakup_set_selection()
94 struct tty_struct *tty; in speakup_cancel_selection() local
110 struct tty_struct *tty = xchg(&ssw->tty, NULL); in __speakup_paste_selection() local
121 int speakup_paste_selection(struct tty_struct *tty) in speakup_paste_selection()
135 struct tty_struct *tty; in speakup_cancel_paste() local
/linux-6.3-rc2/net/nfc/nci/
A Duart.c74 struct tty_struct *tty = nu->tty; in nci_uart_write_work() local
105 static int nci_uart_set_driver(struct tty_struct *tty, unsigned int driver) in nci_uart_set_driver()
151 static int nci_uart_tty_open(struct tty_struct *tty) in nci_uart_tty_open()
173 static void nci_uart_tty_close(struct tty_struct *tty) in nci_uart_tty_close()
205 static void nci_uart_tty_wakeup(struct tty_struct *tty) in nci_uart_tty_wakeup()
298 static void nci_uart_tty_receive(struct tty_struct *tty, const u8 *data, in nci_uart_tty_receive()
325 static int nci_uart_tty_ioctl(struct tty_struct *tty, unsigned int cmd, in nci_uart_tty_ioctl()
347 static ssize_t nci_uart_tty_read(struct tty_struct *tty, struct file *file, in nci_uart_tty_read()
354 static ssize_t nci_uart_tty_write(struct tty_struct *tty, struct file *file, in nci_uart_tty_write()
360 static __poll_t nci_uart_tty_poll(struct tty_struct *tty, in nci_uart_tty_poll()
/linux-6.3-rc2/arch/xtensa/platforms/iss/
A Dconsole.c40 static int rs_open(struct tty_struct *tty, struct file * filp) in rs_open()
48 static void rs_close(struct tty_struct *tty, struct file * filp) in rs_close()
55 static int rs_write(struct tty_struct * tty, in rs_write()
86 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char()
91 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars()
95 static unsigned int rs_write_room(struct tty_struct *tty) in rs_write_room()
101 static void rs_hangup(struct tty_struct *tty) in rs_hangup()
106 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) in rs_wait_until_sent()
/linux-6.3-rc2/drivers/input/serio/
A Dserport.c32 struct tty_struct *tty; member
78 static int serport_ldisc_open(struct tty_struct *tty) in serport_ldisc_open()
104 static void serport_ldisc_close(struct tty_struct *tty) in serport_ldisc_close()
117 static void serport_ldisc_receive(struct tty_struct *tty, in serport_ldisc_receive()
160 static ssize_t serport_ldisc_read(struct tty_struct * tty, struct file * file, in serport_ldisc_read()
197 static void serport_set_type(struct tty_struct *tty, unsigned long type) in serport_set_type()
210 static int serport_ldisc_ioctl(struct tty_struct *tty, unsigned int cmd, in serport_ldisc_ioctl()
228 static int serport_ldisc_compat_ioctl(struct tty_struct *tty, in serport_ldisc_compat_ioctl()
246 static void serport_ldisc_hangup(struct tty_struct *tty) in serport_ldisc_hangup()
258 static void serport_ldisc_write_wakeup(struct tty_struct * tty) in serport_ldisc_write_wakeup()
/linux-6.3-rc2/drivers/tty/hvc/
A Dhvc_console.c320 static void hvc_unthrottle(struct tty_struct *tty) in hvc_unthrottle()
432 static void hvc_cleanup(struct tty_struct *tty) in hvc_cleanup()
439 static void hvc_hangup(struct tty_struct *tty) in hvc_hangup()
567 struct tty_struct *tty; in hvc_set_winsz() local
589 static unsigned int hvc_write_room(struct tty_struct *tty) in hvc_write_room()
634 struct tty_struct *tty; in __hvc_poll() local
836 static int hvc_tiocmget(struct tty_struct *tty) in hvc_tiocmget()
845 static int hvc_tiocmset(struct tty_struct *tty, in hvc_tiocmset()
863 struct tty_struct *tty = driver->ttys[0]; in hvc_poll_get_char() local
878 struct tty_struct *tty = driver->ttys[0]; in hvc_poll_put_char() local
[all …]
/linux-6.3-rc2/net/bluetooth/rfcomm/
A Dtty.c321 struct device *tty; in rfcomm_dev_add() local
441 struct tty_struct *tty; in __rfcomm_release_dev() local
685 static void rfcomm_tty_cleanup(struct tty_struct *tty) in rfcomm_tty_cleanup()
811 static unsigned int rfcomm_tty_write_room(struct tty_struct *tty) in rfcomm_tty_write_room()
857 static void rfcomm_tty_set_termios(struct tty_struct *tty, in rfcomm_tty_set_termios()
997 static void rfcomm_tty_throttle(struct tty_struct *tty) in rfcomm_tty_throttle()
1006 static void rfcomm_tty_unthrottle(struct tty_struct *tty) in rfcomm_tty_unthrottle()
1030 static void rfcomm_tty_flush_buffer(struct tty_struct *tty) in rfcomm_tty_flush_buffer()
1043 static void rfcomm_tty_send_xchar(struct tty_struct *tty, char ch) in rfcomm_tty_send_xchar()
1053 static void rfcomm_tty_hangup(struct tty_struct *tty) in rfcomm_tty_hangup()
[all …]
/linux-6.3-rc2/drivers/staging/greybus/
A Duart.c281 static int send_line_coding(struct gb_tty *tty) in send_line_coding()
416 static void gb_tty_cleanup(struct tty_struct *tty) in gb_tty_cleanup()
423 static void gb_tty_hangup(struct tty_struct *tty) in gb_tty_hangup()
525 static int gb_tty_tiocmget(struct tty_struct *tty) in gb_tty_tiocmget()
556 static void gb_tty_throttle(struct tty_struct *tty) in gb_tty_throttle()
575 static void gb_tty_unthrottle(struct tty_struct *tty) in gb_tty_unthrottle()
594 static int get_serial_info(struct tty_struct *tty, in get_serial_info()
609 static int set_serial_info(struct tty_struct *tty, in set_serial_info()
675 static int gb_tty_get_icount(struct tty_struct *tty, in gb_tty_get_icount()
722 struct tty_struct *tty) in gb_tty_port_activate()
[all …]
/linux-6.3-rc2/drivers/bluetooth/
A Dhci_ldisc.c148 struct tty_struct *tty = hu->tty; in hci_uart_write_work() local
228 struct tty_struct *tty = hu->tty; in hci_uart_flush() local
310 struct tty_struct *tty = hu->tty; in hci_uart_set_flow_control() local
375 struct tty_struct *tty = hu->tty; in hci_uart_set_baudrate() local
476 static int hci_uart_tty_open(struct tty_struct *tty) in hci_uart_tty_open()
524 static void hci_uart_tty_close(struct tty_struct *tty) in hci_uart_tty_close()
571 static void hci_uart_tty_wakeup(struct tty_struct *tty) in hci_uart_tty_wakeup()
601 static void hci_uart_tty_receive(struct tty_struct *tty, const u8 *data, in hci_uart_tty_receive()
750 static int hci_uart_tty_ioctl(struct tty_struct *tty, unsigned int cmd, in hci_uart_tty_ioctl()
808 static ssize_t hci_uart_tty_read(struct tty_struct *tty, struct file *file, in hci_uart_tty_read()
[all …]
/linux-6.3-rc2/drivers/net/ppp/
A Dppp_synctty.c53 struct tty_struct *tty; member
134 static struct syncppp *sp_get(struct tty_struct *tty) in sp_get()
156 ppp_sync_open(struct tty_struct *tty) in ppp_sync_open()
214 ppp_sync_close(struct tty_struct *tty) in ppp_sync_close()
248 static void ppp_sync_hangup(struct tty_struct *tty) in ppp_sync_hangup()
258 ppp_sync_read(struct tty_struct *tty, struct file *file, in ppp_sync_read()
270 ppp_sync_write(struct tty_struct *tty, struct file *file, in ppp_sync_write()
326 ppp_sync_poll(struct tty_struct *tty, struct file *file, poll_table *wait) in ppp_sync_poll()
333 ppp_sync_receive(struct tty_struct *tty, const unsigned char *buf, in ppp_sync_receive()
351 ppp_sync_wakeup(struct tty_struct *tty) in ppp_sync_wakeup()
[all …]
/linux-6.3-rc2/arch/um/drivers/
A Dline.c50 unsigned int line_write_room(struct tty_struct *tty) in line_write_room()
63 unsigned int line_chars_in_buffer(struct tty_struct *tty) in line_chars_in_buffer()
168 void line_flush_buffer(struct tty_struct *tty) in line_flush_buffer()
182 void line_flush_chars(struct tty_struct *tty) in line_flush_chars()
214 void line_throttle(struct tty_struct *tty) in line_throttle()
222 void line_unthrottle(struct tty_struct *tty) in line_unthrottle()
309 struct tty_struct *tty = tty_port_tty_get(port); in line_destruct() local
323 int line_open(struct tty_struct *tty, struct file *filp) in line_open()
351 void line_hangup(struct tty_struct *tty) in line_hangup()
623 struct tty_struct *tty; in winch_interrupt() local
[all …]

Completed in 82 milliseconds

1234567