1NAND_WRITE(9) Internal Functions Provided NAND_WRITE(9)
2
3
4
6 nand_write - [MTD Interface] NAND write with ECC
7
9 int nand_write(struct mtd_info * mtd, loff_t to, size_t len,
10 size_t * retlen, const uint8_t * buf);
11
13 mtd
14 MTD device structure
15
16 to
17 offset to write to
18
19 len
20 number of bytes to write
21
22 retlen
23 pointer to variable to store the number of written bytes
24
25 buf
26 the data to write
27
29 NAND write with ECC
30
32 Thomas Gleixner <tglx@linutronix.de>
33 Author.
34
36Kernel Hackers Manual 2.6. June 2019 NAND_WRITE(9)