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

Go to the source code of this file.

Macros

#define MAX3110_HIGH_CLK   0x1 /* 3.6864 MHZ */
 
#define MAX3110_LOW_CLK   0x0 /* 1.8432 MHZ */
 
#define MAX3110_READ_DATA_AVAILABLE   (1 << 15)
 
#define MAX3110_WRITE_BUF_EMPTY   (1 << 14)
 
#define MAX3110_BREAK   (1 << 10)
 
#define WC_TAG   (3 << 14)
 
#define RC_TAG   (1 << 14)
 
#define WD_TAG   (2 << 14)
 
#define RD_TAG   (0 << 14)
 
#define WC_FIFO_ENABLE_MASK   (1 << 13)
 
#define WC_FIFO_ENABLE   (0 << 13)
 
#define WC_SW_SHDI   (1 << 12)
 
#define WC_IRQ_MASK   (0xF << 8)
 
#define WC_TXE_IRQ_ENABLE   (1 << 11) /* TX empty irq */
 
#define WC_RXA_IRQ_ENABLE   (1 << 10) /* RX available irq */
 
#define WC_PAR_HIGH_IRQ_ENABLE   (1 << 9)
 
#define WC_REC_ACT_IRQ_ENABLE   (1 << 8)
 
#define WC_IRDA_ENABLE   (1 << 7)
 
#define WC_STOPBITS_MASK   (1 << 6)
 
#define WC_2_STOPBITS   (1 << 6)
 
#define WC_1_STOPBITS   (0 << 6)
 
#define WC_PARITY_ENABLE_MASK   (1 << 5)
 
#define WC_PARITY_ENABLE   (1 << 5)
 
#define WC_WORDLEN_MASK   (1 << 4)
 
#define WC_7BIT_WORD   (1 << 4)
 
#define WC_8BIT_WORD   (0 << 4)
 
#define WC_BAUD_DIV_MASK   (0xF)
 
#define WC_BAUD_DR1   (0x0)
 
#define WC_BAUD_DR2   (0x1)
 
#define WC_BAUD_DR4   (0x2)
 
#define WC_BAUD_DR8   (0x3)
 
#define WC_BAUD_DR16   (0x4)
 
#define WC_BAUD_DR32   (0x5)
 
#define WC_BAUD_DR64   (0x6)
 
#define WC_BAUD_DR128   (0x7)
 
#define WC_BAUD_DR3   (0x8)
 
#define WC_BAUD_DR6   (0x9)
 
#define WC_BAUD_DR12   (0xA)
 
#define WC_BAUD_DR24   (0xB)
 
#define WC_BAUD_DR48   (0xC)
 
#define WC_BAUD_DR96   (0xD)
 
#define WC_BAUD_DR192   (0xE)
 
#define WC_BAUD_DR384   (0xF)
 
#define M3110_RX_FIFO_DEPTH   8
 

Macro Definition Documentation

#define M3110_RX_FIFO_DEPTH   8

Definition at line 60 of file mrst_max3110.h.

#define MAX3110_BREAK   (1 << 10)

Definition at line 10 of file mrst_max3110.h.

#define MAX3110_HIGH_CLK   0x1 /* 3.6864 MHZ */

Definition at line 4 of file mrst_max3110.h.

#define MAX3110_LOW_CLK   0x0 /* 1.8432 MHZ */

Definition at line 5 of file mrst_max3110.h.

#define MAX3110_READ_DATA_AVAILABLE   (1 << 15)

Definition at line 8 of file mrst_max3110.h.

#define MAX3110_WRITE_BUF_EMPTY   (1 << 14)

Definition at line 9 of file mrst_max3110.h.

#define RC_TAG   (1 << 14)

Definition at line 13 of file mrst_max3110.h.

#define RD_TAG   (0 << 14)

Definition at line 15 of file mrst_max3110.h.

#define WC_1_STOPBITS   (0 << 6)

Definition at line 33 of file mrst_max3110.h.

#define WC_2_STOPBITS   (1 << 6)

Definition at line 32 of file mrst_max3110.h.

#define WC_7BIT_WORD   (1 << 4)

Definition at line 39 of file mrst_max3110.h.

#define WC_8BIT_WORD   (0 << 4)

Definition at line 40 of file mrst_max3110.h.

#define WC_BAUD_DIV_MASK   (0xF)

Definition at line 42 of file mrst_max3110.h.

#define WC_BAUD_DR1   (0x0)

Definition at line 43 of file mrst_max3110.h.

#define WC_BAUD_DR12   (0xA)

Definition at line 53 of file mrst_max3110.h.

#define WC_BAUD_DR128   (0x7)

Definition at line 50 of file mrst_max3110.h.

#define WC_BAUD_DR16   (0x4)

Definition at line 47 of file mrst_max3110.h.

#define WC_BAUD_DR192   (0xE)

Definition at line 57 of file mrst_max3110.h.

#define WC_BAUD_DR2   (0x1)

Definition at line 44 of file mrst_max3110.h.

#define WC_BAUD_DR24   (0xB)

Definition at line 54 of file mrst_max3110.h.

#define WC_BAUD_DR3   (0x8)

Definition at line 51 of file mrst_max3110.h.

#define WC_BAUD_DR32   (0x5)

Definition at line 48 of file mrst_max3110.h.

#define WC_BAUD_DR384   (0xF)

Definition at line 58 of file mrst_max3110.h.

#define WC_BAUD_DR4   (0x2)

Definition at line 45 of file mrst_max3110.h.

#define WC_BAUD_DR48   (0xC)

Definition at line 55 of file mrst_max3110.h.

#define WC_BAUD_DR6   (0x9)

Definition at line 52 of file mrst_max3110.h.

#define WC_BAUD_DR64   (0x6)

Definition at line 49 of file mrst_max3110.h.

#define WC_BAUD_DR8   (0x3)

Definition at line 46 of file mrst_max3110.h.

#define WC_BAUD_DR96   (0xD)

Definition at line 56 of file mrst_max3110.h.

#define WC_FIFO_ENABLE   (0 << 13)

Definition at line 19 of file mrst_max3110.h.

#define WC_FIFO_ENABLE_MASK   (1 << 13)

Definition at line 18 of file mrst_max3110.h.

#define WC_IRDA_ENABLE   (1 << 7)

Definition at line 29 of file mrst_max3110.h.

#define WC_IRQ_MASK   (0xF << 8)

Definition at line 23 of file mrst_max3110.h.

#define WC_PAR_HIGH_IRQ_ENABLE   (1 << 9)

Definition at line 26 of file mrst_max3110.h.

#define WC_PARITY_ENABLE   (1 << 5)

Definition at line 36 of file mrst_max3110.h.

#define WC_PARITY_ENABLE_MASK   (1 << 5)

Definition at line 35 of file mrst_max3110.h.

#define WC_REC_ACT_IRQ_ENABLE   (1 << 8)

Definition at line 27 of file mrst_max3110.h.

#define WC_RXA_IRQ_ENABLE   (1 << 10) /* RX available irq */

Definition at line 25 of file mrst_max3110.h.

#define WC_STOPBITS_MASK   (1 << 6)

Definition at line 31 of file mrst_max3110.h.

#define WC_SW_SHDI   (1 << 12)

Definition at line 21 of file mrst_max3110.h.

#define WC_TAG   (3 << 14)

Definition at line 12 of file mrst_max3110.h.

#define WC_TXE_IRQ_ENABLE   (1 << 11) /* TX empty irq */

Definition at line 24 of file mrst_max3110.h.

#define WC_WORDLEN_MASK   (1 << 4)

Definition at line 38 of file mrst_max3110.h.

#define WD_TAG   (2 << 14)

Definition at line 14 of file mrst_max3110.h.