.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "NAND_WRITE_PAGE" "9" "09 October 2005" "" "" .SH NAME nand_write_page \- [GENERIC] write one page .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int nand_write_page (struct mtd_info * \fImtd\fB, struct nand_chip * \fIthis\fB, int \fIpage\fB, u_char * \fIoob_buf\fB, struct nand_oobinfo * \fIoobsel\fB, int \fIcached\fB); \fR .SH "ARGUMENTS" .TP \fB\fImtd\fB\fR MTD device structure .TP \fB\fIthis\fB\fR NAND chip structure .TP \fB\fIpage\fB\fR startpage inside the chip, must be called with (page & this->pagemask) .TP \fB\fIoob_buf\fB\fR out of band data buffer .TP \fB\fIoobsel\fB\fR out of band selecttion structre .TP \fB\fIcached\fB\fR 1 = enable cached programming if supported by chip .SH "DESCRIPTION" .PP Nand_page_program function is used for write and writev ! This function will always program a full page of data If you call it with a non page aligned buffer, you're lost :) .PP Cached programming is not supported yet.