Linux Kernel
3.7.1
|
#include <nand.h>
struct nand_ecc_ctrl - Control structure for ECC : ECC mode : number of ECC steps per page : data bytes per ECC step : ECC bytes per step : max number of correctible bits per ECC step : total number of ECC bytes per page : padding information for syndrome based ECC generators : padding information for syndrome based ECC generators : ECC layout control struct pointer : pointer to private ECC control data : function to control hardware ECC generator. Must only be provided if an hardware ECC is available : function for ECC calculation or readback from ECC hardware : function for ECC correction, matching to ECC generator (sw/hw) : function to read a raw page without ECC : function to write a raw page without ECC : function to read a page according to the ECC generator requirements; returns maximum number of bitflips corrected in any single ECC step, 0 if bitflips uncorrectable, -EIO hw error : function to read parts of the page covered by ECC; returns same as read_page() : function to write a page according to the ECC generator requirements. : function to write chip OOB data without ECC : function to read chip OOB data without ECC : function to read chip OOB data : function to write chip OOB data
nand_ecc_modes_t mode |