'\" t .\" Title: nand_write_page_swecc .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: July 2017 .\" Manual: Internal Functions Provided .\" Source: Kernel Hackers Manual 4.12.2 .\" Language: English .\" .TH "NAND_WRITE_PAGE_SWEC" "9" "July 2017" "Kernel Hackers Manual 4\&.12\&" "Internal Functions Provided" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" nand_write_page_swecc \- [REPLACEABLE] software ECC based page write function .SH "SYNOPSIS" .HP \w'int\ nand_write_page_swecc('u .BI "int nand_write_page_swecc(struct\ mtd_info\ *\ " "mtd" ", struct\ nand_chip\ *\ " "chip" ", const\ uint8_t\ *\ " "buf" ", int\ " "oob_required" ", int\ " "page" ");" .SH "ARGUMENTS" .PP \fIstruct mtd_info * mtd\fR .RS 4 mtd info structure .RE .PP \fIstruct nand_chip * chip\fR .RS 4 nand chip info structure .RE .PP \fIconst uint8_t * buf\fR .RS 4 data buffer .RE .PP \fIint oob_required\fR .RS 4 must write chip\->oob_poi to OOB .RE .PP \fIint page\fR .RS 4 page number to write .RE .SH "AUTHOR" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br