1. NAME

panic_nand_write - [MTD Interface] NAND write with ECC

2. SYNOPSIS

int panic_nand_write(struct mtd_info *  mtd , loff_t  to , size_t  len , size_t *  retlen , const uint8_t *  buf );

3. ARGUMENTS

mtd
    MTD device structure

to
    offset to write to

len
    number of bytes to write

retlen
    pointer to variable to store the number of written bytes

buf
    the data to write

4. DESCRIPTION

NAND write with ECC. Used when performing writes in interrupt context, this may for example be called by mtdoops when writing an oops while in panic.

5. AUTHOR

Thomas Gleixner <>
    Author.

6. COPYRIGHT