Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
docg3 Struct Reference

#include <docg3.h>

Data Fields

struct devicedev
 
struct docg3_cascadecascade
 
unsigned int device_id:4
 
unsigned int if_cfg:1
 
unsigned int reliable:2
 
int max_block
 
u8bbt
 
loff_t oob_write_ofs
 
int oob_autoecc
 
u8 oob_write_buf [DOC_LAYOUT_OOB_SIZE]
 
struct dentrydebugfs_root
 

Detailed Description

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

Definition at line 304 of file docg3.h.

Field Documentation

u8* bbt

Definition at line 311 of file docg3.h.

Definition at line 306 of file docg3.h.

struct dentry* debugfs_root

Definition at line 315 of file docg3.h.

struct device* dev

Definition at line 305 of file docg3.h.

unsigned int device_id

Definition at line 307 of file docg3.h.

unsigned int if_cfg

Definition at line 308 of file docg3.h.

int max_block

Definition at line 310 of file docg3.h.

int oob_autoecc

Definition at line 313 of file docg3.h.

u8 oob_write_buf[DOC_LAYOUT_OOB_SIZE]

Definition at line 314 of file docg3.h.

loff_t oob_write_ofs

Definition at line 312 of file docg3.h.

unsigned int reliable

Definition at line 309 of file docg3.h.


The documentation for this struct was generated from the following file: