Home
last modified time | relevance | path

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

1234567

/linux/include/linux/
A Dtty_driver.h242 struct tty_struct;
254 void (*shutdown)(struct tty_struct *tty);
255 void (*cleanup)(struct tty_struct *tty);
256 int (*write)(struct tty_struct * tty,
262 int (*ioctl)(struct tty_struct *tty,
269 void (*stop)(struct tty_struct *tty);
270 void (*start)(struct tty_struct *tty);
271 void (*hangup)(struct tty_struct *tty);
277 int (*tiocmget)(struct tty_struct *tty);
278 int (*tiocmset)(struct tty_struct *tty,
[all …]
A Dtty.h143 struct tty_struct { struct
187 struct tty_struct *link; argument
209 struct tty_struct *tty; argument
267 void tty_kclose(struct tty_struct *tty);
312 static inline struct tty_struct *tty_kref_get(struct tty_struct *tty) in tty_kref_get()
321 void stop_tty(struct tty_struct *tty);
322 void start_tty(struct tty_struct *tty);
339 void do_SAK(struct tty_struct *tty);
340 void __do_SAK(struct tty_struct *tty);
379 struct tty_struct *tty);
[all …]
A Dtty_ldisc.h5 struct tty_struct;
187 int (*open)(struct tty_struct *);
188 void (*close)(struct tty_struct *);
189 void (*flush_buffer)(struct tty_struct *tty);
200 __poll_t (*poll)(struct tty_struct *, struct file *,
202 void (*hangup)(struct tty_struct *tty);
209 void (*write_wakeup)(struct tty_struct *);
219 struct tty_struct *tty;
227 struct tty_ldisc *tty_ldisc_ref(struct tty_struct *);
231 void tty_ldisc_flush(struct tty_struct *tty);
[all …]
A Dtty_port.h24 struct tty_struct;
39 int (*activate)(struct tty_port *port, struct tty_struct *tty);
53 struct tty_struct *tty; /* Back pointer */
54 struct tty_struct *itty; /* internal back ptr */
183 struct tty_struct *tty_port_tty_get(struct tty_port *port);
184 void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty);
193 int tty_port_close_start(struct tty_port *port, struct tty_struct *tty,
195 void tty_port_close_end(struct tty_port *port, struct tty_struct *tty);
196 void tty_port_close(struct tty_port *port, struct tty_struct *tty,
199 struct tty_struct *tty);
[all …]
A Dselection.h14 struct tty_struct;
19 struct tty_struct *tty);
21 struct tty_struct *tty);
22 extern int paste_selection(struct tty_struct *tty);
25 extern void mouse_report(struct tty_struct * tty, int butt, int mrx, int mry);
/linux/drivers/tty/
A Dtty.h59 void tty_ldisc_unlock(struct tty_struct *tty);
61 int __tty_check_change(struct tty_struct *tty, int sig);
62 int tty_check_change(struct tty_struct *tty);
63 void __stop_tty(struct tty_struct *tty);
64 void __start_tty(struct tty_struct *tty);
65 void tty_vhangup_session(struct tty_struct *tty);
78 int tty_ldisc_reinit(struct tty_struct *tty, int disc);
80 long tty_jobctrl_ioctl(struct tty_struct *tty, struct tty_struct *real_tty,
91 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty);
92 void tty_ldisc_release(struct tty_struct *tty);
[all …]
A Dtty_ldisc.c331 void tty_ldisc_unlock(struct tty_struct *tty) in tty_ldisc_unlock()
340 tty_ldisc_lock_pair_timeout(struct tty_struct *tty, struct tty_struct *tty2, in tty_ldisc_lock_pair_timeout()
375 static void tty_ldisc_lock_pair(struct tty_struct *tty, struct tty_struct *tty2) in tty_ldisc_lock_pair()
381 struct tty_struct *tty2) in tty_ldisc_unlock_pair()
396 void tty_ldisc_flush(struct tty_struct *tty) in tty_ldisc_flush()
621 static void tty_ldisc_kill(struct tty_struct *tty) in tty_ldisc_kill()
764 int tty_ldisc_setup(struct tty_struct *tty, struct tty_struct *o_tty) in tty_ldisc_setup()
793 void tty_ldisc_release(struct tty_struct *tty) in tty_ldisc_release()
795 struct tty_struct *o_tty = tty->link; in tty_ldisc_release()
824 int tty_ldisc_init(struct tty_struct *tty) in tty_ldisc_init()
[all …]
A Dpty.c93 static void pty_unthrottle(struct tty_struct *tty) in pty_unthrottle()
113 struct tty_struct *to = tty->link; in pty_write()
216 struct tty_struct *to = tty->link; in pty_flush_buffer()
296 struct tty_struct *pty = tty->link; in pty_resize()
332 static void pty_start(struct tty_struct *tty) in pty_start()
345 static void pty_stop(struct tty_struct *tty) in pty_stop()
372 struct tty_struct *o_tty; in pty_common_install()
441 static void pty_cleanup(struct tty_struct *tty) in pty_cleanup()
456 struct tty_struct *pair = tty->link; in pty_remove()
718 struct tty_struct *tty; in pts_unix98_lookup()
[all …]
A Dtty_io.c678 struct tty_struct *tty = in do_tty_hangup()
724 struct tty_struct *tty; in tty_vhangup_self()
976 struct tty_struct *tty, in do_tty_write()
1245 struct tty_struct *tty; in tty_driver_lookup_tty()
1408 struct tty_struct *tty; in tty_init_dev()
1561 struct tty_struct *tty = container_of(kref, struct tty_struct, kref); in queue_release_one_tty()
1895 struct tty_struct *tty; in tty_open_current_tty()
1971 struct tty_struct *tty; in tty_kopen()
2057 struct tty_struct *tty; in tty_open_by_driver()
2132 struct tty_struct *tty; in tty_open()
[all …]
A Dtty_jobctrl.c69 int tty_check_change(struct tty_struct *tty) in tty_check_change()
78 struct tty_struct *tty; in proc_clear_tty()
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()
160 struct tty_struct *get_current_tty(void) in get_current_tty()
162 struct tty_struct *tty; in get_current_tty()
267 struct tty_struct *tty; in disassociate_ctty()
461 static int tiocgpgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgpgrp()
488 static int tiocspgrp(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocspgrp()
538 static int tiocgsid(struct tty_struct *tty, struct tty_struct *real_tty, pid_t __user *p) in tiocgsid()
[all …]
A Dtty_mutex.c15 void tty_lock(struct tty_struct *tty) in tty_lock()
24 int tty_lock_interruptible(struct tty_struct *tty) in tty_lock_interruptible()
37 void tty_unlock(struct tty_struct *tty) in tty_unlock()
46 void tty_lock_slave(struct tty_struct *tty) in tty_lock_slave()
52 void tty_unlock_slave(struct tty_struct *tty) in tty_unlock_slave()
58 void tty_set_lock_subclass(struct tty_struct *tty) in tty_set_lock_subclass()
A Dtty_ioctl.c57 unsigned int tty_chars_in_buffer(struct tty_struct *tty) in tty_chars_in_buffer()
76 unsigned 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()
112 void tty_unthrottle(struct tty_struct *tty) in tty_unthrottle()
136 int tty_throttle_safe(struct tty_struct *tty) in tty_throttle_safe()
167 int tty_unthrottle_safe(struct tty_struct *tty) in tty_unthrottle_safe()
197 void tty_wait_until_sent(struct tty_struct *tty, long timeout) in tty_wait_until_sent()
476 static int get_sgflags(struct tty_struct *tty) in get_sgflags()
657 static int tty_change_softcar(struct tty_struct *tty, int arg) in tty_change_softcar()
688 struct tty_struct *real_tty; in tty_mode_ioctl()
[all …]
A Dn_tty.c200 static void n_tty_kick_worker(struct tty_struct *tty) in n_tty_kick_worker()
220 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()
367 static void n_tty_flush_buffer(struct tty_struct *tty) in n_tty_flush_buffer()
769 static void commit_echoes(struct tty_struct *tty) in commit_echoes()
798 static void process_echoes(struct tty_struct *tty) in process_echoes()
816 static void flush_echoes(struct tty_struct *tty) in flush_echoes()
1109 static void __isig(int sig, struct tty_struct *tty) in __isig()
1118 static void isig(int sig, struct tty_struct *tty) in isig()
1820 static void n_tty_close(struct tty_struct *tty) in n_tty_close()
[all …]
A Dn_null.c13 static int n_null_open(struct tty_struct *tty) in n_null_open()
18 static void n_null_close(struct tty_struct *tty) in n_null_close()
22 static ssize_t n_null_read(struct tty_struct *tty, struct file *file, in n_null_read()
29 static ssize_t n_null_write(struct tty_struct *tty, struct file *file, in n_null_write()
35 static void n_null_receivebuf(struct tty_struct *tty, in n_null_receivebuf()
A Dtty_port.c28 struct tty_struct *tty; in tty_port_default_receive_buf()
48 struct tty_struct *tty = tty_port_tty_get(port); in tty_port_default_wakeup()
284 struct tty_struct *tty_port_tty_get(struct tty_port *port) in tty_port_tty_get()
287 struct tty_struct *tty; in tty_port_tty_get()
348 struct tty_struct *tty; in tty_port_hangup()
374 struct tty_struct *tty = tty_port_tty_get(port); in tty_port_tty_hangup()
464 struct tty_struct *tty, struct file *filp) in tty_port_block_til_ready()
565 struct tty_struct *tty, struct file *filp) in tty_port_close_start()
636 void tty_port_close(struct tty_port *port, struct tty_struct *tty, in tty_port_close()
660 struct tty_struct *tty) in tty_port_install()
[all …]
/linux/include/linux/usb/
A Dserial.h279 unsigned int (*write_room)(struct tty_struct *tty);
280 int (*ioctl)(struct tty_struct *tty,
284 void (*set_termios)(struct tty_struct *tty,
287 unsigned int (*chars_in_buffer)(struct tty_struct *tty);
290 void (*throttle)(struct tty_struct *tty);
291 void (*unthrottle)(struct tty_struct *tty);
292 int (*tiocmget)(struct tty_struct *tty);
293 int (*tiocmset)(struct tty_struct *tty,
296 int (*get_icount)(struct tty_struct *tty,
304 void (*init_termios)(struct tty_struct *tty);
[all …]
/linux/arch/um/drivers/
A Dline.h59 extern void line_close(struct tty_struct *tty, struct file * filp);
60 extern int line_open(struct tty_struct *tty, struct file *filp);
63 extern void line_cleanup(struct tty_struct *tty);
64 extern void line_hangup(struct tty_struct *tty);
67 extern int line_write(struct tty_struct *tty, const unsigned char *buf,
69 extern unsigned int line_chars_in_buffer(struct tty_struct *tty);
70 extern void line_flush_buffer(struct tty_struct *tty);
71 extern void line_flush_chars(struct tty_struct *tty);
72 extern unsigned int line_write_room(struct tty_struct *tty);
73 extern void line_throttle(struct tty_struct *tty);
[all …]
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()
301 static void unregister_winch(struct tty_struct *tty);
305 struct tty_struct *tty = tty_port_tty_get(port); in line_destruct()
347 void line_hangup(struct tty_struct *tty) in line_hangup()
619 struct tty_struct *tty; in winch_interrupt()
[all …]
/linux/drivers/accessibility/speakup/
A Dspk_ttyio.c22 static struct tty_struct *speakup_tty;
47 static int spk_ttyio_ldisc_open(struct tty_struct *tty) in spk_ttyio_ldisc_open()
136 static inline void get_termios(struct tty_struct *tty, in get_termios()
147 struct tty_struct *tty; in spk_ttyio_initialise_ldisc()
227 struct tty_struct *tty = in_synth->dev; in spk_ttyio_out()
273 struct tty_struct *tty = in_synth->dev; in spk_ttyio_send_xchar()
281 struct tty_struct *tty = in_synth->dev; in spk_ttyio_tiocmset()
294 struct tty_struct *tty = in_synth->dev; in ttyio_in()
334 struct tty_struct *tty = in_synth->dev; in spk_ttyio_flush_buffer()
355 struct tty_struct *tty = in_synth->dev; in spk_ttyio_release()
[all …]
A Dselection.c22 struct tty_struct *tty;
30 struct tty_struct *tty; in __speakup_set_selection()
62 int speakup_set_selection(struct tty_struct *tty) in speakup_set_selection()
94 struct tty_struct *tty; in speakup_cancel_selection()
110 struct tty_struct *tty = xchg(&ssw->tty, NULL); in __speakup_paste_selection()
121 int speakup_paste_selection(struct tty_struct *tty) in speakup_paste_selection()
135 struct tty_struct *tty; in speakup_cancel_paste()
/linux/drivers/usb/serial/
A Dusb-wwan.h10 extern int usb_wwan_open(struct tty_struct *tty, struct usb_serial_port *port);
14 extern unsigned int usb_wwan_write_room(struct tty_struct *tty);
15 extern int usb_wwan_tiocmget(struct tty_struct *tty);
16 extern int usb_wwan_tiocmset(struct tty_struct *tty,
18 extern int usb_wwan_write(struct tty_struct *tty, struct usb_serial_port *port,
20 extern unsigned int usb_wwan_chars_in_buffer(struct tty_struct *tty);
A Dkobil_sct.c56 static unsigned int kobil_write_room(struct tty_struct *tty);
57 static int kobil_ioctl(struct tty_struct *tty,
59 static int kobil_tiocmget(struct tty_struct *tty);
60 static int kobil_tiocmset(struct tty_struct *tty,
64 static void kobil_set_termios(struct tty_struct *tty,
66 static void kobil_init_termios(struct tty_struct *tty);
154 static void kobil_init_termios(struct tty_struct *tty) in kobil_init_termios()
368 static int kobil_tiocmget(struct tty_struct *tty) in kobil_tiocmget()
416 static int kobil_tiocmset(struct tty_struct *tty, in kobil_tiocmset()
476 static void kobil_set_termios(struct tty_struct *tty, in kobil_set_termios()
[all …]
/linux/drivers/tty/serdev/
A Dserdev-ttyport.c15 struct tty_struct *tty;
52 struct tty_struct *tty; in ttyport_write_wakeup()
80 struct tty_struct *tty = serport->tty; in ttyport_write_buf()
92 struct tty_struct *tty = serport->tty; in ttyport_write_flush()
100 struct tty_struct *tty = serport->tty; in ttyport_write_room()
108 struct tty_struct *tty; in ttyport_open()
157 struct tty_struct *tty = serport->tty; in ttyport_close()
172 struct tty_struct *tty = serport->tty; in ttyport_set_baudrate()
186 struct tty_struct *tty = serport->tty; in ttyport_set_flow_control()
201 struct tty_struct *tty = serport->tty; in ttyport_set_parity()
[all …]
/linux/arch/xtensa/platforms/iss/
A Dconsole.c41 static int rs_open(struct tty_struct *tty, struct file * filp) in rs_open()
51 static void rs_close(struct tty_struct *tty, struct file * filp) in rs_close()
60 static int rs_write(struct tty_struct * tty, in rs_write()
94 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char()
99 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars()
103 static unsigned int rs_write_room(struct tty_struct *tty) in rs_write_room()
109 static void rs_hangup(struct tty_struct *tty) in rs_hangup()
114 static void rs_wait_until_sent(struct tty_struct *tty, int timeout) in rs_wait_until_sent()
/linux/drivers/input/serio/
A Dserport.c32 struct tty_struct *tty;
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, struct file *file, in serport_ldisc_ioctl()
228 static int serport_ldisc_compat_ioctl(struct tty_struct *tty, in serport_ldisc_compat_ioctl()
247 static void serport_ldisc_hangup(struct tty_struct *tty) in serport_ldisc_hangup()
259 static void serport_ldisc_write_wakeup(struct tty_struct * tty) in serport_ldisc_write_wakeup()

Completed in 41 milliseconds

1234567