__nand_calculate_ecc

Langue: en

Version: October 2010 (fedora - 01/12/10)

Section: 9 (Appels noyau Linux)

NAME

__nand_calculate_ecc - [NAND Interface] Calculate 3-byte ECC for 256/512-byte block

SYNOPSIS

void __nand_calculate_ecc(const unsigned char * buf, unsigned int eccsize, unsigned char * code);

ARGUMENTS

buf

input buffer with raw data

eccsize

data bytes per ecc step (256 or 512)

code

output buffer with ECC

AUTHOR

Thomas Gleixner <tglx@linutronix.de>

Author.