Lines Matching +full:flash +full:- +full:mode
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * Handles the M-Systems DiskOnChip G3 chip
14 * Flash memory areas :
15 * - 0x0000 .. 0x07ff : IPL
16 * - 0x0800 .. 0x0fff : Data area
17 * - 0x1000 .. 0x17ff : Registers
18 * - 0x1800 .. 0x1fff : Unknown
82 * Flash registers
123 * Flash sequences
138 * Flash commands
161 * Flash register : DOC_FLASHCONTROL
171 * Flash register : DOC_ASICMODE
182 * Flash register : DOC_ECCCONF0
192 * Flash register : DOC_ECCCONF1
201 * Flash register : DOC_PROTECTION
212 * Flash register : DOC_DPS0_STATUS and DOC_DPS1_STATUS
221 * Flash register : DOC_CONFIGURATION
228 * Flash register : DOC_READADDRESS
235 * Flash register : DOC_POWERMODE
258 * struct docg3_cascade - Cascade of 1 to 4 docg3 chips
272 * struct docg3 - DiskOnChip driver private data
278 * @reliable: if 0, docg3 in normal mode, if 1 docg3 in fast mode, if 2 in
279 * reliable mode
280 * Fast mode implies more errors than normal mode.
281 * Reliable mode implies that page 2*n and 2*n+1 are clones.
285 * @oob_autoecc: if 1, use only bytes 0-7, 15, and fill the others with HW ECC
302 #define doc_err(fmt, arg...) dev_err(docg3->dev, (fmt), ## arg)
303 #define doc_info(fmt, arg...) dev_info(docg3->dev, (fmt), ## arg)
304 #define doc_dbg(fmt, arg...) dev_dbg(docg3->dev, (fmt), ## arg)
305 #define doc_vdbg(fmt, arg...) dev_vdbg(docg3->dev, (fmt), ## arg)
328 __entry->op = op;
329 __entry->width = width;
330 __entry->reg = reg;
331 __entry->val = val;),
333 __entry->op ? "write" : "read", __entry->width,
334 __entry->reg, __entry->val)