---
name: "nand_write_page_syndrome"
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_syndrome"
---

# nand\_write\_page\_syndrome(9)

\[REPLACEABLE\] hardware ECC syndrome based page write

## NAME

nand\_write\_page\_syndrome - \[REPLACEABLE\] hardware ECC syndrome based page write

## SYNOPSIS

**int nand\_write\_page\_syndrome(struct mtd\_info \*** *mtd***, struct nand\_chip \*** *chip***, const uint8\_t \*** *buf***, int** *oob\_required***, int** *page***);**

## ARGUMENTS

*mtd*

mtd info structure

*chip*

nand chip info structure

*buf*

data buffer

*oob\_required*

must write chip-\>oob\_poi to OOB

*page*

page number to write

## DESCRIPTION

The hw generator calculates the error syndrome automatically. Therefore we need a special oob layout and handling.

## AUTHOR

**Thomas Gleixner** \<tglx@linutronix.de\>

Author.

## COPYRIGHT
