'\" t .\" Title: nand_write_page .\" Author: .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Internal Functions Provided .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "NAND_WRITE_PAGE" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "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 \- [REPLACEABLE] write one page .SH "SYNOPSIS" .HP \w'int\ nand_write_page('u .BI "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" ");" .SH "ARGUMENTS" .PP \fImtd\fR .RS 4 MTD device structure .RE .PP \fIchip\fR .RS 4 NAND chip descriptor .RE .PP \fIoffset\fR .RS 4 address offset within the page .RE .PP \fIdata_len\fR .RS 4 length of actual data to be written .RE .PP \fIbuf\fR .RS 4 the data to write .RE .PP \fIoob_required\fR .RS 4 must write chip\->oob_poi to OOB .RE .PP \fIpage\fR .RS 4 page number to write .RE .PP \fIcached\fR .RS 4 cached programming .RE .PP \fIraw\fR .RS 4 use _raw version of write_page .RE .SH "AUTHOR" .PP \fBThomas Gleixner\fR <\&tglx@linutronix.de\&> .RS 4 Author. .RE .SH "COPYRIGHT" .br