Searched refs:tty_struct (Results 1 - 25 of 221) sorted by relevance

123456789

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dtty_driver.h10 * int (*open)(struct tty_struct * tty, struct file * filp);
16 * void (*close)(struct tty_struct * tty, struct file * filp);
20 * int (*write)(struct tty_struct * tty,
29 * void (*put_char)(struct tty_struct *tty, unsigned char ch);
37 * void (*flush_chars)(struct tty_struct *tty);
42 * int (*write_room)(struct tty_struct *tty);
49 * int (*ioctl)(struct tty_struct *tty, struct file * file,
56 * long (*compat_ioctl)(struct tty_struct *tty, struct file * file,
61 * void (*set_termios)(struct tty_struct *tty, struct ktermios * old);
68 * void (*set_ldisc)(struct tty_struct *tt
[all...]
H A Ddevpts_fs.h20 int devpts_pty_new(struct tty_struct *tty); /* mknod in devpts */
21 struct tty_struct *devpts_get_tty(int number); /* get tty structure */
27 static inline int devpts_pty_new(struct tty_struct *tty) { return -EINVAL; }
28 static inline struct tty_struct *devpts_get_tty(int number) { return NULL; }
H A Dtty_ldisc.h10 * int (*open)(struct tty_struct *);
16 * void (*close)(struct tty_struct *);
22 * void (*flush_buffer)(struct tty_struct *tty);
28 * ssize_t (*chars_in_buffer)(struct tty_struct *tty);
34 * ssize_t (*read)(struct tty_struct * tty, struct file * file,
42 * ssize_t (*write)(struct tty_struct * tty, struct file * file,
51 * int (*ioctl)(struct tty_struct * tty, struct file * file,
62 * long (*compat_ioctl)(struct tty_struct * tty, struct file * file,
67 * void (*set_termios)(struct tty_struct *tty, struct ktermios * old);
72 * int (*poll)(struct tty_struct * tt
[all...]
H A Dtty_flip.h4 extern int tty_buffer_request_room(struct tty_struct *tty, size_t size);
5 extern int tty_insert_flip_string(struct tty_struct *tty, const unsigned char *chars, size_t size);
6 extern int tty_insert_flip_string_flags(struct tty_struct *tty, const unsigned char *chars, const char *flags, size_t size);
7 extern int tty_prepare_flip_string(struct tty_struct *tty, unsigned char **chars, size_t size);
8 extern int tty_prepare_flip_string_flags(struct tty_struct *tty, unsigned char **chars, char **flags, size_t size);
9 void tty_schedule_flip(struct tty_struct *tty);
11 static inline int tty_insert_flip_char(struct tty_struct *tty,
H A Dgeneric_serial.h46 struct tty_struct *tty;
81 void gs_put_char(struct tty_struct *tty, unsigned char ch);
82 int gs_write(struct tty_struct *tty,
84 int gs_write_room(struct tty_struct *tty);
85 int gs_chars_in_buffer(struct tty_struct *tty);
86 void gs_flush_buffer(struct tty_struct *tty);
87 void gs_flush_chars(struct tty_struct *tty);
88 void gs_stop(struct tty_struct *tty);
89 void gs_start(struct tty_struct *tty);
90 void gs_hangup(struct tty_struct *tt
[all...]
H A Dsysrq.h18 struct tty_struct;
32 void (*handler)(int, struct tty_struct *);
52 void handle_sysrq(int key, struct tty_struct *tty);
53 void __handle_sysrq(int key, struct tty_struct *tty, int check_mask);
68 static inline void handle_sysrq(int key, struct tty_struct *tty)
H A Dselection.h16 extern int set_selection(const struct tiocl_selection __user *sel, struct tty_struct *tty);
17 extern int paste_selection(struct tty_struct *tty);
20 extern void mouse_report(struct tty_struct * tty, int butt, int mrx, int mry);
H A Dtty.h192 struct tty_struct { struct
210 struct tty_struct *link;
279 extern void tty_write_flush(struct tty_struct *);
288 extern int tty_paranoia_check(struct tty_struct *tty, struct inode *inode,
290 extern char *tty_name(struct tty_struct *tty, char *buf);
291 extern void tty_wait_until_sent(struct tty_struct * tty, long timeout);
292 extern int tty_check_change(struct tty_struct * tty);
293 extern void stop_tty(struct tty_struct * tty);
294 extern void start_tty(struct tty_struct * tty);
302 extern int tty_read_raw_data(struct tty_struct *tt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/um/include/
H A Dline.h34 struct tty_struct *tty;
63 extern void line_close(struct tty_struct *tty, struct file * filp);
64 extern int line_open(struct line *lines, struct tty_struct *tty);
67 extern int line_write(struct tty_struct *tty, const unsigned char *buf,
69 extern void line_put_char(struct tty_struct *tty, unsigned char ch);
70 extern void line_set_termios(struct tty_struct *tty, struct ktermios * old);
71 extern int line_chars_in_buffer(struct tty_struct *tty);
72 extern void line_flush_buffer(struct tty_struct *tty);
73 extern void line_flush_chars(struct tty_struct *tty);
74 extern int line_write_room(struct tty_struct *tt
[all...]
H A Dchan_user.h45 struct tty_struct;
46 extern void register_winch(int fd, struct tty_struct *tty);
47 extern void register_winch_irq(int fd, int tty_fd, int pid, struct tty_struct *tty);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/s390/char/
H A Dctrlchar.h13 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty);
H A Dkeyboard.h21 struct tty_struct *tty;
42 kbd_put_queue(struct tty_struct *tty, int ch)
49 kbd_puts_queue(struct tty_struct *tty, char *cp)
H A Dctrlchar.c19 static struct tty_struct *sysrq_tty;
43 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/irda/
H A Dircomm_tty.h37 #include <linux/tty.h> /* struct tty_struct */
69 struct tty_struct *tty;
120 void ircomm_tty_start(struct tty_struct *tty);
123 extern int ircomm_tty_tiocmget(struct tty_struct *tty, struct file *file);
124 extern int ircomm_tty_tiocmset(struct tty_struct *tty, struct file *file,
126 extern int ircomm_tty_ioctl(struct tty_struct *tty, struct file *file,
128 extern void ircomm_tty_set_termios(struct tty_struct *tty,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/ip2/
H A Dip2types.h39 typedef struct tty_struct * PTTY;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/irda/
H A Dirtty-sir.h29 struct tty_struct *tty;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/
H A Dsysrq.c73 static void sysrq_handle_loglevel(int key, struct tty_struct *tty)
89 static void sysrq_handle_SAK(int key, struct tty_struct *tty)
105 static void sysrq_handle_unraw(int key, struct tty_struct *tty)
123 static void sysrq_handle_crashdump(int key, struct tty_struct *tty)
137 static void sysrq_handle_reboot(int key, struct tty_struct *tty)
150 static void sysrq_handle_sync(int key, struct tty_struct *tty)
161 static void sysrq_handle_show_timers(int key, struct tty_struct *tty)
172 static void sysrq_handle_mountro(int key, struct tty_struct *tty)
184 static void sysrq_handle_showlocks(int key, struct tty_struct *tty)
198 static void sysrq_handle_showregs(int key, struct tty_struct *tt
[all...]
H A Dpty.c38 static void pty_close(struct tty_struct * tty, struct file * filp)
78 static void pty_unthrottle(struct tty_struct * tty)
80 struct tty_struct *o_tty = tty->link;
89 static int pty_write(struct tty_struct * tty, const unsigned char *buf, int count)
91 struct tty_struct *to = tty->link;
105 static int pty_write_room(struct tty_struct *tty)
107 struct tty_struct *to = tty->link;
132 static int pty_chars_in_buffer(struct tty_struct *tty)
134 struct tty_struct *to = tty->link;
155 static int pty_set_lock(struct tty_struct *tt
[all...]
H A Dtty_io.c14 * tty_struct and tty_queue structures. Previously there was an array
15 * of 256 tty_struct's which was statically allocated, and the
144 static void initialize_tty_struct(struct tty_struct *tty);
161 static void release_tty(struct tty_struct *tty, int idx);
162 static void __proc_set_tty(struct task_struct *tsk, struct tty_struct *tty);
163 static void proc_set_tty(struct task_struct *tsk, struct tty_struct *tty);
174 static struct tty_struct *alloc_tty_struct(void)
176 return kzalloc(sizeof(struct tty_struct), GFP_KERNEL);
179 static void tty_buffer_free_all(struct tty_struct *);
190 static inline void free_tty_struct(struct tty_struct *tt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/include/linux/
H A Dif_pppvar.h118 struct tty_struct *tty; /* ptr to TTY structure */
119 struct tty_struct *backup_tty; /* TTY to use if tty gets closed */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/v850/kernel/
H A Dmemcons.c88 int memcons_tty_open (struct tty_struct *tty, struct file *filp)
93 int memcons_tty_write (struct tty_struct *tty, const unsigned char *buf, int len)
98 int memcons_tty_write_room (struct tty_struct *tty)
103 int memcons_tty_chars_in_buffer (struct tty_struct *tty)
H A Dsimcons.c59 int simcons_tty_open (struct tty_struct *tty, struct file *filp)
64 int simcons_tty_write (struct tty_struct *tty,
70 int simcons_tty_write_room (struct tty_struct *tty)
76 int simcons_tty_chars_in_buffer (struct tty_struct *tty)
114 void simcons_poll_tty (struct tty_struct *tty)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/xtensa/platform-iss/
H A Dconsole.c69 static int rs_open(struct tty_struct *tty, struct file * filp)
100 static void rs_close(struct tty_struct *tty, struct file * filp)
109 static int rs_write(struct tty_struct * tty,
120 struct tty_struct* tty = (struct tty_struct*) priv;
143 static void rs_put_char(struct tty_struct *tty, unsigned char ch)
155 static void rs_flush_chars(struct tty_struct *tty)
159 static int rs_write_room(struct tty_struct *tty)
165 static int rs_chars_in_buffer(struct tty_struct *tty)
171 static void rs_hangup(struct tty_struct *tt
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/rio/
H A Dfunc.h115 int riotopen(struct tty_struct *tty, struct file *filp);
117 int riotioctl(struct rio_info *, struct tty_struct *, int, caddr_t);
130 extern int rio_minor(struct tty_struct *tty);
131 extern int rio_ismodem(struct tty_struct *tty);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/
H A Dx25_asy.h22 struct tty_struct *tty; /* ptr to TTY structure */

Completed in 118 milliseconds

123456789