Query: __nand_correct_data
OS: centos
Section: 9
Links: centos man pages all man pages
Forums: forum home forum categories
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
__NAND_CORRECT_DATA(9) Public Functions Provided __NAND_CORRECT_DATA(9)NAME__nand_correct_data - [NAND Interface] Detect and correct bit error(s)SYNOPSISint __nand_correct_data(unsigned char * buf, unsigned char * read_ecc, unsigned char * calc_ecc, unsigned int eccsize);ARGUMENTSbuf raw data read from the chip read_ecc ECC from the chip calc_ecc the ECC calculated from raw data eccsize data bytes per ECC step (256 or 512)DESCRIPTIONDetect and correct a 1 bit error for eccsize byte blockAUTHORThomas Gleixner <tglx@linutronix.de> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 __NAND_CORRECT_DATA(9)