Home
last modified time | relevance | path

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

1234567

/linux-2.4.37.9/include/linux/
Dtty.h165 #define INTR_CHAR(tty) ((tty)->termios->c_cc[VINTR]) argument
166 #define QUIT_CHAR(tty) ((tty)->termios->c_cc[VQUIT]) argument
167 #define ERASE_CHAR(tty) ((tty)->termios->c_cc[VERASE]) argument
168 #define KILL_CHAR(tty) ((tty)->termios->c_cc[VKILL]) argument
169 #define EOF_CHAR(tty) ((tty)->termios->c_cc[VEOF]) argument
170 #define TIME_CHAR(tty) ((tty)->termios->c_cc[VTIME]) argument
171 #define MIN_CHAR(tty) ((tty)->termios->c_cc[VMIN]) argument
172 #define SWTC_CHAR(tty) ((tty)->termios->c_cc[VSWTC]) argument
173 #define START_CHAR(tty) ((tty)->termios->c_cc[VSTART]) argument
174 #define STOP_CHAR(tty) ((tty)->termios->c_cc[VSTOP]) argument
[all …]
/linux-2.4.37.9/drivers/char/
Dn_tty.c94 static inline void put_tty_queue_nolock(unsigned char c, struct tty_struct *tty) in put_tty_queue_nolock()
103 static inline void put_tty_queue(unsigned char c, struct tty_struct *tty) in put_tty_queue()
127 static void check_unthrottle(struct tty_struct * tty) in check_unthrottle()
143 static void reset_buffer_flags(struct tty_struct *tty) in reset_buffer_flags()
168 void n_tty_flush_buffer(struct tty_struct * tty) in n_tty_flush_buffer()
190 ssize_t n_tty_chars_in_buffer(struct tty_struct *tty) in n_tty_chars_in_buffer()
211 static int opost(unsigned char c, struct tty_struct *tty) in opost()
284 static ssize_t opost_block(struct tty_struct * tty, in opost_block()
346 static inline void put_char(unsigned char c, struct tty_struct *tty) in put_char()
353 static void echo_char(unsigned char c, struct tty_struct *tty) in echo_char()
[all …]
Dpdc_console.c113 pdc_stop(struct tty_struct *tty) in pdc_stop()
118 pdc_start(struct tty_struct *tty) in pdc_start()
146 struct tty_struct *tty = info->tty; in receive_chars() local
191 pdc_put_char(struct tty_struct *tty, unsigned char ch) in pdc_put_char()
200 pdc_flush_chars(struct tty_struct *tty) in pdc_flush_chars()
212 pdc_write(struct tty_struct *tty, int from_user, in pdc_write()
251 pdc_write_room(struct tty_struct *tty) in pdc_write_room()
260 pdc_chars_in_buffer(struct tty_struct *tty) in pdc_chars_in_buffer()
269 pdc_flush_buffer(struct tty_struct *tty) in pdc_flush_buffer()
281 pdc_send_xchar(struct tty_struct *tty, char ch) in pdc_send_xchar()
[all …]
Dtty_io.c177 struct tty_struct *tty; in alloc_tty_struct() local
185 static inline void free_tty_struct(struct tty_struct *tty) in free_tty_struct()
194 _tty_make_name(struct tty_struct *tty, const char *name, char *buf) in _tty_make_name()
207 #define TTY_NUMBER(tty) (MINOR((tty)->device) - (tty)->driver.minor_start + \ argument
210 char *tty_name(struct tty_struct *tty, char *buf) in tty_name()
215 inline int tty_paranoia_check(struct tty_struct *tty, kdev_t device, in tty_paranoia_check()
236 static int check_tty_count(struct tty_struct *tty, const char *routine) in check_tty_count()
268 static void tty_set_termios_ldisc(struct tty_struct *tty, int num) in tty_set_termios_ldisc()
355 void tty_ldisc_assign(struct tty_struct *tty, struct tty_ldisc *ld) in tty_ldisc_assign()
371 static int tty_ldisc_try(struct tty_struct *tty) in tty_ldisc_try()
[all …]
Dtty_ioctl.c39 void tty_wait_until_sent(struct tty_struct * tty, long timeout) in tty_wait_until_sent()
95 static void change_termios(struct tty_struct * tty, struct termios * new_termios) in change_termios()
153 static int set_termios(struct tty_struct * tty, unsigned long arg, int opt) in set_termios()
191 static int get_termio(struct tty_struct * tty, struct termio * termio) in get_termio()
198 static unsigned long inq_canon(struct tty_struct * tty) in inq_canon()
223 static int get_sgflags(struct tty_struct * tty) in get_sgflags()
241 static int get_sgttyb(struct tty_struct * tty, struct sgttyb * sgttyb) in get_sgttyb()
283 static int set_sgttyb(struct tty_struct * tty, struct sgttyb * sgttyb) in set_sgttyb()
306 static int get_tchars(struct tty_struct * tty, struct tchars * tchars) in get_tchars()
319 static int set_tchars(struct tty_struct * tty, struct tchars * tchars) in set_tchars()
[all …]
Dserial_21285.c53 static int rs285_write_room(struct tty_struct *tty) in rs285_write_room()
79 static void rs285_send_xchar(struct tty_struct *tty, char ch) in rs285_send_xchar()
85 static void rs285_throttle(struct tty_struct *tty) in rs285_throttle()
91 static void rs285_unthrottle(struct tty_struct *tty) in rs285_unthrottle()
132 static int rs285_write(struct tty_struct *tty, int from_user, in rs285_write()
152 static void rs285_put_char(struct tty_struct *tty, u_char ch) in rs285_put_char()
157 static int rs285_chars_in_buffer(struct tty_struct *tty) in rs285_chars_in_buffer()
162 static void rs285_flush_buffer(struct tty_struct *tty) in rs285_flush_buffer()
230 static void rs285_set_termios(struct tty_struct *tty, struct termios *old) in rs285_set_termios()
238 static void rs285_stop(struct tty_struct *tty) in rs285_stop()
[all …]
Dpty.c71 static void pty_close(struct tty_struct * tty, struct file * filp) in pty_close()
117 static void pty_unthrottle(struct tty_struct * tty) in pty_unthrottle()
142 static int pty_write(struct tty_struct * tty, int from_user, in pty_write()
191 static int pty_write_room(struct tty_struct *tty) in pty_write_room()
218 static int pty_chars_in_buffer(struct tty_struct *tty) in pty_chars_in_buffer()
247 static int pty_get_device_number(struct tty_struct *tty, unsigned int *value) in pty_get_device_number()
256 static int pty_set_lock(struct tty_struct *tty, int * arg) in pty_set_lock()
268 static int pty_bsd_ioctl(struct tty_struct *tty, struct file *file, in pty_bsd_ioctl()
283 static int pty_unix98_ioctl(struct tty_struct *tty, struct file *file, in pty_unix98_ioctl()
299 static void pty_flush_buffer(struct tty_struct *tty) in pty_flush_buffer()
[all …]
Dgeneric_serial.c62 void gs_put_char(struct tty_struct * tty, unsigned char ch) in gs_put_char()
104 int gs_write(struct tty_struct * tty, int from_user, in gs_write()
184 int gs_write(struct tty_struct * tty, int from_user, in gs_write()
312 int gs_write_room(struct tty_struct * tty) in gs_write_room()
326 int gs_chars_in_buffer(struct tty_struct *tty) in gs_chars_in_buffer()
336 int gs_real_chars_in_buffer(struct tty_struct *tty) in gs_real_chars_in_buffer()
424 void gs_flush_buffer(struct tty_struct *tty) in gs_flush_buffer()
447 void gs_flush_chars(struct tty_struct * tty) in gs_flush_chars()
472 void gs_stop(struct tty_struct * tty) in gs_stop()
494 void gs_start(struct tty_struct * tty) in gs_start()
[all …]
Ddz.c119 static void dz_stop(struct tty_struct *tty) in dz_stop()
136 static void dz_start(struct tty_struct *tty) in dz_start()
195 struct tty_struct *tty = 0; in receive_chars() local
399 struct tty_struct *tty = info->tty; in do_softint() local
422 struct tty_struct *tty = info->tty;; in do_serial_hangup() local
654 static void dz_flush_chars(struct tty_struct *tty) in dz_flush_chars()
678 static int dz_write(struct tty_struct *tty, int from_user, const unsigned char *buf, int count) in dz_write()
765 static int dz_write_room(struct tty_struct *tty) in dz_write_room()
783 static int dz_chars_in_buffer(struct tty_struct *tty) in dz_chars_in_buffer()
797 static void dz_flush_buffer(struct tty_struct *tty) in dz_flush_buffer()
[all …]
Dsysrq.c46 struct kbd_struct *kbd, struct tty_struct *tty) { in sysrq_handle_loglevel()
63 struct kbd_struct *kbd, struct tty_struct *tty) { in sysrq_handle_SAK()
78 struct kbd_struct *kbd, struct tty_struct *tty) { in sysrq_handle_unraw()
91 struct kbd_struct *kbd, struct tty_struct *tty) { in sysrq_handle_reboot()
221 struct kbd_struct *kbd, struct tty_struct *tty) { in sysrq_handle_sync()
232 struct kbd_struct *kbd, struct tty_struct *tty) { in sysrq_handle_mountro()
248 struct kbd_struct *kbd, struct tty_struct *tty) { in sysrq_handle_showregs()
260 struct kbd_struct *kbd, struct tty_struct *tty) { in sysrq_handle_showstate()
271 struct kbd_struct *kbd, struct tty_struct *tty) { in sysrq_handle_showmem()
299 struct kbd_struct *kbd, struct tty_struct *tty) { in sysrq_handle_term()
[all …]
Disicom.c375 struct tty_struct * tty; in isicom_tx() local
501 struct tty_struct * tty = port->tty; in isicom_bottomhalf() local
514 struct tty_struct * tty; in isicom_interrupt() local
710 struct tty_struct * tty; in isicom_config_port() local
888 static int block_til_ready(struct tty_struct * tty, struct file * filp, struct isi_port * port) in block_til_ready()
1011 static int isicom_open(struct tty_struct * tty, struct file * filp) in isicom_open()
1110 struct tty_struct * tty; in isicom_shutdown_port() local
1139 static void isicom_close(struct tty_struct * tty, struct file * filp) in isicom_close()
1223 static int isicom_write(struct tty_struct * tty, int from_user, in isicom_write()
1288 static void isicom_put_char(struct tty_struct * tty, unsigned char ch) in isicom_put_char()
[all …]
Dsb1250_duart.c93 struct tty_struct *tty; member
175 struct tty_struct *tty = us->tty; in transmit_char_pio() local
227 struct tty_struct *tty = us->tty; in duart_int() local
271 static int duart_write_room(struct tty_struct *tty) in duart_write_room()
301 static int duart_write(struct tty_struct * tty, int from_user, in duart_write()
360 static void duart_put_char(struct tty_struct *tty, u_char ch) in duart_put_char()
383 static void duart_flush_chars(struct tty_struct * tty) in duart_flush_chars()
403 static int duart_chars_in_buffer(struct tty_struct *tty) in duart_chars_in_buffer()
418 static void duart_flush_buffer(struct tty_struct *tty) in duart_flush_buffer()
489 static void duart_set_termios(struct tty_struct *tty, struct termios *old) in duart_set_termios()
[all …]
Driscom8.c376 struct tty_struct *tty; in rc_receive_exc() local
441 struct tty_struct *tty; in rc_receive() local
472 struct tty_struct *tty; in rc_transmit() local
541 struct tty_struct *tty; in rc_check_modem() local
704 struct tty_struct *tty; in rc_change_speed() local
908 struct tty_struct *tty; in rc_shutdown_port() local
969 static int block_til_ready(struct tty_struct *tty, struct file * filp, in block_til_ready()
1084 static int rc_open(struct tty_struct * tty, struct file * filp) in rc_open()
1130 static void rc_close(struct tty_struct * tty, struct file * filp) in rc_close()
1220 static int rc_write(struct tty_struct * tty, int from_user, in rc_write()
[all …]
Dpcxx.c255 static inline struct channel *chan(register struct tty_struct *tty) in chan()
338 static int pcxx_waitcarrier(struct tty_struct *tty,struct file *filp,struct channel *info) in pcxx_waitcarrier()
399 int pcxe_open(struct tty_struct *tty, struct file * filp) in pcxe_open()
539 struct tty_struct *tty; in shutdown() local
568 static void pcxe_close(struct tty_struct * tty, struct file * filp) in pcxe_close()
643 void pcxe_hangup(struct tty_struct *tty) in pcxe_hangup()
664 static int pcxe_write(struct tty_struct * tty, int from_user, const unsigned char *buf, int count) in pcxe_write()
759 static void pcxe_put_char(struct tty_struct *tty, unsigned char c) in pcxe_put_char()
766 static int pcxe_write_room(struct tty_struct *tty) in pcxe_write_room()
803 static int pcxe_chars_in_buffer(struct tty_struct *tty) in pcxe_chars_in_buffer()
[all …]
Dau1000_usbtty.c91 struct tty_struct *tty; /* the coresponding tty for this port */ member
293 static int serial_open(struct tty_struct *tty, struct file *filp) in serial_open()
345 static void serial_close(struct tty_struct *tty, struct file *filp) in serial_close()
372 static int serial_write(struct tty_struct *tty, int from_user, in serial_write()
426 static int serial_write_room(struct tty_struct *tty) in serial_write_room()
452 static int serial_chars_in_buffer(struct tty_struct *tty) in serial_chars_in_buffer()
478 static void serial_throttle(struct tty_struct *tty) in serial_throttle()
493 static void serial_unthrottle(struct tty_struct *tty) in serial_unthrottle()
508 static int serial_ioctl(struct tty_struct *tty, struct file *file, in serial_ioctl()
525 static void serial_set_termios(struct tty_struct *tty, struct termios *old) in serial_set_termios()
[all …]
Dspecialix.c158 #define SX_CRTSCTS(tty) C_CRTSCTS(tty) argument
641 struct tty_struct *tty; in sx_receive_exc() local
707 struct tty_struct *tty; in sx_receive() local
738 struct tty_struct *tty; in sx_transmit() local
808 struct tty_struct *tty; in sx_check_modem() local
1013 struct tty_struct *tty; in sx_change_speed() local
1268 struct tty_struct *tty; in sx_shutdown_port() local
1328 static int block_til_ready(struct tty_struct *tty, struct file * filp, in block_til_ready()
1450 static int sx_open(struct tty_struct * tty, struct file * filp) in sx_open()
1503 static void sx_close(struct tty_struct * tty, struct file * filp) in sx_close()
[all …]
/linux-2.4.37.9/drivers/s390/char/
Dhwc_tty.c33 struct tty_struct *tty; member
58 hwc_tty_open (struct tty_struct *tty, in hwc_tty_open()
78 hwc_tty_close (struct tty_struct *tty, in hwc_tty_close()
95 hwc_tty_write_room (struct tty_struct *tty) in hwc_tty_write_room()
104 hwc_tty_write (struct tty_struct *tty, in hwc_tty_write()
120 hwc_tty_put_char (struct tty_struct *tty, in hwc_tty_put_char()
136 hwc_tty_flush_chars (struct tty_struct *tty) in hwc_tty_flush_chars()
147 hwc_tty_chars_in_buffer (struct tty_struct *tty) in hwc_tty_chars_in_buffer()
156 hwc_tty_flush_buffer (struct tty_struct *tty) in hwc_tty_flush_buffer()
163 struct tty_struct *tty, in hwc_tty_ioctl()
[all …]
Dtubtty.c179 tty3270_open(struct tty_struct *tty, struct file *filp) in tty3270_open()
237 tty3270_close(struct tty_struct *tty, struct file *filp) in tty3270_close()
259 tty3270_write(struct tty_struct *tty, int fromuser, in tty3270_write()
287 tty3270_put_char(struct tty_struct *tty, unsigned char ch) in tty3270_put_char()
309 tty3270_flush_chars(struct tty_struct *tty) in tty3270_flush_chars()
323 tty3270_write_room(struct tty_struct *tty) in tty3270_write_room()
336 tty3270_chars_in_buffer(struct tty_struct *tty) in tty3270_chars_in_buffer()
349 tty3270_ioctl(struct tty_struct *tty, struct file *file, in tty3270_ioctl()
402 tty3270_set_termios(struct tty_struct *tty, struct termios *old) in tty3270_set_termios()
427 tty3270_flush_buffer(struct tty_struct *tty) in tty3270_flush_buffer()
[all …]
/linux-2.4.37.9/drivers/net/wan/8253x/
D8253xsyn.c39 struct tty_struct *tty = (struct tty_struct *) private_; in sab8253x_flush_to_ldiscS() local
76 void sab8253x_flush_charsS(struct tty_struct *tty) in sab8253x_flush_charsS()
102 void sab8253x_stopS(struct tty_struct *tty) in sab8253x_stopS()
114 void sab8253x_startS(struct tty_struct *tty) in sab8253x_startS()
129 struct tty_struct *tty = port->tty; in sab8253x_receive_charsS() local
261 struct tty_struct *tty = port->tty; in sab8253x_check_statusS() local
554 void sab8253x_set_termiosS(struct tty_struct *tty, in sab8253x_set_termiosS()
766 int sab8253x_writeS(struct tty_struct * tty, int from_user, in sab8253x_writeS()
893 void sab8253x_throttleS(struct tty_struct * tty) in sab8253x_throttleS()
913 void sab8253x_unthrottleS(struct tty_struct * tty) in sab8253x_unthrottleS()
[all …]
D8253xtty.c77 struct tty_struct *tty = (struct tty_struct *) private_; in sab8253x_flush_to_ldisc() local
140 struct tty_struct *tty = port->tty; in sab8253x_start_tx() local
320 static void sab8253x_stop(struct tty_struct *tty) in sab8253x_stop()
341 static void sab8253x_start(struct tty_struct *tty) in sab8253x_start()
363 struct tty_struct *tty = port->tty; in sab8253x_receive_chars() local
489 struct tty_struct *tty = port->tty; in sab8253x_check_status() local
683 struct tty_struct *tty; in sab8253x_do_softint() local
715 struct tty_struct *tty; in sab8253x_do_serial_hangup() local
1214 static void sab8253x_flush_chars(struct tty_struct *tty) in sab8253x_flush_chars()
1231 static int sab8253x_write(struct tty_struct * tty, int from_user, in sab8253x_write()
[all …]
/linux-2.4.37.9/net/irda/ircomm/
Dircomm_tty.c251 struct tty_struct *tty; in ircomm_tty_block_til_ready() local
387 static int ircomm_tty_open(struct tty_struct *tty, struct file *filp) in ircomm_tty_open()
505 static void ircomm_tty_close(struct tty_struct *tty, struct file *filp) in ircomm_tty_close()
596 static void ircomm_tty_flush_buffer(struct tty_struct *tty) in ircomm_tty_flush_buffer()
621 struct tty_struct *tty; in ircomm_tty_do_softint() local
675 static int ircomm_tty_write(struct tty_struct *tty, int from_user, in ircomm_tty_write()
808 static int ircomm_tty_write_room(struct tty_struct *tty) in ircomm_tty_write_room()
849 static void ircomm_tty_wait_until_sent(struct tty_struct *tty, int timeout) in ircomm_tty_wait_until_sent()
882 static void ircomm_tty_throttle(struct tty_struct *tty) in ircomm_tty_throttle()
913 static void ircomm_tty_unthrottle(struct tty_struct *tty) in ircomm_tty_unthrottle()
[all …]
/linux-2.4.37.9/arch/ia64/drivers/
Dsimserial.c123 static void rs_stop(struct tty_struct *tty) in rs_stop()
132 static void rs_start(struct tty_struct *tty) in rs_start()
140 static void receive_chars(struct tty_struct *tty, struct pt_regs *regs) in receive_chars()
220 static void rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char()
288 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars()
300 static int rs_write(struct tty_struct * tty, int from_user, in rs_write()
367 static int rs_write_room(struct tty_struct *tty) in rs_write_room()
374 static int rs_chars_in_buffer(struct tty_struct *tty) in rs_chars_in_buffer()
381 static void rs_flush_buffer(struct tty_struct *tty) in rs_flush_buffer()
401 static void rs_send_xchar(struct tty_struct *tty, char ch) in rs_send_xchar()
[all …]
/linux-2.4.37.9/drivers/bluetooth/
Dhci_ldisc.c129 struct tty_struct *tty = hu->tty; in hci_uart_tx_wakeup() local
183 struct tty_struct *tty = hu->tty; in hci_uart_flush() local
218 struct tty_struct *tty; in hci_uart_send_frame() local
264 static int hci_uart_tty_open(struct tty_struct *tty) in hci_uart_tty_open()
301 static void hci_uart_tty_close(struct tty_struct *tty) in hci_uart_tty_close()
333 static void hci_uart_tty_wakeup(struct tty_struct *tty) in hci_uart_tty_wakeup()
360 static int hci_uart_tty_room (struct tty_struct *tty) in hci_uart_tty_room()
377 static void hci_uart_tty_receive(struct tty_struct *tty, const __u8 *data, char *flags, int count) in hci_uart_tty_receive()
458 static int hci_uart_tty_ioctl(struct tty_struct *tty, struct file * file, in hci_uart_tty_ioctl()
499 static ssize_t hci_uart_tty_read(struct tty_struct *tty, struct file *file, unsigned char *buf, siz… in hci_uart_tty_read()
[all …]
/linux-2.4.37.9/drivers/char/joystick/
Dserport.c43 struct tty_struct *tty; member
75 static int serport_ldisc_open(struct tty_struct *tty) in serport_ldisc_open()
106 static void serport_ldisc_close(struct tty_struct *tty) in serport_ldisc_close()
119 static void serport_ldisc_receive(struct tty_struct *tty, const unsigned char *cp, char *fp, int co… in serport_ldisc_receive()
134 static int serport_ldisc_room(struct tty_struct *tty) in serport_ldisc_room()
145 static ssize_t serport_ldisc_read(struct tty_struct * tty, struct file * file, unsigned char * buf,… in serport_ldisc_read()
178 static int serport_ldisc_ioctl(struct tty_struct * tty, struct file * file, unsigned int cmd, unsig… in serport_ldisc_ioctl()
/linux-2.4.37.9/drivers/sbus/char/
Daurora.c469 struct tty_struct *tty; in aurora_receive_exc() local
534 struct tty_struct *tty; in aurora_receive() local
567 struct tty_struct *tty; in aurora_transmit() local
654 struct tty_struct *tty; in aurora_check_modem() local
1013 struct tty_struct *tty; in aurora_change_speed() local
1238 struct tty_struct *tty; in aurora_shutdown_port() local
1313 static int block_til_ready(struct tty_struct *tty, struct file * filp, in block_til_ready()
1419 static int aurora_open(struct tty_struct * tty, struct file * filp) in aurora_open()
1483 static void aurora_close(struct tty_struct * tty, struct file * filp) in aurora_close()
1596 static int aurora_write(struct tty_struct * tty, int from_user, in aurora_write()
[all …]

1234567