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

Go to the source code of this file.

Macros

#define PCI_BT_A   0x4C
 
#define IICTFR   0x8C
 
#define IICSTA   0x90
 
#define BaseA1_in   0x94
 
#define ProtA1_in   0x98
 
#define PageA1_in   0x9C
 
#define BaseA1_out   0xA0
 
#define ProtA1_out   0xA4
 
#define PageA1_out   0xA8
 
#define BaseA2_in   0xAC
 
#define ProtA2_in   0xB0
 
#define PageA2_in   0xB4
 
#define BaseA2_out   0xB8
 
#define ProtA2_out   0xBC
 
#define PageA2_out   0xC0
 
#define IER   0xDC
 
#define GPIO_CTRL   0xE0
 
#define ACON1   0xF4
 
#define ACON2   0xF8
 
#define MC1   0xFC
 
#define MC2   0x100
 
#define ISR   0x10C
 
#define PSR   0x110
 
#define SSR   0x114
 
#define PCI_ADP1   0x12C
 
#define PCI_ADP2   0x130
 
#define PCI_ADP3   0x134
 
#define PCI_ADP4   0x138
 
#define LEVEL_REP   0x140
 
#define FB_BUFFER1   0x144
 
#define FB_BUFFER2   0x148
 
#define TSL1   0x180
 
#define TSL2   0x1C0
 
#define ME   (1UL << 11)
 
#define LIMIT   (1UL << 4)
 
#define PV   (1UL << 3)
 
#define PPEF   (1UL << 31)
 
#define PABO   (1UL << 30)
 
#define IIC_S   (1UL << 17)
 
#define IIC_E   (1UL << 16)
 
#define A2_in   (1UL << 15)
 
#define A2_out   (1UL << 14)
 
#define A1_in   (1UL << 13)
 
#define A1_out   (1UL << 12)
 
#define AFOU   (1UL << 11)
 
#define PIN3   (1UL << 6)
 
#define PIN2   (1UL << 5)
 
#define PIN1   (1UL << 4)
 
#define PIN0   (1UL << 3)
 
#define ECS   (1UL << 2)
 
#define EC3S   (1UL << 1)
 
#define EC0S   (1UL << 0)
 
#define PRQ   (1UL << 31)
 
#define PMA   (1UL << 30)
 
#define IIC_EA   (1UL << 21)
 
#define IIC_EW   (1UL << 20)
 
#define IIC_ER   (1UL << 19)
 
#define IIC_EL   (1UL << 18)
 
#define IIC_EF   (1UL << 17)
 
#define AF2_in   (1UL << 10)
 
#define AF2_out   (1UL << 9)
 
#define AF1_in   (1UL << 8)
 
#define AF1_out   (1UL << 7)
 
#define EC5S   (1UL << 3)
 
#define EC4S   (1UL << 2)
 
#define EC2S   (1UL << 1)
 
#define EC1S   (1UL << 0)
 
#define BurstA1_in   (1UL << 26)
 
#define ThreshA1_in   (1UL << 24)
 
#define BurstA1_out   (1UL << 18)
 
#define ThreshA1_out   (1UL << 16)
 
#define BurstA2_in   (1UL << 10)
 
#define ThreshA2_in   (1UL << 8)
 
#define BurstA2_out   (1UL << 2)
 
#define ThreshA2_out   (1UL << 0)
 
#define MRST_N   (1UL << 15)
 
#define EAP   (1UL << 9)
 
#define EI2C   (1UL << 8)
 
#define TR_E_A2_OUT   (1UL << 3)
 
#define TR_E_A2_IN   (1UL << 2)
 
#define TR_E_A1_OUT   (1UL << 1)
 
#define TR_E_A1_IN   (1UL << 0)
 
#define UPLD_IIC   (1UL << 0)
 
#define AUDIO_MODE   (1UL << 29)
 
#define MAXLEVEL   (1UL << 22)
 
#define A1_SWAP   (1UL << 21)
 
#define A2_SWAP   (1UL << 20)
 
#define WS0_CTRL   (1UL << 18)
 
#define WS0_SYNC   (1UL << 16)
 
#define WS1_CTRL   (1UL << 14)
 
#define WS1_SYNC   (1UL << 12)
 
#define WS2_CTRL   (1UL << 10)
 
#define WS2_SYNC   (1UL << 8)
 
#define WS3_CTRL   (1UL << 6)
 
#define WS3_SYNC   (1UL << 4)
 
#define WS4_CTRL   (1UL << 2)
 
#define WS4_SYNC   (1UL << 0)
 
#define A1_CLKSRC   (1UL << 27)
 
#define A2_CLKSRC   (1UL << 22)
 
#define INVERT_BCLK1   (1UL << 21)
 
#define INVERT_BCLK2   (1UL << 20)
 
#define BCLK1_OEN   (1UL << 19)
 
#define BCLK2_OEN   (1UL << 18)
 
#define IICCC   (1UL << 8)
 
#define ABORT   (1UL << 7)
 
#define SPERR   (1UL << 6)
 
#define APERR   (1UL << 5)
 
#define DTERR   (1UL << 4)
 
#define DRERR   (1UL << 3)
 
#define AL   (1UL << 2)
 
#define ERR   (1UL << 1)
 
#define BUSY   (1UL << 0)
 
#define BYTE2   (1UL << 24)
 
#define BYTE1   (1UL << 16)
 
#define BYTE0   (1UL << 8)
 
#define ATRR2   (1UL << 6)
 
#define ATRR1   (1UL << 4)
 
#define ATRR0   (1UL << 2)
 
#define ERR   (1UL << 1)
 
#define BUSY   (1UL << 0)
 
#define START   3
 
#define CONT   2
 
#define STOP   1
 
#define NOP   0
 

Macro Definition Documentation

#define A1_CLKSRC   (1UL << 27)

Definition at line 137 of file saa7146.h.

#define A1_in   (1UL << 13)

Definition at line 70 of file saa7146.h.

#define A1_out   (1UL << 12)

Definition at line 71 of file saa7146.h.

#define A1_SWAP   (1UL << 21)

Definition at line 123 of file saa7146.h.

#define A2_CLKSRC   (1UL << 22)

Definition at line 138 of file saa7146.h.

#define A2_in   (1UL << 15)

Definition at line 68 of file saa7146.h.

#define A2_out   (1UL << 14)

Definition at line 69 of file saa7146.h.

#define A2_SWAP   (1UL << 20)

Definition at line 124 of file saa7146.h.

#define ABORT   (1UL << 7)

Definition at line 146 of file saa7146.h.

#define ACON1   0xF4

Definition at line 42 of file saa7146.h.

#define ACON2   0xF8

Definition at line 43 of file saa7146.h.

#define AF1_in   (1UL << 8)

Definition at line 91 of file saa7146.h.

#define AF1_out   (1UL << 7)

Definition at line 92 of file saa7146.h.

#define AF2_in   (1UL << 10)

Definition at line 89 of file saa7146.h.

#define AF2_out   (1UL << 9)

Definition at line 90 of file saa7146.h.

#define AFOU   (1UL << 11)

Definition at line 72 of file saa7146.h.

#define AL   (1UL << 2)

Definition at line 151 of file saa7146.h.

#define APERR   (1UL << 5)

Definition at line 148 of file saa7146.h.

#define ATRR0   (1UL << 2)

Definition at line 161 of file saa7146.h.

#define ATRR1   (1UL << 4)

Definition at line 160 of file saa7146.h.

#define ATRR2   (1UL << 6)

Definition at line 159 of file saa7146.h.

#define AUDIO_MODE   (1UL << 29)

Definition at line 121 of file saa7146.h.

#define BaseA1_in   0x94

Definition at line 28 of file saa7146.h.

#define BaseA1_out   0xA0

Definition at line 31 of file saa7146.h.

#define BaseA2_in   0xAC

Definition at line 34 of file saa7146.h.

#define BaseA2_out   0xB8

Definition at line 37 of file saa7146.h.

#define BCLK1_OEN   (1UL << 19)

Definition at line 141 of file saa7146.h.

#define BCLK2_OEN   (1UL << 18)

Definition at line 142 of file saa7146.h.

#define BurstA1_in   (1UL << 26)

Definition at line 99 of file saa7146.h.

#define BurstA1_out   (1UL << 18)

Definition at line 101 of file saa7146.h.

#define BurstA2_in   (1UL << 10)

Definition at line 103 of file saa7146.h.

#define BurstA2_out   (1UL << 2)

Definition at line 105 of file saa7146.h.

#define BUSY   (1UL << 0)

Definition at line 163 of file saa7146.h.

#define BUSY   (1UL << 0)

Definition at line 163 of file saa7146.h.

#define BYTE0   (1UL << 8)

Definition at line 158 of file saa7146.h.

#define BYTE1   (1UL << 16)

Definition at line 157 of file saa7146.h.

#define BYTE2   (1UL << 24)

Definition at line 156 of file saa7146.h.

#define CONT   2

Definition at line 166 of file saa7146.h.

#define DRERR   (1UL << 3)

Definition at line 150 of file saa7146.h.

#define DTERR   (1UL << 4)

Definition at line 149 of file saa7146.h.

#define EAP   (1UL << 9)

Definition at line 110 of file saa7146.h.

#define EC0S   (1UL << 0)

Definition at line 79 of file saa7146.h.

#define EC1S   (1UL << 0)

Definition at line 96 of file saa7146.h.

#define EC2S   (1UL << 1)

Definition at line 95 of file saa7146.h.

#define EC3S   (1UL << 1)

Definition at line 78 of file saa7146.h.

#define EC4S   (1UL << 2)

Definition at line 94 of file saa7146.h.

#define EC5S   (1UL << 3)

Definition at line 93 of file saa7146.h.

#define ECS   (1UL << 2)

Definition at line 77 of file saa7146.h.

#define EI2C   (1UL << 8)

Definition at line 111 of file saa7146.h.

#define ERR   (1UL << 1)

Definition at line 162 of file saa7146.h.

#define ERR   (1UL << 1)

Definition at line 162 of file saa7146.h.

#define FB_BUFFER1   0x144

Definition at line 54 of file saa7146.h.

#define FB_BUFFER2   0x148

Definition at line 55 of file saa7146.h.

#define GPIO_CTRL   0xE0

Definition at line 41 of file saa7146.h.

#define IER   0xDC

Definition at line 40 of file saa7146.h.

#define IIC_E   (1UL << 16)

Definition at line 67 of file saa7146.h.

#define IIC_EA   (1UL << 21)

Definition at line 84 of file saa7146.h.

#define IIC_EF   (1UL << 17)

Definition at line 88 of file saa7146.h.

#define IIC_EL   (1UL << 18)

Definition at line 87 of file saa7146.h.

#define IIC_ER   (1UL << 19)

Definition at line 86 of file saa7146.h.

#define IIC_EW   (1UL << 20)

Definition at line 85 of file saa7146.h.

#define IIC_S   (1UL << 17)

Definition at line 66 of file saa7146.h.

#define IICCC   (1UL << 8)

Definition at line 145 of file saa7146.h.

#define IICSTA   0x90

Definition at line 27 of file saa7146.h.

#define IICTFR   0x8C

Definition at line 26 of file saa7146.h.

#define INVERT_BCLK1   (1UL << 21)

Definition at line 139 of file saa7146.h.

#define INVERT_BCLK2   (1UL << 20)

Definition at line 140 of file saa7146.h.

#define ISR   0x10C

Definition at line 46 of file saa7146.h.

#define LEVEL_REP   0x140

Definition at line 53 of file saa7146.h.

#define LIMIT   (1UL << 4)

Definition at line 60 of file saa7146.h.

#define MAXLEVEL   (1UL << 22)

Definition at line 122 of file saa7146.h.

#define MC1   0xFC

Definition at line 44 of file saa7146.h.

#define MC2   0x100

Definition at line 45 of file saa7146.h.

#define ME   (1UL << 11)

Definition at line 59 of file saa7146.h.

#define MRST_N   (1UL << 15)

Definition at line 109 of file saa7146.h.

#define NOP   0

Definition at line 168 of file saa7146.h.

#define PABO   (1UL << 30)

Definition at line 65 of file saa7146.h.

#define PageA1_in   0x9C

Definition at line 30 of file saa7146.h.

#define PageA1_out   0xA8

Definition at line 33 of file saa7146.h.

#define PageA2_in   0xB4

Definition at line 36 of file saa7146.h.

#define PageA2_out   0xC0

Definition at line 39 of file saa7146.h.

#define PCI_ADP1   0x12C

Definition at line 49 of file saa7146.h.

#define PCI_ADP2   0x130

Definition at line 50 of file saa7146.h.

#define PCI_ADP3   0x134

Definition at line 51 of file saa7146.h.

#define PCI_ADP4   0x138

Definition at line 52 of file saa7146.h.

#define PCI_BT_A   0x4C

Definition at line 25 of file saa7146.h.

#define PIN0   (1UL << 3)

Definition at line 76 of file saa7146.h.

#define PIN1   (1UL << 4)

Definition at line 75 of file saa7146.h.

#define PIN2   (1UL << 5)

Definition at line 74 of file saa7146.h.

#define PIN3   (1UL << 6)

Definition at line 73 of file saa7146.h.

#define PMA   (1UL << 30)

Definition at line 83 of file saa7146.h.

#define PPEF   (1UL << 31)

Definition at line 64 of file saa7146.h.

#define ProtA1_in   0x98

Definition at line 29 of file saa7146.h.

#define ProtA1_out   0xA4

Definition at line 32 of file saa7146.h.

#define ProtA2_in   0xB0

Definition at line 35 of file saa7146.h.

#define ProtA2_out   0xBC

Definition at line 38 of file saa7146.h.

#define PRQ   (1UL << 31)

Definition at line 82 of file saa7146.h.

#define PSR   0x110

Definition at line 47 of file saa7146.h.

#define PV   (1UL << 3)

Definition at line 61 of file saa7146.h.

#define SPERR   (1UL << 6)

Definition at line 147 of file saa7146.h.

#define SSR   0x114

Definition at line 48 of file saa7146.h.

#define START   3

Definition at line 165 of file saa7146.h.

#define STOP   1

Definition at line 167 of file saa7146.h.

#define ThreshA1_in   (1UL << 24)

Definition at line 100 of file saa7146.h.

#define ThreshA1_out   (1UL << 16)

Definition at line 102 of file saa7146.h.

#define ThreshA2_in   (1UL << 8)

Definition at line 104 of file saa7146.h.

#define ThreshA2_out   (1UL << 0)

Definition at line 106 of file saa7146.h.

#define TR_E_A1_IN   (1UL << 0)

Definition at line 115 of file saa7146.h.

#define TR_E_A1_OUT   (1UL << 1)

Definition at line 114 of file saa7146.h.

#define TR_E_A2_IN   (1UL << 2)

Definition at line 113 of file saa7146.h.

#define TR_E_A2_OUT   (1UL << 3)

Definition at line 112 of file saa7146.h.

#define TSL1   0x180

Definition at line 56 of file saa7146.h.

#define TSL2   0x1C0

Definition at line 57 of file saa7146.h.

#define UPLD_IIC   (1UL << 0)

Definition at line 118 of file saa7146.h.

#define WS0_CTRL   (1UL << 18)

Definition at line 125 of file saa7146.h.

#define WS0_SYNC   (1UL << 16)

Definition at line 126 of file saa7146.h.

#define WS1_CTRL   (1UL << 14)

Definition at line 127 of file saa7146.h.

#define WS1_SYNC   (1UL << 12)

Definition at line 128 of file saa7146.h.

#define WS2_CTRL   (1UL << 10)

Definition at line 129 of file saa7146.h.

#define WS2_SYNC   (1UL << 8)

Definition at line 130 of file saa7146.h.

#define WS3_CTRL   (1UL << 6)

Definition at line 131 of file saa7146.h.

#define WS3_SYNC   (1UL << 4)

Definition at line 132 of file saa7146.h.

#define WS4_CTRL   (1UL << 2)

Definition at line 133 of file saa7146.h.

#define WS4_SYNC   (1UL << 0)

Definition at line 134 of file saa7146.h.