Query: nand_read_page_hwecc_oob_first
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
NAND_READ_PAGE_HWECC(9) Internal Functions Provided NAND_READ_PAGE_HWECC(9)NAMEnand_read_page_hwecc_oob_first - [REPLACEABLE] hw ecc, read oob firstSYNOPSISint nand_read_page_hwecc_oob_first(struct mtd_info * mtd, struct nand_chip * chip, uint8_t * buf, int oob_required, int page);ARGUMENTSmtd mtd info structure chip nand chip info structure buf buffer to store read data oob_required caller requires OOB data read to chip->oob_poi page page number to readDESCRIPTIONHardware ECC for large page chips, require OOB to be read first. For this ECC mode, the write_page method is re-used from ECC_HW. These methods read/write ECC from the OOB area, unlike the ECC_HW_SYNDROME support with multiple ECC steps, follows the "infix ECC" scheme and reads/writes ECC from the data area, by overwriting the NAND manufacturer bad block markings.AUTHORThomas Gleixner <tglx@linutronix.de> Author.COPYRIGHTKernel Hackers Manual 3.10 June 2014 NAND_READ_PAGE_HWECC(9)