uart_insert_char
Prev | Chapter 6. 16x50 UART Driver | Next

## Name

uart_insert_char — push a char to the uart layer

## Synopsis

`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)

## Description

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

Prev | Up | Next
uart_handle_cts_change | Home | serial8250_suspend_port