'\" t .\" Title: uart_insert_char .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: 16x50 UART Driver .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "UART_INSERT_CHAR" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "16x50 UART Driver" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" uart_insert_char \- push a char to the uart layer .SH "SYNOPSIS" .HP \w'void\ uart_insert_char('u .BI "void uart_insert_char(struct\ uart_port\ *\ " "port" ", unsigned\ int\ " "status" ", unsigned\ int\ " "overrun" ", unsigned\ int\ " "ch" ", unsigned\ int\ " "flag" ");" .SH "ARGUMENTS" .PP \fIport\fR .RS 4 corresponding port .RE .PP \fIstatus\fR .RS 4 state of the serial port RX buffer (LSR for 8250) .RE .PP \fIoverrun\fR .RS 4 mask of overrun bits in \fIstatus\fR .RE .PP \fIch\fR .RS 4 character to push .RE .PP \fIflag\fR .RS 4 flag for the character (see TTY_NORMAL and friends) .RE .SH "DESCRIPTION" .PP .PP User is responsible to call tty_flip_buffer_push when they are done with insertion\&. .SH "COPYRIGHT" .br