other versions
__NAND_CALCULATE_ECC(9) | Public Functions Provided | __NAND_CALCULATE_ECC(9) |
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¶
const unsigned char * buf
input buffer with raw data
unsigned int eccsize
data bytes per ECC step (256 or 512)
unsigned char * code
output buffer with ECC
AUTHOR¶
Thomas Gleixner <tglx@linutronix.de>
Author.
COPYRIGHT¶
September 2017 | Kernel Hackers Manual 4.12 |