1NAND_READ(9) Internal Functions Provided NAND_READ(9)
2
3
4
6 nand_read - [MTD Interface] MTD compability function for
7 nand_do_read_ecc
8
10 int nand_read(struct mtd_info * mtd, loff_t from, size_t len,
11 size_t * retlen, uint8_t * buf);
12
14 mtd
15 MTD device structure
16
17 from
18 offset to read from
19
20 len
21 number of bytes to read
22
23 retlen
24 pointer to variable to store the number of read bytes
25
26 buf
27 the databuffer to put data
28
30 Get hold of the chip and call nand_do_read
31
33 Thomas Gleixner <tglx@linutronix.de>
34 Author.
35
37Kernel Hackers Manual 2.6. November 2011 NAND_READ(9)