---
name: "nand_write_page_swecc"
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_swecc"
---

# nand\_write\_page\_swecc(9)

\[REPLACEABLE\] software ECC based page write function

## NAME

nand\_write\_page\_swecc - \[REPLACEABLE\] software ECC based page write function

## SYNOPSIS

**int nand\_write\_page\_swecc(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

## AUTHOR

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

Author.

## COPYRIGHT
