|
Linux Kernel
3.7.1
|
#include <docg3.h>
Data Fields | |
| struct device * | dev |
| struct docg3_cascade * | cascade |
| unsigned int | device_id:4 |
| unsigned int | if_cfg:1 |
| unsigned int | reliable:2 |
| int | max_block |
| u8 * | bbt |
| loff_t | oob_write_ofs |
| int | oob_autoecc |
| u8 | oob_write_buf [DOC_LAYOUT_OOB_SIZE] |
| struct dentry * | debugfs_root |
struct docg3 - DiskOnChip driver private data : the device currently under control : the cascade this device belongs to : number of the cascaded DoCG3 device (0, 1, 2 or 3) : if true, reads are on 16bits, else reads are on 8bits
: if 0, docg3 in normal mode, if 1 docg3 in fast mode, if 2 in reliable mode Fast mode implies more errors than normal mode. Reliable mode implies that page 2*n and 2*n+1 are clones. : bad block table cache : offset of the MTD where this OOB should belong (ie. in next page_write) : if 1, use only bytes 0-7, 15, and fill the others with HW ECC if 0, use all the 16 bytes. : prepared OOB for next page_write : debugfs root node
| struct docg3_cascade* cascade |
| u8 oob_write_buf[DOC_LAYOUT_OOB_SIZE] |
1.8.2