Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
uartlite.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 ULITE_RX   0x00
 
#define ULITE_TX   0x04
 
#define ULITE_STATUS   0x08
 
#define ULITE_CONTROL   0x0c
 
#define ULITE_STATUS_RXVALID   0x01
 
#define ULITE_STATUS_TXFULL   0x08
 
#define ULITE_CONTROL_RST_RX   0x02
 

Functions

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

Macro Definition Documentation

#define ULITE_CONTROL   0x0c

Definition at line 22 of file uartlite.c.

#define ULITE_CONTROL_RST_RX   0x02

Definition at line 27 of file uartlite.c.

#define ULITE_RX   0x00

Definition at line 19 of file uartlite.c.

#define ULITE_STATUS   0x08

Definition at line 21 of file uartlite.c.

#define ULITE_STATUS_RXVALID   0x01

Definition at line 24 of file uartlite.c.

#define ULITE_STATUS_TXFULL   0x08

Definition at line 25 of file uartlite.c.

#define ULITE_TX   0x04

Definition at line 20 of file uartlite.c.

Function Documentation

int uartlite_console_init ( void devp,
struct serial_console_data scdp 
)

Definition at line 60 of file uartlite.c.