Lines Matching +full:0 +full:x1032

15  *   - 0x0000 .. 0x07ff : IPL
16 * - 0x0800 .. 0x0fff : Data area
17 * - 0x1000 .. 0x17ff : Registers
18 * - 0x1800 .. 0x1fff : Unknown
20 #define DOC_IOSPACE_IPL 0x0000
21 #define DOC_IOSPACE_DATA 0x0800
22 #define DOC_IOSPACE_SIZE 0x2000
30 #define DOC_ADDR_PAGE_MASK 0x3f
48 #define DOC_ECC_BCH_PRIMPOLY 0x4443
59 #define DOC_LAYOUT_BLOCK_BBT 0
60 #define DOC_LAYOUT_BLOCK_OTP 0
68 #define DOC_LAYOUT_OOB_PAGEINFO_OFS 0
78 #define DOC_CHIPID_G3 0x200
79 #define DOC_ERASE_MARK 0xaa
84 #define DOC_CHIPID 0x1000
85 #define DOC_TEST 0x1004
86 #define DOC_BUSLOCK 0x1006
87 #define DOC_ENDIANCONTROL 0x1008
88 #define DOC_DEVICESELECT 0x100a
89 #define DOC_ASICMODE 0x100c
90 #define DOC_CONFIGURATION 0x100e
91 #define DOC_INTERRUPTCONTROL 0x1010
92 #define DOC_READADDRESS 0x101a
93 #define DOC_DATAEND 0x101e
94 #define DOC_INTERRUPTSTATUS 0x1020
96 #define DOC_FLASHSEQUENCE 0x1032
97 #define DOC_FLASHCOMMAND 0x1034
98 #define DOC_FLASHADDRESS 0x1036
99 #define DOC_FLASHCONTROL 0x1038
100 #define DOC_NOP 0x103e
102 #define DOC_ECCCONF0 0x1040
103 #define DOC_ECCCONF1 0x1042
104 #define DOC_ECCPRESET 0x1044
105 #define DOC_HAMMINGPARITY 0x1046
106 #define DOC_BCH_HW_ECC(idx) (0x1048 + idx)
108 #define DOC_PROTECTION 0x1056
109 #define DOC_DPS0_KEY 0x105c
110 #define DOC_DPS1_KEY 0x105e
111 #define DOC_DPS0_ADDRLOW 0x1060
112 #define DOC_DPS0_ADDRHIGH 0x1062
113 #define DOC_DPS1_ADDRLOW 0x1064
114 #define DOC_DPS1_ADDRHIGH 0x1066
115 #define DOC_DPS0_STATUS 0x106c
116 #define DOC_DPS1_STATUS 0x106e
118 #define DOC_ASICMODECONFIRM 0x1072
119 #define DOC_CHIPID_INV 0x1074
120 #define DOC_POWERMODE 0x107c
126 #define DOC_SEQ_RESET 0x00
127 #define DOC_SEQ_PAGE_SIZE_532 0x03
128 #define DOC_SEQ_SET_FASTMODE 0x05
129 #define DOC_SEQ_SET_RELIABLEMODE 0x09
130 #define DOC_SEQ_READ 0x12
131 #define DOC_SEQ_SET_PLANE1 0x0e
132 #define DOC_SEQ_SET_PLANE2 0x10
133 #define DOC_SEQ_PAGE_SETUP 0x1d
134 #define DOC_SEQ_ERASE 0x27
135 #define DOC_SEQ_PLANES_STATUS 0x31
140 #define DOC_CMD_READ_PLANE1 0x00
141 #define DOC_CMD_SET_ADDR_READ 0x05
142 #define DOC_CMD_READ_ALL_PLANES 0x30
143 #define DOC_CMD_READ_PLANE2 0x50
144 #define DOC_CMD_READ_FLASH 0xe0
145 #define DOC_CMD_PAGE_SIZE_532 0x3c
147 #define DOC_CMD_PROG_BLOCK_ADDR 0x60
148 #define DOC_CMD_PROG_CYCLE1 0x80
149 #define DOC_CMD_PROG_CYCLE2 0x10
150 #define DOC_CMD_PROG_CYCLE3 0x11
151 #define DOC_CMD_ERASECYCLE2 0xd0
152 #define DOC_CMD_READ_STATUS 0x70
153 #define DOC_CMD_PLANES_STATUS 0x71
155 #define DOC_CMD_RELIABLE_MODE 0x22
156 #define DOC_CMD_FAST_MODE 0xa2
158 #define DOC_CMD_RESET 0xff
163 #define DOC_CTRL_VIOLATION 0x20
164 #define DOC_CTRL_CE 0x10
165 #define DOC_CTRL_UNKNOWN_BITS 0x08
166 #define DOC_CTRL_PROTECTION_ERROR 0x04
167 #define DOC_CTRL_SEQUENCE_ERROR 0x02
168 #define DOC_CTRL_FLASHREADY 0x01
173 #define DOC_ASICMODE_RESET 0x00
174 #define DOC_ASICMODE_NORMAL 0x01
175 #define DOC_ASICMODE_POWERDOWN 0x02
176 #define DOC_ASICMODE_MDWREN 0x04
177 #define DOC_ASICMODE_BDETCT_RESET 0x08
178 #define DOC_ASICMODE_RSTIN_RESET 0x10
179 #define DOC_ASICMODE_RAM_WE 0x20
184 #define DOC_ECCCONF0_WRITE_MODE 0x0000
185 #define DOC_ECCCONF0_READ_MODE 0x8000
186 #define DOC_ECCCONF0_AUTO_ECC_ENABLE 0x4000
187 #define DOC_ECCCONF0_HAMMING_ENABLE 0x1000
188 #define DOC_ECCCONF0_BCH_ENABLE 0x0800
189 #define DOC_ECCCONF0_DATA_BYTES_MASK 0x07ff
194 #define DOC_ECCCONF1_BCH_SYNDROM_ERR 0x80
195 #define DOC_ECCCONF1_UNKOWN1 0x40
196 #define DOC_ECCCONF1_PAGE_IS_WRITTEN 0x20
197 #define DOC_ECCCONF1_UNKOWN3 0x10
198 #define DOC_ECCCONF1_HAMMING_BITS_MASK 0x0f
203 #define DOC_PROTECT_FOUNDRY_OTP_LOCK 0x01
204 #define DOC_PROTECT_CUSTOMER_OTP_LOCK 0x02
205 #define DOC_PROTECT_LOCK_INPUT 0x04
206 #define DOC_PROTECT_STICKY_LOCK 0x08
207 #define DOC_PROTECT_PROTECTION_ENABLED 0x10
208 #define DOC_PROTECT_IPL_DOWNLOAD_LOCK 0x20
209 #define DOC_PROTECT_PROTECTION_ERROR 0x80
214 #define DOC_DPS_OTP_PROTECTED 0x01
215 #define DOC_DPS_READ_PROTECTED 0x02
216 #define DOC_DPS_WRITE_PROTECTED 0x04
217 #define DOC_DPS_HW_LOCK_ENABLED 0x08
218 #define DOC_DPS_KEY_OK 0x80
223 #define DOC_CONF_IF_CFG 0x80
224 #define DOC_CONF_MAX_ID_MASK 0x30
225 #define DOC_CONF_VCCQ_3V 0x01
230 #define DOC_READADDR_INC 0x8000
231 #define DOC_READADDR_ONE_BYTE 0x4000
232 #define DOC_READADDR_ADDR_MASK 0x1fff
237 #define DOC_POWERDOWN_READY 0x80
242 #define DOC_PLANES_STATUS_FAIL 0x01
243 #define DOC_PLANES_STATUS_PLANE0_KO 0x02
244 #define DOC_PLANES_STATUS_PLANE1_KO 0x04
252 * The definition is dynamically stored in page 0 of blocks (2,3) for DPS0, and
253 * page 0 of blocks (4,5) for DPS1.
275 * @device_id: number of the cascaded DoCG3 device (0, 1, 2 or 3)
278 * @reliable: if 0, docg3 in normal mode, if 1 docg3 in fast mode, if 2 in
285 * @oob_autoecc: if 1, use only bytes 0-7, 15, and fill the others with HW ECC
286 * if 0, use all the 16 bytes.