uart_insert_char(9)

uart_insert_char9

Push a char to the uart layer

Usage

void uart_insert_char(struct uart_port * port, unsigned int status, unsigned int overrun, unsigned int ch, unsigned int flag);

Arguments

port

corresponding port

status

state of the serial port RX buffer (LSR for 8250)

overrun

mask of overrun bits in status

ch

character to push

flag

flag for the character (see TTY_NORMAL and friends)

Overview

User is responsible to call tty_flip_buffer_push when they are done with insertion.

From linux-manual-3.16 3.16.56-1+deb8u1 in Debian 8 (Jessie). Parsed by carta from the page's man source.