Searched refs:tty (Results 1 - 25 of 1061) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/char/
H A Dn_tty.c40 #include <linux/tty.h>
77 static inline int tty_put_user(struct tty_struct *tty, unsigned char x, argument
80 tty_audit_add_data(tty, &x, 1);
86 * @tty: terminal
94 static void n_tty_set_room(struct tty_struct *tty) argument
96 /* tty->read_cnt is not read locked ? */
97 int left = N_TTY_BUF_SIZE - tty->read_cnt - 1;
106 left = tty->icanon && !tty->canon_data;
107 tty
110 put_tty_queue_nolock(unsigned char c, struct tty_struct *tty) argument
129 put_tty_queue(unsigned char c, struct tty_struct *tty) argument
150 check_unthrottle(struct tty_struct *tty) argument
167 reset_buffer_flags(struct tty_struct *tty) argument
197 n_tty_flush_buffer(struct tty_struct *tty) argument
224 n_tty_chars_in_buffer(struct tty_struct *tty) argument
263 is_continuation(unsigned char c, struct tty_struct *tty) argument
290 do_output_char(unsigned char c, struct tty_struct *tty, int space) argument
364 process_output(unsigned char c, struct tty_struct *tty) argument
399 process_output_block(struct tty_struct *tty, const unsigned char *buf, unsigned int nr) argument
483 process_echoes(struct tty_struct *tty) argument
655 add_echo_byte(unsigned char c, struct tty_struct *tty) argument
701 echo_move_back_col(struct tty_struct *tty) argument
721 echo_set_canon_col(struct tty_struct *tty) argument
748 echo_erase_tab(unsigned int num_chars, int after_tab, struct tty_struct *tty) argument
781 echo_char_raw(unsigned char c, struct tty_struct *tty) argument
809 echo_char(unsigned char c, struct tty_struct *tty) argument
830 finish_erasing(struct tty_struct *tty) argument
850 eraser(unsigned char c, struct tty_struct *tty) argument
880 echo_char(KILL_CHAR(tty), tty); local
929 echo_char(ERASE_CHAR(tty), tty); local
990 isig(int sig, struct tty_struct *tty, int flush) argument
1010 n_tty_receive_break(struct tty_struct *tty) argument
1039 n_tty_receive_overrun(struct tty_struct *tty) argument
1062 n_tty_receive_parity_error(struct tty_struct *tty, unsigned char c) argument
1088 n_tty_receive_char(struct tty_struct *tty, unsigned char c) argument
1329 n_tty_write_wakeup(struct tty_struct *tty) argument
1348 n_tty_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument
1444 n_tty_set_termios(struct tty_struct *tty, struct ktermios *old) argument
1534 n_tty_close(struct tty_struct *tty) argument
1557 n_tty_open(struct tty_struct *tty) argument
1582 input_available_p(struct tty_struct *tty, int amt) argument
1611 copy_from_read_buf(struct tty_struct *tty, unsigned char __user **b, size_t *nr) argument
1648 job_control(struct tty_struct *tty, struct file *file) argument
1687 n_tty_read(struct tty_struct *tty, struct file *file, unsigned char __user *buf, size_t nr) argument
1903 n_tty_write(struct tty_struct *tty, struct file *file, const unsigned char *buf, size_t nr) argument
1993 n_tty_poll(struct tty_struct *tty, struct file *file, poll_table *wait) argument
2021 inq_canon(struct tty_struct *tty) argument
2040 n_tty_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/char/
H A Dn_tty.c40 #include <linux/tty.h>
77 static inline int tty_put_user(struct tty_struct *tty, unsigned char x, argument
80 tty_audit_add_data(tty, &x, 1);
86 * @tty: terminal
94 static void n_tty_set_room(struct tty_struct *tty) argument
96 /* tty->read_cnt is not read locked ? */
97 int left = N_TTY_BUF_SIZE - tty->read_cnt - 1;
106 left = tty->icanon && !tty->canon_data;
107 tty
110 put_tty_queue_nolock(unsigned char c, struct tty_struct *tty) argument
129 put_tty_queue(unsigned char c, struct tty_struct *tty) argument
150 check_unthrottle(struct tty_struct *tty) argument
167 reset_buffer_flags(struct tty_struct *tty) argument
197 n_tty_flush_buffer(struct tty_struct *tty) argument
224 n_tty_chars_in_buffer(struct tty_struct *tty) argument
263 is_continuation(unsigned char c, struct tty_struct *tty) argument
290 do_output_char(unsigned char c, struct tty_struct *tty, int space) argument
364 process_output(unsigned char c, struct tty_struct *tty) argument
399 process_output_block(struct tty_struct *tty, const unsigned char *buf, unsigned int nr) argument
483 process_echoes(struct tty_struct *tty) argument
655 add_echo_byte(unsigned char c, struct tty_struct *tty) argument
701 echo_move_back_col(struct tty_struct *tty) argument
721 echo_set_canon_col(struct tty_struct *tty) argument
748 echo_erase_tab(unsigned int num_chars, int after_tab, struct tty_struct *tty) argument
781 echo_char_raw(unsigned char c, struct tty_struct *tty) argument
809 echo_char(unsigned char c, struct tty_struct *tty) argument
830 finish_erasing(struct tty_struct *tty) argument
850 eraser(unsigned char c, struct tty_struct *tty) argument
880 echo_char(KILL_CHAR(tty), tty); local
929 echo_char(ERASE_CHAR(tty), tty); local
990 isig(int sig, struct tty_struct *tty, int flush) argument
1010 n_tty_receive_break(struct tty_struct *tty) argument
1039 n_tty_receive_overrun(struct tty_struct *tty) argument
1062 n_tty_receive_parity_error(struct tty_struct *tty, unsigned char c) argument
1088 n_tty_receive_char(struct tty_struct *tty, unsigned char c) argument
1329 n_tty_write_wakeup(struct tty_struct *tty) argument
1348 n_tty_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument
1444 n_tty_set_termios(struct tty_struct *tty, struct ktermios *old) argument
1534 n_tty_close(struct tty_struct *tty) argument
1557 n_tty_open(struct tty_struct *tty) argument
1582 input_available_p(struct tty_struct *tty, int amt) argument
1611 copy_from_read_buf(struct tty_struct *tty, unsigned char __user **b, size_t *nr) argument
1648 job_control(struct tty_struct *tty, struct file *file) argument
1687 n_tty_read(struct tty_struct *tty, struct file *file, unsigned char __user *buf, size_t nr) argument
1903 n_tty_write(struct tty_struct *tty, struct file *file, const unsigned char *buf, size_t nr) argument
1993 n_tty_poll(struct tty_struct *tty, struct file *file, poll_table *wait) argument
2021 inq_canon(struct tty_struct *tty) argument
2040 n_tty_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
[all...]
H A Dtty_buffer.c7 #include <linux/tty.h>
21 * tty_buffer_free_all - free buffers used by a tty
22 * @tty: tty to free from
24 * Remove all the buffers pending on a tty whether queued with data
25 * or in the free ring. Must be called when the tty is no longer in use
30 void tty_buffer_free_all(struct tty_struct *tty) argument
33 while ((thead = tty->buf.head) != NULL) {
34 tty->buf.head = thead->next;
37 while ((thead = tty
57 tty_buffer_alloc(struct tty_struct *tty, size_t size) argument
88 tty_buffer_free(struct tty_struct *tty, struct tty_buffer *b) argument
113 __tty_buffer_flush(struct tty_struct *tty) argument
135 tty_buffer_flush(struct tty_struct *tty) argument
166 tty_buffer_find(struct tty_struct *tty, size_t size) argument
199 tty_buffer_request_room(struct tty_struct *tty, size_t size) argument
246 tty_insert_flip_string_fixed_flag(struct tty_struct *tty, const unsigned char *chars, char flag, size_t size) argument
283 tty_insert_flip_string_flags(struct tty_struct *tty, const unsigned char *chars, const char *flags, size_t size) argument
318 tty_schedule_flip(struct tty_struct *tty) argument
344 tty_prepare_flip_string(struct tty_struct *tty, unsigned char **chars, size_t size) argument
374 tty_prepare_flip_string_flags(struct tty_struct *tty, unsigned char **chars, char **flags, size_t size) argument
404 struct tty_struct *tty = local
482 tty_flush_to_ldisc(struct tty_struct *tty) argument
500 tty_flip_buffer_push(struct tty_struct *tty) argument
525 tty_buffer_init(struct tty_struct *tty) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/linux/
H A Dtty.h5 * 'tty.h' defines some structures used by tty_io.c and some defines.
74 * We default to dicing tty buffer allocations to this many characters
103 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR])
104 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT])
105 #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE])
106 #define KILL_CHAR(tty) ((tty)
219 struct tty_struct *tty; /* Back pointer */ member in struct:tty_port
332 struct tty_struct *tty; member in struct:tty_file_private
388 tty_kref_get(struct tty_struct *tty) argument
544 tty_audit_add_data(struct tty_struct *tty, unsigned char *data, size_t size) argument
548 tty_audit_tiocsti(struct tty_struct *tty, char ch) argument
557 tty_audit_push(struct tty_struct *tty) argument
[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_flags(struct tty_struct *tty, const unsigned char *chars, const char *flags, size_t size);
6 extern int tty_insert_flip_string_fixed_flag(struct tty_struct *tty, const unsigned char *chars, char flag, 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, argument
14 struct tty_buffer *tb = tty->buf.tail;
20 return tty_insert_flip_string_flags(tty, &ch, &flag, 1);
23 static inline int tty_insert_flip_string(struct tty_struct *tty, cons argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/include/linux/
H A Dtty.h5 * 'tty.h' defines some structures used by tty_io.c and some defines.
74 * We default to dicing tty buffer allocations to this many characters
103 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR])
104 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT])
105 #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE])
106 #define KILL_CHAR(tty) ((tty)
219 struct tty_struct *tty; /* Back pointer */ member in struct:tty_port
332 struct tty_struct *tty; member in struct:tty_file_private
388 tty_kref_get(struct tty_struct *tty) argument
544 tty_audit_add_data(struct tty_struct *tty, unsigned char *data, size_t size) argument
548 tty_audit_tiocsti(struct tty_struct *tty, char ch) argument
557 tty_audit_push(struct tty_struct *tty) argument
[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_flags(struct tty_struct *tty, const unsigned char *chars, const char *flags, size_t size);
6 extern int tty_insert_flip_string_fixed_flag(struct tty_struct *tty, const unsigned char *chars, char flag, 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, argument
14 struct tty_buffer *tb = tty->buf.tail;
20 return tty_insert_flip_string_flags(tty, &ch, &flag, 1);
23 static inline int tty_insert_flip_string(struct tty_struct *tty, cons argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/examples/var_service/getty_tty1/
H A Drun12 tty="/dev/${PWD##*/getty_}"
14 if ! test -e "$tty"; then
20 chown "$user" "$tty" # - devfs made happy
22 exec <"$tty" >"$tty" 2>&1
30 getty "$baud" "$tty" "$TERM"
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/examples/var_service/getty_tty1/
H A Drun12 tty="/dev/${PWD##*/getty_}"
14 if ! test -e "$tty"; then
20 chown "$user" "$tty" # - devfs made happy
22 exec <"$tty" >"$tty" 2>&1
30 getty "$baud" "$tty" "$TERM"
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/examples/var_service/getty_tty1/
H A Drun12 tty="/dev/${PWD##*/getty_}"
14 if ! test -e "$tty"; then
20 chown "$user" "$tty" # - devfs made happy
22 exec <"$tty" >"$tty" 2>&1
30 getty "$baud" "$tty" "$TERM"
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/accel-pptp/src/pppd/
H A Dsession.h56 * const char* tty :
67 session_start(const int flags, const char* user, const char* passwd, const char* tty, char** msg);
70 #define session_auth(user, pass, tty, msg) \
71 session_start(SESS_AUTH, user, pass, tty, msg)
73 #define session_check(user, pass, tty, msg) \
74 session_start(SESS_ACCT, user, pass, tty, msg)
76 #define session_full(user, pass, tty, msg) \
77 session_start(SESS_ALL, user, pass, tty, msg)
85 * const char* tty :
89 session_end(const char* tty);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/pppd/pppd/
H A Dsession.h56 * const char* tty :
67 session_start(const int flags, const char* user, const char* passwd, const char* tty, char** msg);
70 #define session_auth(user, pass, tty, msg) \
71 session_start(SESS_AUTH, user, pass, tty, msg)
73 #define session_check(user, pass, tty, msg) \
74 session_start(SESS_ACCT, user, pass, tty, msg)
76 #define session_full(user, pass, tty, msg) \
77 session_start(SESS_ALL, user, pass, tty, msg)
85 * const char* tty :
89 session_end(const char* tty);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/accel-pptp/src/pppd/
H A Dsession.h56 * const char* tty :
67 session_start(const int flags, const char* user, const char* passwd, const char* tty, char** msg);
70 #define session_auth(user, pass, tty, msg) \
71 session_start(SESS_AUTH, user, pass, tty, msg)
73 #define session_check(user, pass, tty, msg) \
74 session_start(SESS_ACCT, user, pass, tty, msg)
76 #define session_full(user, pass, tty, msg) \
77 session_start(SESS_ALL, user, pass, tty, msg)
85 * const char* tty :
89 session_end(const char* tty);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/accel-pptp/src/pppd/
H A Dsession.h56 * const char* tty :
67 session_start(const int flags, const char* user, const char* passwd, const char* tty, char** msg);
70 #define session_auth(user, pass, tty, msg) \
71 session_start(SESS_AUTH, user, pass, tty, msg)
73 #define session_check(user, pass, tty, msg) \
74 session_start(SESS_ACCT, user, pass, tty, msg)
76 #define session_full(user, pass, tty, msg) \
77 session_start(SESS_ALL, user, pass, tty, msg)
85 * const char* tty :
89 session_end(const char* tty);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/busybox/examples/var_service/nmeter/
H A Drun10 tty="/dev/tty9"
14 chown "$user": "$tty" # devfs made happy
19 <"$tty" >"$tty" 2>&1 \
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/s390/char/
H A Dctrlchar.h10 #include <linux/tty.h>
13 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty);
H A Dkeyboard.h9 #include <linux/tty.h>
21 struct tty_struct *tty; member in struct:kbd_data
42 kbd_put_queue(struct tty_struct *tty, int ch) argument
44 tty_insert_flip_char(tty, ch, 0);
45 tty_schedule_flip(tty);
49 kbd_puts_queue(struct tty_struct *tty, char *cp) argument
52 tty_insert_flip_char(tty, *cp++, 0);
53 tty_schedule_flip(tty);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/s390/char/
H A Dctrlchar.h10 #include <linux/tty.h>
13 ctrlchar_handle(const unsigned char *buf, int len, struct tty_struct *tty);
H A Dkeyboard.h9 #include <linux/tty.h>
21 struct tty_struct *tty; member in struct:kbd_data
42 kbd_put_queue(struct tty_struct *tty, int ch) argument
44 tty_insert_flip_char(tty, ch, 0);
45 tty_schedule_flip(tty);
49 kbd_puts_queue(struct tty_struct *tty, char *cp) argument
52 tty_insert_flip_char(tty, *cp++, 0);
53 tty_schedule_flip(tty);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/busybox/examples/var_service/nmeter/
H A Drun10 tty="/dev/tty9"
14 chown "$user": "$tty" # devfs made happy
19 <"$tty" >"$tty" 2>&1 \
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/pppd/pppd/
H A Dsession.h56 * const char* tty :
67 session_start(const int flags, const char* user, const char* passwd, const char* tty, char** msg);
70 #define session_auth(user, pass, tty, msg) \
71 session_start(SESS_AUTH, user, pass, tty, msg)
73 #define session_check(user, pass, tty, msg) \
74 session_start(SESS_ACCT, user, pass, tty, msg)
76 #define session_full(user, pass, tty, msg) \
77 session_start(SESS_ALL, user, pass, tty, msg)
85 * const char* tty :
89 session_end(const char* tty);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/busybox/examples/var_service/nmeter/
H A Drun10 tty="/dev/tty9"
14 chown "$user": "$tty" # devfs made happy
19 <"$tty" >"$tty" 2>&1 \
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/pppd/pppd/
H A Dsession.h56 * const char* tty :
67 session_start(const int flags, const char* user, const char* passwd, const char* tty, char** msg);
70 #define session_auth(user, pass, tty, msg) \
71 session_start(SESS_AUTH, user, pass, tty, msg)
73 #define session_check(user, pass, tty, msg) \
74 session_start(SESS_ACCT, user, pass, tty, msg)
76 #define session_full(user, pass, tty, msg) \
77 session_start(SESS_ALL, user, pass, tty, msg)
85 * const char* tty :
89 session_end(const char* tty);
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/irda/
H A Dirtty-sir.c32 #include <linux/tty.h>
67 return tty_chars_in_buffer(priv->tty);
74 * If the tty sits on top of a 16550A-like uart, there are typically
90 struct tty_struct *tty; local
95 tty = priv->tty;
96 if (tty->ops->wait_until_sent) {
97 tty->ops->wait_until_sent(tty, msecs_to_jiffies(100));
117 struct tty_struct *tty; local
185 struct tty_struct *tty; local
219 irtty_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument
259 irtty_write_wakeup(struct tty_struct *tty) argument
278 irtty_stop_receiver(struct tty_struct *tty, int stop) argument
308 struct tty_struct *tty; local
335 struct tty_struct *tty; local
380 irtty_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
425 irtty_open(struct tty_struct *tty) argument
495 irtty_close(struct tty_struct *tty) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/irda/
H A Dirtty-sir.c32 #include <linux/tty.h>
67 return tty_chars_in_buffer(priv->tty);
74 * If the tty sits on top of a 16550A-like uart, there are typically
90 struct tty_struct *tty; local
95 tty = priv->tty;
96 if (tty->ops->wait_until_sent) {
97 tty->ops->wait_until_sent(tty, msecs_to_jiffies(100));
117 struct tty_struct *tty; local
185 struct tty_struct *tty; local
219 irtty_receive_buf(struct tty_struct *tty, const unsigned char *cp, char *fp, int count) argument
259 irtty_write_wakeup(struct tty_struct *tty) argument
278 irtty_stop_receiver(struct tty_struct *tty, int stop) argument
308 struct tty_struct *tty; local
335 struct tty_struct *tty; local
380 irtty_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) argument
425 irtty_open(struct tty_struct *tty) argument
495 irtty_close(struct tty_struct *tty) argument
[all...]

Completed in 254 milliseconds

1234567891011>>