nand_write_page (9) - Linux Manuals
nand_write_page: [REPLACEABLE] write one page
NAME
nand_write_page - [REPLACEABLE] write one page
SYNOPSIS
-
int nand_write_page(struct mtd_info
* mtd, struct nand_chip* chip, uint32_toffset, int data_len, const uint8_t * buf, intoob_required, int page, int cached, int raw);
ARGUMENTS
mtd
-
- MTD device structure
chip
- NAND chip descriptor
offset
- address offset within the page
data_len
- length of actual data to be written
buf
- the data to write
oob_required
- must write chip->oob_poi to OOB
page
- page number to write
cached
- cached programming
raw
- use _raw version of write_page
AUTHOR
Thomas Gleixner <tglx [at] linutronix.de>
- Author.
COPYRIGHT