/arch/ia64/hp/sim/ |
D | simserial.c | 108 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/ |
D | line.h | 59 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 …]
|
D | line.c | 49 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 …]
|
D | stdio_console.c | 95 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()
|
D | ssl.c | 90 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()
|
D | Makefile | 57 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/ |
D | console.c | 56 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/ |
D | srmcons.c | 82 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/ |
D | pdc_cons.c | 98 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/ |
D | nfcon.c | 64 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/ |
D | Makefile | 7 registers.o sigio.o signal.o start_up.o time.o tty.o \ 14 tty.o umid.o util.o
|
/arch/mips/goldfish/ |
D | ranchu.dts | 151 compatible = "generic,goldfish-tty"; 157 compatible = "generic,goldfish-tty"; 163 compatible = "generic,goldfish-tty";
|
/arch/cris/arch-v10/kernel/ |
D | debugport.c | 406 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/ |
D | hvsi.h | 73 struct tty_struct *tty; /* tty structure */ member
|
/arch/arm/configs/ |
D | palmz72_defconfig | 20 CONFIG_CMDLINE="mem=32M console=tty root=/dev/mmcblk0"
|
/arch/um/ |
D | Kconfig.char | 49 bool "tty channel support" 53 (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and
|
/arch/x86/boot/ |
D | Makefile | 35 setup-y += pm.o pmjump.o printf.o regs.o string.o tty.o video.o
|
/arch/ia64/kernel/ |
D | unaligned.c | 1340 tty_write_message(current->signal->tty, buf); in ia64_handle_unaligned()
|
/arch/mn10300/kernel/ |
D | mn10300-serial.c | 703 if (!port->uart.state || !port->uart.state->port.tty) { in mn10300_serial_transmit_interrupt()
|