NAND_WRITE_PAGE

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

nand_write_page - [GENERIC] write one page  

SYNOPSIS

"SYNOPSIS"

int nand_write_page (struct mtd_info * mtd, struct nand_chip * this, int page, u_char * oob_buf, struct nand_oobinfo * oobsel, int cached);  

ARGUMENTS

mtd
MTD device structure
this
NAND chip structure
page
startpage inside the chip, must be called with (page & this->pagemask)
oob_buf
out of band data buffer
oobsel
out of band selecttion structre
cached
1 = enable cached programming if supported by chip
 

DESCRIPTION

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 :)

Cached programming is not supported yet.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:32 GMT, October 09, 2005