Home
last modified time | relevance | path

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

/include/linux/
Dtty_driver.h243 struct tty_struct;
249 struct tty_struct * (*lookup)(struct tty_driver *driver,
251 int (*install)(struct tty_driver *driver, struct tty_struct *tty);
252 void (*remove)(struct tty_driver *driver, struct tty_struct *tty);
253 int (*open)(struct tty_struct * tty, struct file * filp);
254 void (*close)(struct tty_struct * tty, struct file * filp);
255 void (*shutdown)(struct tty_struct *tty);
256 void (*cleanup)(struct tty_struct *tty);
257 int (*write)(struct tty_struct * tty,
259 int (*put_char)(struct tty_struct *tty, unsigned char ch);
[all …]
Dtty_ldisc.h5 struct tty_struct;
189 int (*open)(struct tty_struct *);
190 void (*close)(struct tty_struct *);
191 void (*flush_buffer)(struct tty_struct *tty);
192 ssize_t (*read)(struct tty_struct *tty, struct file *file,
195 ssize_t (*write)(struct tty_struct *tty, struct file *file,
197 int (*ioctl)(struct tty_struct *tty, struct file *file,
199 int (*compat_ioctl)(struct tty_struct *tty, struct file *file,
201 void (*set_termios)(struct tty_struct *tty, struct ktermios *old);
202 __poll_t (*poll)(struct tty_struct *, struct file *,
[all …]
Dtty.h144 struct tty_struct { struct
188 struct tty_struct *link; argument
213 struct tty_struct *tty; argument
242 static inline bool tty_io_nonblock(struct tty_struct *tty, struct file *file) in tty_io_nonblock()
248 static inline bool tty_io_error(struct tty_struct *tty) in tty_io_error()
253 static inline bool tty_throttled(struct tty_struct *tty) in tty_throttled()
259 extern void tty_kref_put(struct tty_struct *tty);
260 extern struct pid *tty_get_pgrp(struct tty_struct *tty);
263 extern dev_t tty_devnum(struct tty_struct *tty);
265 extern struct tty_struct *get_current_tty(void);
[all …]
Dtty_port.h25 struct tty_struct;
40 int (*activate)(struct tty_port *port, struct tty_struct *tty);
56 struct tty_struct *tty; /* Back pointer */
57 struct tty_struct *itty; /* internal back ptr */
188 struct tty_struct *tty_port_tty_get(struct tty_port *port);
189 void tty_port_tty_set(struct tty_port *port, struct tty_struct *tty);
196 int tty_port_block_til_ready(struct tty_port *port, struct tty_struct *tty,
198 int tty_port_close_start(struct tty_port *port, struct tty_struct *tty,
200 void tty_port_close_end(struct tty_port *port, struct tty_struct *tty);
201 void tty_port_close(struct tty_port *port, struct tty_struct *tty,
[all …]
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);
Ddevpts_fs.h34 int ptm_open_peer(struct file *master, struct tty_struct *tty, int flags);
38 ptm_open_peer(struct file *master, struct tty_struct *tty, int flags) in ptm_open_peer()
Dvt_kern.h46 struct tty_struct;
47 int tioclinux(struct tty_struct *tty, unsigned long arg);
Dti_wilink_st.h147 struct tty_struct *tty;
Dconsole.h24 struct tty_struct;
Dserial_core.h462 struct tty_struct *tty = port->state->port.tty; in uart_tx_stopped()
/include/linux/usb/
Dserial.h274 int (*open)(struct tty_struct *tty, struct usb_serial_port *port);
276 int (*write)(struct tty_struct *tty, struct usb_serial_port *port,
279 unsigned int (*write_room)(struct tty_struct *tty);
280 int (*ioctl)(struct tty_struct *tty,
282 void (*get_serial)(struct tty_struct *tty, struct serial_struct *ss);
283 int (*set_serial)(struct tty_struct *tty, struct serial_struct *ss);
284 void (*set_termios)(struct tty_struct *tty,
286 void (*break_ctl)(struct tty_struct *tty, int break_state);
287 unsigned int (*chars_in_buffer)(struct tty_struct *tty);
288 void (*wait_until_sent)(struct tty_struct *tty, long timeout);
[all …]
/include/net/nfc/
Dnci_core.h452 struct tty_struct *tty;
/include/linux/sched/
Dsignal.h165 struct tty_struct *tty; /* NULL if no tty */