Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
kmi.h File Reference

Go to the source code of this file.

Macros

#define KMICR   (KMI_BASE + 0x00)
 
#define KMICR_TYPE   (1 << 5)
 
#define KMICR_RXINTREN   (1 << 4)
 
#define KMICR_TXINTREN   (1 << 3)
 
#define KMICR_EN   (1 << 2)
 
#define KMICR_FD   (1 << 1)
 
#define KMICR_FC   (1 << 0)
 
#define KMISTAT   (KMI_BASE + 0x04)
 
#define KMISTAT_TXEMPTY   (1 << 6)
 
#define KMISTAT_TXBUSY   (1 << 5)
 
#define KMISTAT_RXFULL   (1 << 4)
 
#define KMISTAT_RXBUSY   (1 << 3)
 
#define KMISTAT_RXPARITY   (1 << 2)
 
#define KMISTAT_IC   (1 << 1)
 
#define KMISTAT_ID   (1 << 0)
 
#define KMIDATA   (KMI_BASE + 0x08)
 
#define KMICLKDIV   (KMI_BASE + 0x0c)
 
#define KMIIR   (KMI_BASE + 0x10)
 
#define KMIIR_TXINTR   (1 << 1)
 
#define KMIIR_RXINTR   (1 << 0)
 
#define KMI_SIZE   (0x100)
 

Macro Definition Documentation

#define KMI_SIZE   (0x100)

Definition at line 90 of file kmi.h.

#define KMICLKDIV   (KMI_BASE + 0x0c)

Definition at line 76 of file kmi.h.

#define KMICR   (KMI_BASE + 0x00)

Definition at line 40 of file kmi.h.

#define KMICR_EN   (1 << 2)

Definition at line 44 of file kmi.h.

#define KMICR_FC   (1 << 0)

Definition at line 46 of file kmi.h.

#define KMICR_FD   (1 << 1)

Definition at line 45 of file kmi.h.

#define KMICR_RXINTREN   (1 << 4)

Definition at line 42 of file kmi.h.

#define KMICR_TXINTREN   (1 << 3)

Definition at line 43 of file kmi.h.

#define KMICR_TYPE   (1 << 5)

Definition at line 41 of file kmi.h.

#define KMIDATA   (KMI_BASE + 0x08)

Definition at line 70 of file kmi.h.

#define KMIIR   (KMI_BASE + 0x10)

Definition at line 83 of file kmi.h.

#define KMIIR_RXINTR   (1 << 0)

Definition at line 85 of file kmi.h.

#define KMIIR_TXINTR   (1 << 1)

Definition at line 84 of file kmi.h.

#define KMISTAT   (KMI_BASE + 0x04)

Definition at line 58 of file kmi.h.

#define KMISTAT_IC   (1 << 1)

Definition at line 64 of file kmi.h.

#define KMISTAT_ID   (1 << 0)

Definition at line 65 of file kmi.h.

#define KMISTAT_RXBUSY   (1 << 3)

Definition at line 62 of file kmi.h.

#define KMISTAT_RXFULL   (1 << 4)

Definition at line 61 of file kmi.h.

#define KMISTAT_RXPARITY   (1 << 2)

Definition at line 63 of file kmi.h.

#define KMISTAT_TXBUSY   (1 << 5)

Definition at line 60 of file kmi.h.

#define KMISTAT_TXEMPTY   (1 << 6)

Definition at line 59 of file kmi.h.