Home
last modified time | relevance | path

Searched refs:tty (Results 1 – 18 of 18) sorted by relevance

/arch/ia64/hp/sim/
Dsimserial.c108 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char() argument
110 struct serial_state *info = tty->driver_data; in rs_put_char()
127 static void transmit_chars(struct tty_struct *tty, struct serial_state *info, in transmit_chars() argument
145 if (info->xmit.head == info->xmit.tail || tty->stopped) { in transmit_chars()
148 info->xmit.head, info->xmit.tail, tty->stopped); in transmit_chars()
178 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars() argument
180 struct serial_state *info = tty->driver_data; in rs_flush_chars()
182 if (info->xmit.head == info->xmit.tail || tty->stopped || in rs_flush_chars()
186 transmit_chars(tty, info, NULL); in rs_flush_chars()
189 static int rs_write(struct tty_struct * tty, in rs_write() argument
[all …]
/arch/um/drivers/
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);
61 extern int line_install(struct tty_driver *driver, struct tty_struct *tty,
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 int 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);
[all …]
Dline.c49 int line_write_room(struct tty_struct *tty) in line_write_room() argument
51 struct line *line = tty->driver_data; in line_write_room()
62 int line_chars_in_buffer(struct tty_struct *tty) in line_chars_in_buffer() argument
64 struct line *line = tty->driver_data; in line_chars_in_buffer()
167 void line_flush_buffer(struct tty_struct *tty) in line_flush_buffer() argument
169 struct line *line = tty->driver_data; in line_flush_buffer()
181 void line_flush_chars(struct tty_struct *tty) in line_flush_chars() argument
183 line_flush_buffer(tty); in line_flush_chars()
186 int line_put_char(struct tty_struct *tty, unsigned char ch) in line_put_char() argument
188 return line_write(tty, &ch, sizeof(ch)); in line_put_char()
[all …]
Dssl.c90 static int ssl_install(struct tty_driver *driver, struct tty_struct *tty) in ssl_install() argument
92 return line_install(driver, tty, &serial_lines[tty->index]); in ssl_install()
Dstdio_console.c95 static int con_install(struct tty_driver *driver, struct tty_struct *tty) in con_install() argument
97 return line_install(driver, tty, &vts[tty->index]); in con_install()
DMakefile57 obj-$(CONFIG_TTY_CHAN) += tty.o
64 USER_OBJS := fd.o null.o pty.o tty.o xterm.o slip_common.o pcap_user.o vde_user.o
/arch/xtensa/platforms/iss/
Dconsole.c56 static int rs_open(struct tty_struct *tty, struct file * filp) in rs_open() argument
58 tty->port = &serial_port; in rs_open()
60 if (tty->count == 1) { in rs_open()
81 static void rs_close(struct tty_struct *tty, struct file * filp) in rs_close() argument
84 if (tty->count == 1) in rs_close()
90 static int rs_write(struct tty_struct * tty, in rs_write() argument
124 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char() argument
126 return rs_write(tty, &ch, 1); in rs_put_char()
129 static void rs_flush_chars(struct tty_struct *tty) in rs_flush_chars() argument
133 static int rs_write_room(struct tty_struct *tty) in rs_write_room() argument
[all …]
/arch/alpha/kernel/
Dsrmcons.c82 if (port->tty) in srmcons_receive_chars()
132 srmcons_write(struct tty_struct *tty, in srmcons_write() argument
138 srmcons_do_write(tty->port, (const char *) buf, count); in srmcons_write()
145 srmcons_write_room(struct tty_struct *tty) in srmcons_write_room() argument
151 srmcons_chars_in_buffer(struct tty_struct *tty) in srmcons_chars_in_buffer() argument
157 srmcons_open(struct tty_struct *tty, struct file *filp) in srmcons_open() argument
165 if (!port->tty) { in srmcons_open()
166 tty->driver_data = srmconsp; in srmcons_open()
167 tty->port = port; in srmcons_open()
168 port->tty = tty; /* XXX proper refcounting */ in srmcons_open()
[all …]
/arch/parisc/kernel/
Dpdc_cons.c98 static int pdc_console_tty_open(struct tty_struct *tty, struct file *filp) in pdc_console_tty_open() argument
100 tty_port_tty_set(&tty_port, tty); in pdc_console_tty_open()
106 static void pdc_console_tty_close(struct tty_struct *tty, struct file *filp) in pdc_console_tty_close() argument
108 if (tty->count == 1) { in pdc_console_tty_close()
114 static int pdc_console_tty_write(struct tty_struct *tty, const unsigned char *buf, int count) in pdc_console_tty_write() argument
120 static int pdc_console_tty_write_room(struct tty_struct *tty) in pdc_console_tty_write_room() argument
125 static int pdc_console_tty_chars_in_buffer(struct tty_struct *tty) in pdc_console_tty_chars_in_buffer() argument
/arch/m68k/emu/
Dnfcon.c64 static int nfcon_tty_open(struct tty_struct *tty, struct file *filp) in nfcon_tty_open() argument
69 static void nfcon_tty_close(struct tty_struct *tty, struct file *filp) in nfcon_tty_close() argument
73 static int nfcon_tty_write(struct tty_struct *tty, const unsigned char *buf, in nfcon_tty_write() argument
80 static int nfcon_tty_put_char(struct tty_struct *tty, unsigned char ch) in nfcon_tty_put_char() argument
88 static int nfcon_tty_write_room(struct tty_struct *tty) in nfcon_tty_write_room() argument
/arch/um/os-Linux/
DMakefile7 registers.o sigio.o signal.o start_up.o time.o tty.o \
14 tty.o umid.o util.o
/arch/cris/arch-v10/kernel/
Ddebugport.c406 static int dummy_open(struct tty_struct *tty, struct file * filp) in dummy_open() argument
411 static void dummy_close(struct tty_struct *tty, struct file * filp) in dummy_close() argument
415 static int dummy_write(struct tty_struct * tty, in dummy_write() argument
421 static int dummy_write_room(struct tty_struct *tty) in dummy_write_room() argument
/arch/powerpc/include/asm/
Dhvsi.h73 struct tty_struct *tty; /* tty structure */ member
/arch/arm/configs/
Dpalmz72_defconfig20 CONFIG_CMDLINE="mem=32M console=tty root=/dev/mmcblk0"
/arch/um/
DKconfig.char49 bool "tty channel support"
53 (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and
/arch/x86/boot/
DMakefile34 setup-y += pm.o pmjump.o printf.o regs.o string.o tty.o video.o
/arch/ia64/kernel/
Dunaligned.c1340 tty_write_message(current->signal->tty, buf); in ia64_handle_unaligned()
/arch/mn10300/kernel/
Dmn10300-serial.c703 if (!port->uart.state || !port->uart.state->port.tty) { in mn10300_serial_transmit_interrupt()