Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
h8.c File Reference
#include <linux/kernel.h>
#include <linux/of.h>
#include <linux/io.h>
#include "wsp.h"

Go to the source code of this file.

Macros

#define RBR   0 /* Receiver Buffer Register */
 
#define THR   0 /* Transmitter Holding Register */
 
#define LSR   5 /* Line Status Register */
 
#define LSR_DR   0x01 /* LSR value for Data-Ready */
 
#define LSR_THRE   0x20 /* LSR value for Transmitter-Holding-Register-Empty */
 

Functions

void wsp_h8_restart (char *cmd)
 
void wsp_h8_power_off (void)
 
void __init wsp_setup_h8 (void)
 

Macro Definition Documentation

#define LSR   5 /* Line Status Register */

Definition at line 26 of file h8.c.

#define LSR_DR   0x01 /* LSR value for Data-Ready */

Definition at line 27 of file h8.c.

#define LSR_THRE   0x20 /* LSR value for Transmitter-Holding-Register-Empty */

Definition at line 28 of file h8.c.

#define RBR   0 /* Receiver Buffer Register */

Definition at line 24 of file h8.c.

#define THR   0 /* Transmitter Holding Register */

Definition at line 25 of file h8.c.

Function Documentation

void wsp_h8_power_off ( void  )

Definition at line 82 of file h8.c.

void wsp_h8_restart ( char cmd)

Definition at line 74 of file h8.c.

void __init wsp_setup_h8 ( void  )

Definition at line 125 of file h8.c.