---
name: "nand_write_page"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/nand_write_page"
---

# nand\_write\_page(9)

\[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\_t** *offset***, int** *data\_len***, const uint8\_t \*** *buf***, int** *oob\_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@linutronix.de\>

Author.

## COPYRIGHT
