Chapter 10. Public Functions Provided

Table of Contents

nand_wait_ready — [GENERIC] Wait for the ready pin after commands.
nand_unlock — [REPLACEABLE] unlocks specified locked blocks
nand_lock — [REPLACEABLE] locks all blocks present in the device
nand_check_erased_ecc_chunk — check if an ECC chunk contains (almost) only 0xff data
nand_scan_ident — [NAND Interface] Scan for the NAND device
nand_scan_tail — [NAND Interface] Scan for the NAND device
nand_scan — [NAND Interface] Scan for the NAND device
nand_release — [NAND Interface] Free resources held by the NAND device
drivers/mtd/nand/nand_bbt.c — Document generation inconsistency
__nand_calculate_ecc — [NAND Interface] Calculate 3-byte ECC for 256/512-byte block
nand_calculate_ecc — [NAND Interface] Calculate 3-byte ECC for 256/512-byte block
__nand_correct_data — [NAND Interface] Detect and correct bit error(s)
nand_correct_data — [NAND Interface] Detect and correct bit error(s)

This chapter contains the autogenerated documentation of the NAND kernel API functions which are exported. Each function has a short description which is marked with an [XXX] identifier. See the chapter "Documentation hints" for an explanation.