1NAND_READ(9)              Internal Functions Provided             NAND_READ(9)
2
3
4

NAME

6       nand_read - [MTD Interface] MTD compatibility function for
7       nand_do_read_ecc
8

SYNOPSIS

10       int nand_read(struct mtd_info * mtd, loff_t from, size_t len,
11                     size_t * retlen, uint8_t * buf);
12

ARGUMENTS

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

DESCRIPTION

30       Get hold of the chip and call nand_do_read.
31

AUTHOR

33       Thomas Gleixner <tglx@linutronix.de>
34           Author.
35
37Kernel Hackers Manual 3.10         June 2019                      NAND_READ(9)
Impressum