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

Go to the source code of this file.

Macros

#define SMSCSIO_CFGACCESSKEY   0x55
 
#define SMSCSIO_CFGEXITKEY   0xaa
 
#define SMSCSIOFLAT_DEVICEID_REG   0x0d
 
#define SMSCSIOFLAT_UARTMODE0C_REG   0x0c
 
#define SMSCSIOFLAT_UART2MODE_MASK   0x38
 
#define SMSCSIOFLAT_UART2MODE_VAL_COM   0x00
 
#define SMSCSIOFLAT_UART2MODE_VAL_IRDA   0x08
 
#define SMSCSIOFLAT_UART2MODE_VAL_ASKIR   0x10
 
#define SMSCSIOFLAT_UART2BASEADDR_REG   0x25
 
#define SMSCSIOFLAT_FIRBASEADDR_REG   0x2b
 
#define SMSCSIOFLAT_FIRDMASELECT_REG   0x2c
 
#define SMSCSIOFLAT_FIRDMASELECT_MASK   0x0f
 
#define SMSCSIOFLAT_UARTIRQSELECT_REG   0x28
 
#define SMSCSIOFLAT_UART2IRQSELECT_MASK   0x0f
 
#define SMSCSIOFLAT_UART1IRQSELECT_MASK   0xf0
 
#define SMSCSIOFLAT_UARTIRQSELECT_VAL_NONE   0x00
 
#define LPC47N227_CFGACCESSKEY   0x55
 
#define LPC47N227_CFGEXITKEY   0xaa
 
#define LPC47N227_FDCPOWERVALIDCONF_REG   0x00
 
#define LPC47N227_FDCPOWER_MASK   0x08
 
#define LPC47N227_VALID_MASK   0x80
 
#define LPC47N227_UART12POWER_REG   0x02
 
#define LPC47N227_UART1POWERDOWN_MASK   0x08
 
#define LPC47N227_UART2POWERDOWN_MASK   0x80
 
#define LPC47N227_APMBOOTDRIVE_REG   0x07
 
#define LPC47N227_PARPORT2AUTOPWRDOWN_MASK   0x10 /* auto power down on if set */
 
#define LPC47N227_UART2AUTOPWRDOWN_MASK   0x20 /* auto power down on if set */
 
#define LPC47N227_UART1AUTOPWRDOWN_MASK   0x40 /* auto power down on if set */
 
#define LPC47N227_UARTMODE0C_REG   0x0c
 
#define LPC47N227_UART2MODE_MASK   0x38
 
#define LPC47N227_UART2MODE_VAL_COM   0x00
 
#define LPC47N227_UART2MODE_VAL_IRDA   0x08
 
#define LPC47N227_UART2MODE_VAL_ASKIR   0x10
 
#define LPC47N227_DEVICEID_REG   0x0d
 
#define LPC47N227_DEVICEID_DEFVAL   0x5a
 
#define LPC47N227_REVISIONID_REG   0x0e
 
#define LPC47N227_UART2BASEADDR_REG   0x25
 
#define LPC47N227_UARTIRQSELECT_REG   0x28
 
#define LPC47N227_UART2IRQSELECT_MASK   0x0f
 
#define LPC47N227_UART1IRQSELECT_MASK   0xf0
 
#define LPC47N227_UARTIRQSELECT_VAL_NONE   0x00
 
#define LPC47N227_FIRBASEADDR_REG   0x2b
 
#define LPC47N227_FIRDMASELECT_REG   0x2c
 
#define LPC47N227_FIRDMASELECT_MASK   0x0f
 
#define LPC47N227_FIRDMASELECT_VAL_DMA1   0x01 /* 47n227 has three dma channels */
 
#define LPC47N227_FIRDMASELECT_VAL_DMA2   0x02
 
#define LPC47N227_FIRDMASELECT_VAL_DMA3   0x03
 
#define LPC47N227_FIRDMASELECT_VAL_NONE   0x0f
 

Macro Definition Documentation

#define LPC47N227_APMBOOTDRIVE_REG   0x07

Definition at line 60 of file smsc-sio.h.

#define LPC47N227_CFGACCESSKEY   0x55

Definition at line 46 of file smsc-sio.h.

#define LPC47N227_CFGEXITKEY   0xaa

Definition at line 47 of file smsc-sio.h.

#define LPC47N227_DEVICEID_DEFVAL   0x5a

Definition at line 74 of file smsc-sio.h.

#define LPC47N227_DEVICEID_REG   0x0d

Definition at line 73 of file smsc-sio.h.

#define LPC47N227_FDCPOWER_MASK   0x08

Definition at line 51 of file smsc-sio.h.

#define LPC47N227_FDCPOWERVALIDCONF_REG   0x00

Definition at line 50 of file smsc-sio.h.

#define LPC47N227_FIRBASEADDR_REG   0x2b

Definition at line 89 of file smsc-sio.h.

#define LPC47N227_FIRDMASELECT_MASK   0x0f

Definition at line 93 of file smsc-sio.h.

#define LPC47N227_FIRDMASELECT_REG   0x2c

Definition at line 92 of file smsc-sio.h.

#define LPC47N227_FIRDMASELECT_VAL_DMA1   0x01 /* 47n227 has three dma channels */

Definition at line 94 of file smsc-sio.h.

#define LPC47N227_FIRDMASELECT_VAL_DMA2   0x02

Definition at line 95 of file smsc-sio.h.

#define LPC47N227_FIRDMASELECT_VAL_DMA3   0x03

Definition at line 96 of file smsc-sio.h.

#define LPC47N227_FIRDMASELECT_VAL_NONE   0x0f

Definition at line 97 of file smsc-sio.h.

#define LPC47N227_PARPORT2AUTOPWRDOWN_MASK   0x10 /* auto power down on if set */

Definition at line 61 of file smsc-sio.h.

#define LPC47N227_REVISIONID_REG   0x0e

Definition at line 77 of file smsc-sio.h.

#define LPC47N227_UART12POWER_REG   0x02

Definition at line 55 of file smsc-sio.h.

#define LPC47N227_UART1AUTOPWRDOWN_MASK   0x40 /* auto power down on if set */

Definition at line 63 of file smsc-sio.h.

#define LPC47N227_UART1IRQSELECT_MASK   0xf0

Definition at line 85 of file smsc-sio.h.

#define LPC47N227_UART1POWERDOWN_MASK   0x08

Definition at line 56 of file smsc-sio.h.

#define LPC47N227_UART2AUTOPWRDOWN_MASK   0x20 /* auto power down on if set */

Definition at line 62 of file smsc-sio.h.

#define LPC47N227_UART2BASEADDR_REG   0x25

Definition at line 80 of file smsc-sio.h.

#define LPC47N227_UART2IRQSELECT_MASK   0x0f

Definition at line 84 of file smsc-sio.h.

#define LPC47N227_UART2MODE_MASK   0x38

Definition at line 67 of file smsc-sio.h.

#define LPC47N227_UART2MODE_VAL_ASKIR   0x10

Definition at line 70 of file smsc-sio.h.

#define LPC47N227_UART2MODE_VAL_COM   0x00

Definition at line 68 of file smsc-sio.h.

#define LPC47N227_UART2MODE_VAL_IRDA   0x08

Definition at line 69 of file smsc-sio.h.

#define LPC47N227_UART2POWERDOWN_MASK   0x80

Definition at line 57 of file smsc-sio.h.

#define LPC47N227_UARTIRQSELECT_REG   0x28

Definition at line 83 of file smsc-sio.h.

#define LPC47N227_UARTIRQSELECT_VAL_NONE   0x00

Definition at line 86 of file smsc-sio.h.

#define LPC47N227_UARTMODE0C_REG   0x0c

Definition at line 66 of file smsc-sio.h.

#define LPC47N227_VALID_MASK   0x80

Definition at line 52 of file smsc-sio.h.

#define SMSCSIO_CFGACCESSKEY   0x55

Definition at line 8 of file smsc-sio.h.

#define SMSCSIO_CFGEXITKEY   0xaa

Definition at line 9 of file smsc-sio.h.

#define SMSCSIOFLAT_DEVICEID_REG   0x0d

Definition at line 16 of file smsc-sio.h.

#define SMSCSIOFLAT_FIRBASEADDR_REG   0x2b

Definition at line 29 of file smsc-sio.h.

#define SMSCSIOFLAT_FIRDMASELECT_MASK   0x0f

Definition at line 33 of file smsc-sio.h.

#define SMSCSIOFLAT_FIRDMASELECT_REG   0x2c

Definition at line 32 of file smsc-sio.h.

#define SMSCSIOFLAT_UART1IRQSELECT_MASK   0xf0

Definition at line 38 of file smsc-sio.h.

#define SMSCSIOFLAT_UART2BASEADDR_REG   0x25

Definition at line 26 of file smsc-sio.h.

#define SMSCSIOFLAT_UART2IRQSELECT_MASK   0x0f

Definition at line 37 of file smsc-sio.h.

#define SMSCSIOFLAT_UART2MODE_MASK   0x38

Definition at line 20 of file smsc-sio.h.

#define SMSCSIOFLAT_UART2MODE_VAL_ASKIR   0x10

Definition at line 23 of file smsc-sio.h.

#define SMSCSIOFLAT_UART2MODE_VAL_COM   0x00

Definition at line 21 of file smsc-sio.h.

#define SMSCSIOFLAT_UART2MODE_VAL_IRDA   0x08

Definition at line 22 of file smsc-sio.h.

#define SMSCSIOFLAT_UARTIRQSELECT_REG   0x28

Definition at line 36 of file smsc-sio.h.

#define SMSCSIOFLAT_UARTIRQSELECT_VAL_NONE   0x00

Definition at line 39 of file smsc-sio.h.

#define SMSCSIOFLAT_UARTMODE0C_REG   0x0c

Definition at line 19 of file smsc-sio.h.