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

Go to the source code of this file.

Macros

#define UART_FOR   0x08
 
#define UART_PS   0x0C
 
#define UART_MUL   0x0D
 
#define UART_DIV   0x0E
 
#define HSU_GBL_IEN   0x0
 
#define HSU_GBL_IST   0x4
 
#define HSU_GBL_INT_BIT_PORT0   0x0
 
#define HSU_GBL_INT_BIT_PORT1   0x1
 
#define HSU_GBL_INT_BIT_PORT2   0x2
 
#define HSU_GBL_INT_BIT_IRI   0x3
 
#define HSU_GBL_INT_BIT_HDLC   0x4
 
#define HSU_GBL_INT_BIT_DMA   0x5
 
#define HSU_GBL_ISR   0x8
 
#define HSU_GBL_DMASR   0x400
 
#define HSU_GBL_DMAISR   0x404
 
#define HSU_PORT_REG_OFFSET   0x80
 
#define HSU_PORT0_REG_OFFSET   0x80
 
#define HSU_PORT1_REG_OFFSET   0x100
 
#define HSU_PORT2_REG_OFFSET   0x180
 
#define HSU_PORT_REG_LENGTH   0x80
 
#define HSU_DMA_CHANS_REG_OFFSET   0x500
 
#define HSU_DMA_CHANS_REG_LENGTH   0x40
 
#define HSU_CH_SR   0x0 /* channel status reg */
 
#define HSU_CH_CR   0x4 /* control reg */
 
#define HSU_CH_DCR   0x8 /* descriptor control reg */
 
#define HSU_CH_BSR   0x10 /* max fifo buffer size reg */
 
#define HSU_CH_MOTSR   0x14 /* minimum ocp transfer size */
 
#define HSU_CH_D0SAR   0x20 /* desc 0 start addr */
 
#define HSU_CH_D0TSR   0x24 /* desc 0 transfer size */
 
#define HSU_CH_D1SAR   0x28
 
#define HSU_CH_D1TSR   0x2C
 
#define HSU_CH_D2SAR   0x30
 
#define HSU_CH_D2TSR   0x34
 
#define HSU_CH_D3SAR   0x38
 
#define HSU_CH_D3TSR   0x3C
 

Macro Definition Documentation

#define HSU_CH_BSR   0x10 /* max fifo buffer size reg */

Definition at line 36 of file serial_mfd.h.

#define HSU_CH_CR   0x4 /* control reg */

Definition at line 34 of file serial_mfd.h.

#define HSU_CH_D0SAR   0x20 /* desc 0 start addr */

Definition at line 38 of file serial_mfd.h.

#define HSU_CH_D0TSR   0x24 /* desc 0 transfer size */

Definition at line 39 of file serial_mfd.h.

#define HSU_CH_D1SAR   0x28

Definition at line 40 of file serial_mfd.h.

#define HSU_CH_D1TSR   0x2C

Definition at line 41 of file serial_mfd.h.

#define HSU_CH_D2SAR   0x30

Definition at line 42 of file serial_mfd.h.

#define HSU_CH_D2TSR   0x34

Definition at line 43 of file serial_mfd.h.

#define HSU_CH_D3SAR   0x38

Definition at line 44 of file serial_mfd.h.

#define HSU_CH_D3TSR   0x3C

Definition at line 45 of file serial_mfd.h.

#define HSU_CH_DCR   0x8 /* descriptor control reg */

Definition at line 35 of file serial_mfd.h.

#define HSU_CH_MOTSR   0x14 /* minimum ocp transfer size */

Definition at line 37 of file serial_mfd.h.

#define HSU_CH_SR   0x0 /* channel status reg */

Definition at line 33 of file serial_mfd.h.

#define HSU_DMA_CHANS_REG_LENGTH   0x40

Definition at line 31 of file serial_mfd.h.

#define HSU_DMA_CHANS_REG_OFFSET   0x500

Definition at line 30 of file serial_mfd.h.

#define HSU_GBL_DMAISR   0x404

Definition at line 22 of file serial_mfd.h.

#define HSU_GBL_DMASR   0x400

Definition at line 21 of file serial_mfd.h.

#define HSU_GBL_IEN   0x0

Definition at line 10 of file serial_mfd.h.

#define HSU_GBL_INT_BIT_DMA   0x5

Definition at line 18 of file serial_mfd.h.

#define HSU_GBL_INT_BIT_HDLC   0x4

Definition at line 17 of file serial_mfd.h.

#define HSU_GBL_INT_BIT_IRI   0x3

Definition at line 16 of file serial_mfd.h.

#define HSU_GBL_INT_BIT_PORT0   0x0

Definition at line 13 of file serial_mfd.h.

#define HSU_GBL_INT_BIT_PORT1   0x1

Definition at line 14 of file serial_mfd.h.

#define HSU_GBL_INT_BIT_PORT2   0x2

Definition at line 15 of file serial_mfd.h.

#define HSU_GBL_ISR   0x8

Definition at line 20 of file serial_mfd.h.

#define HSU_GBL_IST   0x4

Definition at line 11 of file serial_mfd.h.

#define HSU_PORT0_REG_OFFSET   0x80

Definition at line 25 of file serial_mfd.h.

#define HSU_PORT1_REG_OFFSET   0x100

Definition at line 26 of file serial_mfd.h.

#define HSU_PORT2_REG_OFFSET   0x180

Definition at line 27 of file serial_mfd.h.

#define HSU_PORT_REG_LENGTH   0x80

Definition at line 28 of file serial_mfd.h.

#define HSU_PORT_REG_OFFSET   0x80

Definition at line 24 of file serial_mfd.h.

#define UART_DIV   0x0E

Definition at line 8 of file serial_mfd.h.

#define UART_FOR   0x08

Definition at line 5 of file serial_mfd.h.

#define UART_MUL   0x0D

Definition at line 7 of file serial_mfd.h.

#define UART_PS   0x0C

Definition at line 6 of file serial_mfd.h.