Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
ns16550.c File Reference
#include <stdarg.h>
#include <stddef.h>
#include "types.h"
#include "string.h"
#include "stdio.h"
#include "io.h"
#include "ops.h"

Go to the source code of this file.

Macros

#define UART_DLL   0 /* Out: Divisor Latch Low */
 
#define UART_DLM   1 /* Out: Divisor Latch High */
 
#define UART_FCR   2 /* Out: FIFO Control Register */
 
#define UART_LCR   3 /* Out: Line Control Register */
 
#define UART_MCR   4 /* Out: Modem Control Register */
 
#define UART_LSR   5 /* In: Line Status Register */
 
#define UART_LSR_THRE   0x20 /* Transmit-hold-register empty */
 
#define UART_LSR_DR   0x01 /* Receiver data ready */
 
#define UART_MSR   6 /* In: Modem Status Register */
 
#define UART_SCR   7 /* I/O: Scratch Register */
 

Functions

int ns16550_console_init (void *devp, struct serial_console_data *scdp)
 

Macro Definition Documentation

#define UART_DLL   0 /* Out: Divisor Latch Low */

Definition at line 18 of file ns16550.c.

#define UART_DLM   1 /* Out: Divisor Latch High */

Definition at line 19 of file ns16550.c.

#define UART_FCR   2 /* Out: FIFO Control Register */

Definition at line 20 of file ns16550.c.

#define UART_LCR   3 /* Out: Line Control Register */

Definition at line 21 of file ns16550.c.

#define UART_LSR   5 /* In: Line Status Register */

Definition at line 23 of file ns16550.c.

#define UART_LSR_DR   0x01 /* Receiver data ready */

Definition at line 25 of file ns16550.c.

#define UART_LSR_THRE   0x20 /* Transmit-hold-register empty */

Definition at line 24 of file ns16550.c.

#define UART_MCR   4 /* Out: Modem Control Register */

Definition at line 22 of file ns16550.c.

#define UART_MSR   6 /* In: Modem Status Register */

Definition at line 26 of file ns16550.c.

#define UART_SCR   7 /* I/O: Scratch Register */

Definition at line 27 of file ns16550.c.

Function Documentation

int ns16550_console_init ( void devp,
struct serial_console_data scdp 
)

Definition at line 55 of file ns16550.c.