1. NAME

scan_read_oob - [GENERIC] Scan data+OOB region to buffer

2. SYNOPSIS

int scan_read_oob(struct mtd_info *  mtd , uint8_t *  buf , loff_t  offs , size_t  len );

3. ARGUMENTS

mtd
    MTD device structure

buf
    temporary buffer

offs
    offset at which to scan

len
    length of data region to read

4. DESCRIPTION

Scan read data from data+OOB. May traverse multiple pages, interleaving page,OOB,page,OOB,... in buf. Completes transfer and returns the « strongest » ECC condition (error or bitflip). May quit on the first (non-ECC) error.

5. AUTHOR

Thomas Gleixner < >
    Author.

6. COPYRIGHT