1NAND_READ_PAGE_SYNDR(9) Internal Functions Provided NAND_READ_PAGE_SYNDR(9)
2
3
4
6 nand_read_page_syndrome - [REPLACEABLE] hardware ECC syndrome based
7 page read
8
10 int nand_read_page_syndrome(struct mtd_info * mtd,
11 struct nand_chip * chip, uint8_t * buf,
12 int oob_required, int page);
13
15 mtd
16 mtd info structure
17
18 chip
19 nand chip info structure
20
21 buf
22 buffer to store read data
23
24 oob_required
25 caller requires OOB data read to chip->oob_poi
26
27 page
28 page number to read
29
31 The hw generator calculates the error syndrome automatically. Therefore
32 we need a special oob layout and handling.
33
35 Thomas Gleixner <tglx@linutronix.de>
36 Author.
37
39Kernel Hackers Manual 3.10 June 2019 NAND_READ_PAGE_SYNDR(9)