/arch/ia64/hp/sim/ |
D | simserial.c | 56 static void receive_chars(struct tty_struct *tty) in receive_chars() argument 84 if (tty_insert_flip_char(tty, ch, TTY_NORMAL) == 0) in receive_chars() 87 tty_flip_buffer_push(tty); in receive_chars() 96 struct tty_struct *tty = tty_port_tty_get(&info->port); in rs_interrupt_single() local 98 if (!tty) { in rs_interrupt_single() 106 receive_chars(tty); in rs_interrupt_single() 107 tty_kref_put(tty); in rs_interrupt_single() 117 static int rs_put_char(struct tty_struct *tty, unsigned char ch) in rs_put_char() argument 119 struct serial_state *info = tty->driver_data; in rs_put_char() 136 static void transmit_chars(struct tty_struct *tty, struct serial_state *info, in transmit_chars() argument [all …]
|
/arch/um/drivers/ |
D | line.h | 35 struct tty_struct *tty; member 61 extern void line_close(struct tty_struct *tty, struct file * filp); 62 extern int line_open(struct line *lines, struct tty_struct *tty); 65 extern int line_write(struct tty_struct *tty, const unsigned char *buf, 67 extern int line_put_char(struct tty_struct *tty, unsigned char ch); 68 extern void line_set_termios(struct tty_struct *tty, struct ktermios * old); 69 extern int line_chars_in_buffer(struct tty_struct *tty); 70 extern void line_flush_buffer(struct tty_struct *tty); 71 extern void line_flush_chars(struct tty_struct *tty); 72 extern int line_write_room(struct tty_struct *tty); [all …]
|
D | line.c | 24 chan_interrupt(line, line->tty, irq); in line_interrupt() 48 int line_write_room(struct tty_struct *tty) in line_write_room() argument 50 struct line *line = tty->driver_data; in line_write_room() 61 int line_chars_in_buffer(struct tty_struct *tty) in line_chars_in_buffer() argument 63 struct line *line = tty->driver_data; in line_chars_in_buffer() 166 void line_flush_buffer(struct tty_struct *tty) in line_flush_buffer() argument 168 struct line *line = tty->driver_data; in line_flush_buffer() 180 void line_flush_chars(struct tty_struct *tty) in line_flush_chars() argument 182 line_flush_buffer(tty); in line_flush_chars() 185 int line_put_char(struct tty_struct *tty, unsigned char ch) in line_put_char() argument [all …]
|
D | chan_kern.c | 83 static void tty_receive_char(struct tty_struct *tty, char ch) in tty_receive_char() argument 85 if (tty == NULL) in tty_receive_char() 88 if (I_IXON(tty) && !I_IXOFF(tty) && !tty->raw) { in tty_receive_char() 89 if (ch == STOP_CHAR(tty)) { in tty_receive_char() 90 stop_tty(tty); in tty_receive_char() 93 else if (ch == START_CHAR(tty)) { in tty_receive_char() 94 start_tty(tty); in tty_receive_char() 99 tty_insert_flip_char(tty, ch, TTY_NORMAL); in tty_receive_char() 143 void chan_enable_winch(struct chan *chan, struct tty_struct *tty) in chan_enable_winch() argument 146 register_winch(chan->fd, tty); in chan_enable_winch() [all …]
|
D | ssl.c | 90 static int ssl_open(struct tty_struct *tty, struct file *filp) in ssl_open() argument 92 int err = line_open(serial_lines, tty); in ssl_open() 96 tty->index, err); in ssl_open() 102 static void ssl_flush_buffer(struct tty_struct *tty) 107 static void ssl_stop(struct tty_struct *tty) 112 static void ssl_start(struct tty_struct *tty) 117 void ssl_hangup(struct tty_struct *tty)
|
D | chan_user.c | 219 static int winch_tramp(int fd, struct tty_struct *tty, int *fd_out, in winch_tramp() argument 274 void register_winch(int fd, struct tty_struct *tty) in register_winch() argument 284 if (is_skas_winch(pid, fd, tty)) { in register_winch() 285 register_winch_irq(-1, fd, -1, tty, 0); in register_winch() 290 thread = winch_tramp(fd, tty, &thread_fd, &stack); in register_winch() 294 register_winch_irq(thread_fd, fd, thread, tty, stack); in register_winch()
|
D | chan_user.h | 42 extern void register_winch(int fd, struct tty_struct *tty); 44 struct tty_struct *tty, unsigned long stack);
|
D | chan.h | 31 struct tty_struct *tty, int irq); 41 extern void chan_enable_winch(struct chan *chan, struct tty_struct *tty);
|
D | stdio_console.c | 92 static int con_open(struct tty_struct *tty, struct file *filp) in con_open() argument 94 int err = line_open(vts, tty); in con_open() 97 tty->index, err); in con_open()
|
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/alpha/kernel/ |
D | srmcons.c | 47 srmcons_do_receive_chars(struct tty_struct *tty) in srmcons_do_receive_chars() argument 55 tty_insert_flip_char(tty, (char)result.bits.c, 0); in srmcons_do_receive_chars() 61 tty_schedule_flip(tty); in srmcons_do_receive_chars() 76 if (!srmcons_do_receive_chars(port->tty)) in srmcons_receive_chars() 82 if (port->tty) in srmcons_receive_chars() 91 srmcons_do_write(struct tty_struct *tty, const char *buf, int count) in srmcons_do_write() argument 118 if (tty) in srmcons_do_write() 119 srmcons_do_receive_chars(tty); in srmcons_do_write() 132 srmcons_write(struct tty_struct *tty, in srmcons_write() argument 138 srmcons_do_write(tty, (const char *) buf, count); in srmcons_write() [all …]
|
/arch/xtensa/platforms/iss/ |
D | console.c | 69 static int rs_open(struct tty_struct *tty, struct file * filp) in rs_open() argument 71 tty->port = &serial_port; in rs_open() 73 if (tty->count == 1) { in rs_open() 74 setup_timer(&serial_timer, rs_poll, (unsigned long)tty); in rs_open() 93 static void rs_close(struct tty_struct *tty, struct file * filp) in rs_close() argument 96 if (tty->count == 1) in rs_close() 102 static int rs_write(struct tty_struct * tty, in rs_write() argument 113 struct tty_struct* tty = (struct tty_struct*) priv; in rs_poll() local 123 tty_insert_flip_char(tty, c, TTY_NORMAL); in rs_poll() 128 tty_flip_buffer_push(tty); in rs_poll() [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 141 struct tty_struct *tty = tty_port_tty_get(&tty_port); in pdc_console_poll() local 143 if (!tty) in pdc_console_poll() 150 tty_insert_flip_char(tty, data & 0xFF, TTY_NORMAL); in pdc_console_poll() [all …]
|
/arch/m68k/emu/ |
D | nfcon.c | 61 static int nfcon_tty_open(struct tty_struct *tty, struct file *filp) in nfcon_tty_open() argument 66 static void nfcon_tty_close(struct tty_struct *tty, struct file *filp) in nfcon_tty_close() argument 70 static int nfcon_tty_write(struct tty_struct *tty, const unsigned char *buf, in nfcon_tty_write() argument 77 static int nfcon_tty_put_char(struct tty_struct *tty, unsigned char ch) in nfcon_tty_put_char() argument 85 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/arm/common/ |
D | fiq_debugger.c | 91 struct tty_struct *tty; member 802 if (state->tty) { in debug_handle_irq_context() 807 tty_insert_flip_char(state->tty, c, TTY_NORMAL); in debug_handle_irq_context() 811 tty_flip_buffer_push(state->tty); in debug_handle_irq_context() 1012 int fiq_tty_open(struct tty_struct *tty, struct file *filp) in fiq_tty_open() argument 1014 int line = tty->index; in fiq_tty_open() 1015 struct fiq_debugger_state **states = tty->driver->driver_state; in fiq_tty_open() 1020 tty->driver_data = state; in fiq_tty_open() 1021 state->tty = tty; in fiq_tty_open() 1025 void fiq_tty_close(struct tty_struct *tty, struct file *filp) in fiq_tty_close() argument [all …]
|
/arch/mn10300/kernel/ |
D | mn10300-serial.c | 471 struct tty_struct *tty = port->uart.state->port.tty; in mn10300_serial_receive_interrupt() local 481 count = tty_buffer_request_room(tty, count); in mn10300_serial_receive_interrupt() 483 if (!tty->low_latency) in mn10300_serial_receive_interrupt() 484 tty_flip_buffer_push(tty); in mn10300_serial_receive_interrupt() 492 if (push && !tty->low_latency) in mn10300_serial_receive_interrupt() 493 tty_flip_buffer_push(tty); in mn10300_serial_receive_interrupt() 612 tty_insert_flip_char(tty, ch, flag); in mn10300_serial_receive_interrupt() 619 tty_insert_flip_char(tty, 0, TTY_OVERRUN); in mn10300_serial_receive_interrupt() 623 if (!tty->low_latency) in mn10300_serial_receive_interrupt() 624 tty_flip_buffer_push(tty); in mn10300_serial_receive_interrupt() [all …]
|
/arch/cris/arch-v10/kernel/ |
D | debugport.c | 413 static int dummy_open(struct tty_struct *tty, struct file * filp) in dummy_open() argument 418 static void dummy_close(struct tty_struct *tty, struct file * filp) in dummy_close() argument 422 static int dummy_write(struct tty_struct * tty, in dummy_write() argument 428 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 | 53 bool "tty channel support" 57 (/dev/tty*) and the slave side of pseudo-terminals (/dev/ttyp* and
|
/arch/x86/boot/ |
D | Makefile | 25 setup-y += pm.o pmjump.o printf.o regs.o string.o tty.o video.o
|
/arch/mips/configs/ |
D | db1300_defconfig | 375 CONFIG_CMDLINE="video=au1200fb:panel:bs console=tty console=ttyS2,115200"
|
/arch/h8300/ |
D | Kconfig | 199 source "drivers/tty/serial/Kconfig"
|
/arch/ia64/kernel/ |
D | unaligned.c | 1340 tty_write_message(current->signal->tty, buf); in ia64_handle_unaligned()
|