Home
last modified time | relevance | path

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

12345678910>>...14

/kernel/linux/linux-4.19/include/linux/
Dtty.h106 #define INTR_CHAR(tty) ((tty)->termios.c_cc[VINTR]) argument
107 #define QUIT_CHAR(tty) ((tty)->termios.c_cc[VQUIT]) argument
108 #define ERASE_CHAR(tty) ((tty)->termios.c_cc[VERASE]) argument
109 #define KILL_CHAR(tty) ((tty)->termios.c_cc[VKILL]) argument
110 #define EOF_CHAR(tty) ((tty)->termios.c_cc[VEOF]) argument
111 #define TIME_CHAR(tty) ((tty)->termios.c_cc[VTIME]) argument
112 #define MIN_CHAR(tty) ((tty)->termios.c_cc[VMIN]) argument
113 #define SWTC_CHAR(tty) ((tty)->termios.c_cc[VSWTC]) argument
114 #define START_CHAR(tty) ((tty)->termios.c_cc[VSTART]) argument
115 #define STOP_CHAR(tty) ((tty)->termios.c_cc[VSTOP]) argument
[all …]
/kernel/linux/linux-5.10/include/linux/
Dtty.h106 #define INTR_CHAR(tty) ((tty)->termios.c_cc[VINTR]) argument
107 #define QUIT_CHAR(tty) ((tty)->termios.c_cc[VQUIT]) argument
108 #define ERASE_CHAR(tty) ((tty)->termios.c_cc[VERASE]) argument
109 #define KILL_CHAR(tty) ((tty)->termios.c_cc[VKILL]) argument
110 #define EOF_CHAR(tty) ((tty)->termios.c_cc[VEOF]) argument
111 #define TIME_CHAR(tty) ((tty)->termios.c_cc[VTIME]) argument
112 #define MIN_CHAR(tty) ((tty)->termios.c_cc[VMIN]) argument
113 #define SWTC_CHAR(tty) ((tty)->termios.c_cc[VSWTC]) argument
114 #define START_CHAR(tty) ((tty)->termios.c_cc[VSTART]) argument
115 #define STOP_CHAR(tty) ((tty)->termios.c_cc[VSTOP]) argument
[all …]
/kernel/linux/linux-4.19/drivers/tty/
Dtty_ioctl.c31 # define tty_debug_wait_until_sent(tty, f, args...) tty_debug(tty, f, ##args) argument
33 # define tty_debug_wait_until_sent(tty, f, args...) do {} while (0) argument
56 int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer()
76 int tty_write_room(struct tty_struct *tty) in tty_write_room()
92 void tty_driver_flush_buffer(struct tty_struct *tty) in tty_driver_flush_buffer()
109 void tty_throttle(struct tty_struct *tty) in tty_throttle()
134 void tty_unthrottle(struct tty_struct *tty) in tty_unthrottle()
157 int tty_throttle_safe(struct tty_struct *tty) in tty_throttle_safe()
188 int tty_unthrottle_safe(struct tty_struct *tty) in tty_unthrottle_safe()
218 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent()
[all …]
Dpty.c35 # define tty_debug_hangup(tty, f, args...) tty_debug(tty, f, ##args) argument
37 # define tty_debug_hangup(tty, f, args...) do {} while (0) argument
46 static void pty_close(struct tty_struct *tty, struct file *filp) in pty_close()
93 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle()
111 static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c) in pty_write()
139 static int pty_write_room(struct tty_struct *tty) in pty_write_room()
154 static int pty_chars_in_buffer(struct tty_struct *tty) in pty_chars_in_buffer()
160 static int pty_set_lock(struct tty_struct *tty, int __user *arg) in pty_set_lock()
172 static int pty_get_lock(struct tty_struct *tty, int __user *arg) in pty_get_lock()
179 static int pty_set_pktmode(struct tty_struct *tty, int __user *arg) in pty_set_pktmode()
[all …]
Dtty_ldisc.c26 #define tty_ldisc_debug(tty, f, args...) tty_debug(tty, f, ##args) argument
28 #define tty_ldisc_debug(tty, f, args...) argument
166 static struct tty_ldisc *tty_ldisc_get(struct tty_struct *tty, int disc) in tty_ldisc_get()
268 struct tty_ldisc *tty_ldisc_ref_wait(struct tty_struct *tty) in tty_ldisc_ref_wait()
289 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *tty) in tty_ldisc_ref()
318 __tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) in __tty_ldisc_lock()
324 __tty_ldisc_lock_nested(struct tty_struct *tty, unsigned long timeout) in __tty_ldisc_lock_nested()
330 static inline void __tty_ldisc_unlock(struct tty_struct *tty) in __tty_ldisc_unlock()
335 int tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) in tty_ldisc_lock()
351 void tty_ldisc_unlock(struct tty_struct *tty) in tty_ldisc_unlock()
[all …]
Dtty_io.c112 # define tty_debug_hangup(tty, f, args...) tty_debug(tty, f, ##args) argument
114 # define tty_debug_hangup(tty, f, args...) do { } while (0) argument
169 static void free_tty_struct(struct tty_struct *tty) in free_tty_struct()
197 void tty_add_file(struct tty_struct *tty, struct file *file) in tty_add_file()
227 struct tty_struct *tty = priv->tty; in tty_del_file() local
245 const char *tty_name(const struct tty_struct *tty) in tty_name()
254 const char *tty_driver_name(const struct tty_struct *tty) in tty_driver_name()
261 static int tty_paranoia_check(struct tty_struct *tty, struct inode *inode, in tty_paranoia_check()
280 static int check_tty_count(struct tty_struct *tty, const char *routine) in check_tty_count()
470 struct tty_struct *tty = file_tty(file); in tty_show_fdinfo() local
[all …]
Dtty_jobctrl.c31 int __tty_check_change(struct tty_struct *tty, int sig) in __tty_check_change()
67 int tty_check_change(struct tty_struct *tty) in tty_check_change()
76 struct tty_struct *tty; in proc_clear_tty() local
94 static void __proc_set_tty(struct tty_struct *tty) in __proc_set_tty()
118 static void proc_set_tty(struct tty_struct *tty) in proc_set_tty()
128 void tty_open_proc_set_tty(struct file *filp, struct tty_struct *tty) in tty_open_proc_set_tty()
158 struct tty_struct *tty; in get_current_tty() local
191 int tty_signal_session_leader(struct tty_struct *tty, int exit_session) in tty_signal_session_leader()
259 struct tty_struct *tty; in disassociate_ctty() local
346 static int tiocsctty(struct tty_struct *tty, struct file *file, int arg) in tiocsctty()
[all …]
Dn_tty.c156 static void zero_buffer(struct tty_struct *tty, u8 *buffer, int size) in zero_buffer()
165 static int tty_copy_to_user(struct tty_struct *tty, void __user *to, in tty_copy_to_user()
202 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()
243 static void n_tty_write_wakeup(struct tty_struct *tty) in n_tty_write_wakeup()
249 static void n_tty_check_throttle(struct tty_struct *tty) in n_tty_check_throttle()
273 static void n_tty_check_unthrottle(struct tty_struct *tty) in n_tty_check_unthrottle()
343 static void n_tty_packet_mode_flush(struct tty_struct *tty) in n_tty_packet_mode_flush()
369 static void n_tty_flush_buffer(struct tty_struct *tty) in n_tty_flush_buffer()
402 static inline int is_continuation(unsigned char c, struct tty_struct *tty) in is_continuation()
[all …]
Dtty_mutex.c14 void tty_lock(struct tty_struct *tty) in tty_lock()
23 int tty_lock_interruptible(struct tty_struct *tty) in tty_lock_interruptible()
36 void tty_unlock(struct tty_struct *tty) in tty_unlock()
45 void tty_lock_slave(struct tty_struct *tty) in tty_lock_slave()
51 void tty_unlock_slave(struct tty_struct *tty) in tty_unlock_slave()
57 void tty_set_lock_subclass(struct tty_struct *tty) in tty_set_lock_subclass()
/kernel/linux/linux-5.10/drivers/tty/
Dpty.c35 # define tty_debug_hangup(tty, f, args...) tty_debug(tty, f, ##args) argument
37 # define tty_debug_hangup(tty, f, args...) do {} while (0) argument
46 static void pty_close(struct tty_struct *tty, struct file *filp) in pty_close()
93 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle()
111 static int pty_write(struct tty_struct *tty, const unsigned char *buf, int c) in pty_write()
129 static int pty_write_room(struct tty_struct *tty) in pty_write_room()
144 static int pty_chars_in_buffer(struct tty_struct *tty) in pty_chars_in_buffer()
150 static int pty_set_lock(struct tty_struct *tty, int __user *arg) in pty_set_lock()
162 static int pty_get_lock(struct tty_struct *tty, int __user *arg) in pty_get_lock()
169 static int pty_set_pktmode(struct tty_struct *tty, int __user *arg) in pty_set_pktmode()
[all …]
Dtty_ioctl.c31 # define tty_debug_wait_until_sent(tty, f, args...) tty_debug(tty, f, ##args) argument
33 # define tty_debug_wait_until_sent(tty, f, args...) do {} while (0) argument
56 int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer()
76 int tty_write_room(struct tty_struct *tty) in tty_write_room()
92 void tty_driver_flush_buffer(struct tty_struct *tty) in tty_driver_flush_buffer()
109 void tty_throttle(struct tty_struct *tty) in tty_throttle()
134 void tty_unthrottle(struct tty_struct *tty) in tty_unthrottle()
157 int tty_throttle_safe(struct tty_struct *tty) in tty_throttle_safe()
188 int tty_unthrottle_safe(struct tty_struct *tty) in tty_unthrottle_safe()
218 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent()
[all …]
Dtty_ldisc.c26 #define tty_ldisc_debug(tty, f, args...) tty_debug(tty, f, ##args) argument
28 #define tty_ldisc_debug(tty, f, args...) argument
160 static struct tty_ldisc *tty_ldisc_get(struct tty_struct *tty, int disc) in tty_ldisc_get()
262 struct tty_ldisc *tty_ldisc_ref_wait(struct tty_struct *tty) in tty_ldisc_ref_wait()
283 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *tty) in tty_ldisc_ref()
312 __tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) in __tty_ldisc_lock()
318 __tty_ldisc_lock_nested(struct tty_struct *tty, unsigned long timeout) in __tty_ldisc_lock_nested()
324 static inline void __tty_ldisc_unlock(struct tty_struct *tty) in __tty_ldisc_unlock()
329 int tty_ldisc_lock(struct tty_struct *tty, unsigned long timeout) in tty_ldisc_lock()
345 void tty_ldisc_unlock(struct tty_struct *tty) in tty_ldisc_unlock()
[all …]
Dtty_io.c114 # define tty_debug_hangup(tty, f, args...) tty_debug(tty, f, ##args) argument
116 # define tty_debug_hangup(tty, f, args...) do { } while (0) argument
168 static void free_tty_struct(struct tty_struct *tty) in free_tty_struct()
196 void tty_add_file(struct tty_struct *tty, struct file *file) in tty_add_file()
226 struct tty_struct *tty = priv->tty; in tty_del_file() local
244 const char *tty_name(const struct tty_struct *tty) in tty_name()
253 const char *tty_driver_name(const struct tty_struct *tty) in tty_driver_name()
260 static int tty_paranoia_check(struct tty_struct *tty, struct inode *inode, in tty_paranoia_check()
279 static int check_tty_count(struct tty_struct *tty, const char *routine) in check_tty_count()
467 struct tty_struct *tty = file_tty(file); in tty_show_fdinfo() local
[all …]
Dtty_jobctrl.c31 int __tty_check_change(struct tty_struct *tty, int sig) in __tty_check_change()
67 int tty_check_change(struct tty_struct *tty) in tty_check_change()
76 struct tty_struct *tty; in proc_clear_tty() local
94 static void __proc_set_tty(struct tty_struct *tty) in __proc_set_tty()
118 static void proc_set_tty(struct tty_struct *tty) in proc_set_tty()
128 void tty_open_proc_set_tty(struct file *filp, struct tty_struct *tty) in tty_open_proc_set_tty()
158 struct tty_struct *tty; in get_current_tty() local
191 int tty_signal_session_leader(struct tty_struct *tty, int exit_session) in tty_signal_session_leader()
259 struct tty_struct *tty; in disassociate_ctty() local
346 static int tiocsctty(struct tty_struct *tty, struct file *file, int arg) in tiocsctty()
[all …]
Dn_tty.c158 static void zero_buffer(struct tty_struct *tty, u8 *buffer, int size) in zero_buffer()
167 static void tty_copy(struct tty_struct *tty, void *to, size_t tail, size_t n) in tty_copy()
199 static void n_tty_kick_worker(struct tty_struct *tty) in n_tty_kick_worker()
219 static ssize_t chars_in_buffer(struct tty_struct *tty) in chars_in_buffer()
240 static void n_tty_write_wakeup(struct tty_struct *tty) in n_tty_write_wakeup()
246 static void n_tty_check_throttle(struct tty_struct *tty) in n_tty_check_throttle()
270 static void n_tty_check_unthrottle(struct tty_struct *tty) in n_tty_check_unthrottle()
340 static void n_tty_packet_mode_flush(struct tty_struct *tty) in n_tty_packet_mode_flush()
366 static void n_tty_flush_buffer(struct tty_struct *tty) in n_tty_flush_buffer()
399 static inline int is_continuation(unsigned char c, struct tty_struct *tty) in is_continuation()
[all …]
Dtty_mutex.c14 void tty_lock(struct tty_struct *tty) in tty_lock()
23 int tty_lock_interruptible(struct tty_struct *tty) in tty_lock_interruptible()
36 void tty_unlock(struct tty_struct *tty) in tty_unlock()
45 void tty_lock_slave(struct tty_struct *tty) in tty_lock_slave()
51 void tty_unlock_slave(struct tty_struct *tty) in tty_unlock_slave()
57 void tty_set_lock_subclass(struct tty_struct *tty) in tty_set_lock_subclass()
/kernel/linux/linux-4.19/arch/ia64/hp/sim/
Dsimserial.c110 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char()
129 static void transmit_chars(struct tty_struct *tty, struct serial_state *info, in transmit_chars()
180 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars()
191 static int rs_write(struct tty_struct * tty, in rs_write()
227 static int rs_write_room(struct tty_struct *tty) in rs_write_room()
234 static int rs_chars_in_buffer(struct tty_struct *tty) in rs_chars_in_buffer()
241 static void rs_flush_buffer(struct tty_struct *tty) in rs_flush_buffer()
257 static void rs_send_xchar(struct tty_struct *tty, char ch) in rs_send_xchar()
279 static void rs_throttle(struct tty_struct * tty) in rs_throttle()
287 static void rs_unthrottle(struct tty_struct * tty) in rs_unthrottle()
[all …]
/kernel/linux/linux-4.19/drivers/tty/ipwireless/
Dtty.c91 struct ipw_tty *tty = get_tty(linux_tty->index); in ipw_open() local
114 static void do_ipw_close(struct ipw_tty *tty) in do_ipw_close()
133 struct ipw_tty *tty = linux_tty->driver_data; in ipw_hangup() local
155 void ipwireless_tty_received(struct ipw_tty *tty, unsigned char *data, in ipwireless_tty_received()
182 struct ipw_tty *tty = callback_data; in ipw_write_packet_sent_callback() local
194 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write() local
234 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write_room() local
251 static int ipwireless_get_serial_info(struct ipw_tty *tty, in ipwireless_get_serial_info()
269 struct ipw_tty *tty = linux_tty->driver_data; in ipw_chars_in_buffer() local
280 static int get_control_lines(struct ipw_tty *tty) in get_control_lines()
[all …]
/kernel/linux/linux-5.10/drivers/tty/ipwireless/
Dtty.c91 struct ipw_tty *tty = get_tty(linux_tty->index); in ipw_open() local
114 static void do_ipw_close(struct ipw_tty *tty) in do_ipw_close()
133 struct ipw_tty *tty = linux_tty->driver_data; in ipw_hangup() local
155 void ipwireless_tty_received(struct ipw_tty *tty, unsigned char *data, in ipwireless_tty_received()
182 struct ipw_tty *tty = callback_data; in ipw_write_packet_sent_callback() local
194 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write() local
234 struct ipw_tty *tty = linux_tty->driver_data; in ipw_write_room() local
254 struct ipw_tty *tty = linux_tty->driver_data; in ipwireless_get_serial_info() local
276 struct ipw_tty *tty = linux_tty->driver_data; in ipw_chars_in_buffer() local
287 static int get_control_lines(struct ipw_tty *tty) in get_control_lines()
[all …]
/kernel/linux/linux-5.10/drivers/tty/serdev/
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 …]
/kernel/linux/linux-4.19/drivers/tty/serdev/
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 …]
/kernel/linux/linux-5.10/drivers/accessibility/speakup/
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
/kernel/linux/linux-4.19/drivers/isdn/gigaset/
Dinterface.c116 static int if_open(struct tty_struct *tty, struct file *filp) in if_open()
144 static void if_close(struct tty_struct *tty, struct file *filp) in if_close()
169 static int if_ioctl(struct tty_struct *tty, in if_ioctl()
236 static int if_tiocmget(struct tty_struct *tty) in if_tiocmget()
253 static int if_tiocmset(struct tty_struct *tty, in if_tiocmset()
280 static int if_write(struct tty_struct *tty, const unsigned char *buf, int count) in if_write()
325 static int if_write_room(struct tty_struct *tty) in if_write_room()
349 static int if_chars_in_buffer(struct tty_struct *tty) in if_chars_in_buffer()
370 static void if_throttle(struct tty_struct *tty) in if_throttle()
386 static void if_unthrottle(struct tty_struct *tty) in if_unthrottle()
[all …]
/kernel/linux/linux-5.10/arch/xtensa/platforms/iss/
Dconsole.c52 static int rs_open(struct tty_struct *tty, struct file * filp) in rs_open()
76 static void rs_close(struct tty_struct *tty, struct file * filp) in rs_close()
85 static int rs_write(struct tty_struct * tty, in rs_write()
119 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char()
124 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars()
128 static int rs_write_room(struct tty_struct *tty) in rs_write_room()
134 static int rs_chars_in_buffer(struct tty_struct *tty) in rs_chars_in_buffer()
140 static void rs_hangup(struct tty_struct *tty) in rs_hangup()
145 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) in rs_wait_until_sent()
/kernel/linux/linux-4.19/arch/xtensa/platforms/iss/
Dconsole.c52 static int rs_open(struct tty_struct *tty, struct file * filp) in rs_open()
76 static void rs_close(struct tty_struct *tty, struct file * filp) in rs_close()
85 static int rs_write(struct tty_struct * tty, in rs_write()
119 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char()
124 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars()
128 static int rs_write_room(struct tty_struct *tty) in rs_write_room()
134 static int rs_chars_in_buffer(struct tty_struct *tty) in rs_chars_in_buffer()
140 static void rs_hangup(struct tty_struct *tty) in rs_hangup()
145 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) in rs_wait_until_sent()

12345678910>>...14