---
name: "nand_write_subpage_hwecc"
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_subpage_hwecc"
---

# nand\_write\_subpage\_hwecc(9)

\[REPLACEABLE\] hardware ECC based subpage write

## NAME

nand\_write\_subpage\_hwecc - \[REPLACEABLE\] hardware ECC based subpage write

## SYNOPSIS

**int nand\_write\_subpage\_hwecc(struct mtd\_info \*** *mtd***, struct nand\_chip \*** *chip***, uint32\_t** *offset***, uint32\_t** *data\_len***, const uint8\_t \*** *buf***, int** *oob\_required***, int** *page***);**

## ARGUMENTS

*mtd*

mtd info structure

*chip*

nand chip info structure

*offset*

column address of subpage within the page

*data\_len*

data length

*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
