1NAND_WRITE_PAGE(9) Internal Functions Provided NAND_WRITE_PAGE(9)
2
3
4
6 nand_write_page - [REPLACEABLE] write one page
7
9 int nand_write_page(struct mtd_info * mtd, struct nand_chip * chip,
10 uint32_t offset, int data_len, const uint8_t * buf,
11 int oob_required, int page, int cached, int raw);
12
14 mtd
15 MTD device structure
16
17 chip
18 NAND chip descriptor
19
20 offset
21 address offset within the page
22
23 data_len
24 length of actual data to be written
25
26 buf
27 the data to write
28
29 oob_required
30 must write chip->oob_poi to OOB
31
32 page
33 page number to write
34
35 cached
36 cached programming
37
38 raw
39 use _raw version of write_page
40
42 Thomas Gleixner <tglx@linutronix.de>
43 Author.
44
46Kernel Hackers Manual 3.10 June 2019 NAND_WRITE_PAGE(9)