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

Go to the source code of this file.

Macros

#define DRV_VERSION   "0.3"
 
#define TIMB_SUPPORTED_MAJOR   3
 
#define TIMB_REQUIRED_MINOR   8
 
#define TIMB_REV_MAJOR   0x00
 
#define TIMB_REV_MINOR   0x04
 
#define TIMB_HW_CONFIG   0x08
 
#define TIMB_SW_RST   0x40
 
#define TIMB_HW_CONFIG_SPI_8BIT   0x80
 
#define TIMB_HW_VER_MASK   0x0f
 
#define TIMB_HW_VER0   0x00
 
#define TIMB_HW_VER1   0x01
 
#define TIMB_HW_VER2   0x02
 
#define TIMB_HW_VER3   0x03
 
#define OCORESOFFSET   0x0
 
#define OCORESEND   0x1f
 
#define SPIOFFSET   0x80
 
#define SPIEND   0xff
 
#define UARTLITEOFFSET   0x100
 
#define UARTLITEEND   0x10f
 
#define RDSOFFSET   0x180
 
#define RDSEND   0x183
 
#define ETHOFFSET   0x300
 
#define ETHEND   0x3ff
 
#define GPIOOFFSET   0x400
 
#define GPIOEND   0x7ff
 
#define CHIPCTLOFFSET   0x800
 
#define CHIPCTLEND   0x8ff
 
#define CHIPCTLSIZE   (CHIPCTLEND - CHIPCTLOFFSET + 1)
 
#define INTCOFFSET   0xc00
 
#define INTCEND   0xfff
 
#define INTCSIZE   (INTCEND - INTCOFFSET)
 
#define MOSTOFFSET   0x1000
 
#define MOSTEND   0x13ff
 
#define UARTOFFSET   0x1400
 
#define UARTEND   0x17ff
 
#define XIICOFFSET   0x1800
 
#define XIICEND   0x19ff
 
#define I2SOFFSET   0x1C00
 
#define I2SEND   0x1fff
 
#define LOGIWOFFSET   0x30000
 
#define LOGIWEND   0x37fff
 
#define MLCOREOFFSET   0x40000
 
#define MLCOREEND   0x43fff
 
#define DMAOFFSET   0x01000000
 
#define DMAEND   0x013fffff
 
#define SDHC0OFFSET   0x00
 
#define SDHC0END   0xff
 
#define SDHC1OFFSET   0x00
 
#define SDHC1END   0xff
 
#define PCI_VENDOR_ID_TIMB   0x10ee
 
#define PCI_DEVICE_ID_TIMB   0xa123
 
#define IRQ_TIMBERDALE_INIC   0
 
#define IRQ_TIMBERDALE_MLB   1
 
#define IRQ_TIMBERDALE_GPIO   2
 
#define IRQ_TIMBERDALE_I2C   3
 
#define IRQ_TIMBERDALE_UART   4
 
#define IRQ_TIMBERDALE_DMA   5
 
#define IRQ_TIMBERDALE_I2S   6
 
#define IRQ_TIMBERDALE_TSC_INT   7
 
#define IRQ_TIMBERDALE_SDHC   8
 
#define IRQ_TIMBERDALE_ADV7180   9
 
#define IRQ_TIMBERDALE_ETHSW_IF   10
 
#define IRQ_TIMBERDALE_SPI   11
 
#define IRQ_TIMBERDALE_UARTLITE   12
 
#define IRQ_TIMBERDALE_MLCORE   13
 
#define IRQ_TIMBERDALE_MLCORE_BUF   14
 
#define IRQ_TIMBERDALE_RDS   15
 
#define TIMBERDALE_NR_IRQS   16
 
#define GPIO_PIN_ASCB   8
 
#define GPIO_PIN_INIC_RST   14
 
#define GPIO_PIN_BT_RST   15
 
#define GPIO_NR_PINS   16
 
#define DMA_UART_RX   0
 
#define DMA_UART_TX   1
 
#define DMA_MLB_RX   2
 
#define DMA_MLB_TX   3
 
#define DMA_VIDEO_RX   4
 
#define DMA_VIDEO_DROP   5
 
#define DMA_SDHCI_RX   6
 
#define DMA_SDHCI_TX   7
 
#define DMA_ETH_RX   8
 
#define DMA_ETH_TX   9
 

Macro Definition Documentation

#define CHIPCTLEND   0x8ff

Definition at line 68 of file timberdale.h.

#define CHIPCTLOFFSET   0x800

Definition at line 67 of file timberdale.h.

#define CHIPCTLSIZE   (CHIPCTLEND - CHIPCTLOFFSET + 1)

Definition at line 69 of file timberdale.h.

#define DMA_ETH_RX   8

Definition at line 139 of file timberdale.h.

#define DMA_ETH_TX   9

Definition at line 140 of file timberdale.h.

#define DMA_MLB_RX   2

Definition at line 133 of file timberdale.h.

#define DMA_MLB_TX   3

Definition at line 134 of file timberdale.h.

#define DMA_SDHCI_RX   6

Definition at line 137 of file timberdale.h.

#define DMA_SDHCI_TX   7

Definition at line 138 of file timberdale.h.

#define DMA_UART_RX   0

Definition at line 131 of file timberdale.h.

#define DMA_UART_TX   1

Definition at line 132 of file timberdale.h.

#define DMA_VIDEO_DROP   5

Definition at line 136 of file timberdale.h.

#define DMA_VIDEO_RX   4

Definition at line 135 of file timberdale.h.

#define DMAEND   0x013fffff

Definition at line 94 of file timberdale.h.

#define DMAOFFSET   0x01000000

Definition at line 93 of file timberdale.h.

#define DRV_VERSION   "0.3"

Definition at line 26 of file timberdale.h.

#define ETHEND   0x3ff

Definition at line 62 of file timberdale.h.

#define ETHOFFSET   0x300

Definition at line 61 of file timberdale.h.

#define GPIO_NR_PINS   16

Definition at line 128 of file timberdale.h.

#define GPIO_PIN_ASCB   8

Definition at line 125 of file timberdale.h.

#define GPIO_PIN_BT_RST   15

Definition at line 127 of file timberdale.h.

#define GPIO_PIN_INIC_RST   14

Definition at line 126 of file timberdale.h.

#define GPIOEND   0x7ff

Definition at line 65 of file timberdale.h.

#define GPIOOFFSET   0x400

Definition at line 64 of file timberdale.h.

#define I2SEND   0x1fff

Definition at line 85 of file timberdale.h.

#define I2SOFFSET   0x1C00

Definition at line 84 of file timberdale.h.

#define INTCEND   0xfff

Definition at line 72 of file timberdale.h.

#define INTCOFFSET   0xc00

Definition at line 71 of file timberdale.h.

#define INTCSIZE   (INTCEND - INTCOFFSET)

Definition at line 73 of file timberdale.h.

#define IRQ_TIMBERDALE_ADV7180   9

Definition at line 116 of file timberdale.h.

#define IRQ_TIMBERDALE_DMA   5

Definition at line 112 of file timberdale.h.

#define IRQ_TIMBERDALE_ETHSW_IF   10

Definition at line 117 of file timberdale.h.

#define IRQ_TIMBERDALE_GPIO   2

Definition at line 109 of file timberdale.h.

#define IRQ_TIMBERDALE_I2C   3

Definition at line 110 of file timberdale.h.

#define IRQ_TIMBERDALE_I2S   6

Definition at line 113 of file timberdale.h.

#define IRQ_TIMBERDALE_INIC   0

Definition at line 107 of file timberdale.h.

#define IRQ_TIMBERDALE_MLB   1

Definition at line 108 of file timberdale.h.

#define IRQ_TIMBERDALE_MLCORE   13

Definition at line 120 of file timberdale.h.

#define IRQ_TIMBERDALE_MLCORE_BUF   14

Definition at line 121 of file timberdale.h.

#define IRQ_TIMBERDALE_RDS   15

Definition at line 122 of file timberdale.h.

#define IRQ_TIMBERDALE_SDHC   8

Definition at line 115 of file timberdale.h.

#define IRQ_TIMBERDALE_SPI   11

Definition at line 118 of file timberdale.h.

#define IRQ_TIMBERDALE_TSC_INT   7

Definition at line 114 of file timberdale.h.

#define IRQ_TIMBERDALE_UART   4

Definition at line 111 of file timberdale.h.

#define IRQ_TIMBERDALE_UARTLITE   12

Definition at line 119 of file timberdale.h.

#define LOGIWEND   0x37fff

Definition at line 88 of file timberdale.h.

#define LOGIWOFFSET   0x30000

Definition at line 87 of file timberdale.h.

#define MLCOREEND   0x43fff

Definition at line 91 of file timberdale.h.

#define MLCOREOFFSET   0x40000

Definition at line 90 of file timberdale.h.

#define MOSTEND   0x13ff

Definition at line 76 of file timberdale.h.

#define MOSTOFFSET   0x1000

Definition at line 75 of file timberdale.h.

#define OCORESEND   0x1f

Definition at line 50 of file timberdale.h.

#define OCORESOFFSET   0x0

Definition at line 49 of file timberdale.h.

#define PCI_DEVICE_ID_TIMB   0xa123

Definition at line 105 of file timberdale.h.

#define PCI_VENDOR_ID_TIMB   0x10ee

Definition at line 104 of file timberdale.h.

#define RDSEND   0x183

Definition at line 59 of file timberdale.h.

#define RDSOFFSET   0x180

Definition at line 58 of file timberdale.h.

#define SDHC0END   0xff

Definition at line 98 of file timberdale.h.

#define SDHC0OFFSET   0x00

Definition at line 97 of file timberdale.h.

#define SDHC1END   0xff

Definition at line 102 of file timberdale.h.

#define SDHC1OFFSET   0x00

Definition at line 101 of file timberdale.h.

#define SPIEND   0xff

Definition at line 53 of file timberdale.h.

#define SPIOFFSET   0x80

Definition at line 52 of file timberdale.h.

#define TIMB_HW_CONFIG   0x08

Definition at line 37 of file timberdale.h.

#define TIMB_HW_CONFIG_SPI_8BIT   0x80

Definition at line 41 of file timberdale.h.

#define TIMB_HW_VER0   0x00

Definition at line 44 of file timberdale.h.

#define TIMB_HW_VER1   0x01

Definition at line 45 of file timberdale.h.

#define TIMB_HW_VER2   0x02

Definition at line 46 of file timberdale.h.

#define TIMB_HW_VER3   0x03

Definition at line 47 of file timberdale.h.

#define TIMB_HW_VER_MASK   0x0f

Definition at line 43 of file timberdale.h.

#define TIMB_REQUIRED_MINOR   8

Definition at line 32 of file timberdale.h.

#define TIMB_REV_MAJOR   0x00

Definition at line 35 of file timberdale.h.

#define TIMB_REV_MINOR   0x04

Definition at line 36 of file timberdale.h.

#define TIMB_SUPPORTED_MAJOR   3

Definition at line 29 of file timberdale.h.

#define TIMB_SW_RST   0x40

Definition at line 38 of file timberdale.h.

#define TIMBERDALE_NR_IRQS   16

Definition at line 123 of file timberdale.h.

#define UARTEND   0x17ff

Definition at line 79 of file timberdale.h.

#define UARTLITEEND   0x10f

Definition at line 56 of file timberdale.h.

#define UARTLITEOFFSET   0x100

Definition at line 55 of file timberdale.h.

#define UARTOFFSET   0x1400

Definition at line 78 of file timberdale.h.

#define XIICEND   0x19ff

Definition at line 82 of file timberdale.h.

#define XIICOFFSET   0x1800

Definition at line 81 of file timberdale.h.