Chapter 11. Internal Functions Provided
Prev |  | Next

## Chapter 11. Internal Functions Provided

Table of Contents

nand_release_device — [GENERIC] release chip
nand_read_byte — [DEFAULT] read one byte from the chip
nand_read_byte16 — [DEFAULT] read one byte endianess aware from the chip
nand_read_word — [DEFAULT] read one word from the chip
nand_select_chip — [DEFAULT] control CE line
nand_write_buf — [DEFAULT] write buffer to chip
nand_read_buf — [DEFAULT] read chip data into buffer
nand_verify_buf — [DEFAULT] Verify chip data against buffer
nand_write_buf16 — [DEFAULT] write buffer to chip
nand_read_buf16 — [DEFAULT] read chip data into buffer
nand_verify_buf16 — [DEFAULT] Verify chip data against buffer
nand_block_bad — [DEFAULT] Read bad block marker from the chip
nand_default_block_markbad — [DEFAULT] mark a block bad
nand_check_wp — [GENERIC] check if the chip is write protected
nand_block_checkbad — [GENERIC] Check if a block is marked bad
nand_command — [DEFAULT] Send command to NAND device
nand_command_lp — [DEFAULT] Send command to NAND large page device
nand_get_device — [GENERIC] Get chip for selected access
nand_wait — [DEFAULT] wait until the command is done
nand_read_page_raw — [Intern] read raw page data without ecc
nand_read_page_swecc — [REPLACABLE] software ecc based page read function
nand_read_page_hwecc — [REPLACABLE] hardware ecc based page read function
nand_read_page_syndrome — [REPLACABLE] hardware ecc syndrom based page read
nand_transfer_oob — [Internal] Transfer oob to client buffer
nand_do_read_ops — [Internal] Read data with ECC
nand_read — [MTD Interface] MTD compability function for nand_do_read_ecc
nand_read_oob_std — [REPLACABLE] the most common OOB data read function
nand_read_oob_syndrome — [REPLACABLE] OOB data read function for HW ECC
nand_write_oob_std — [REPLACABLE] the most common OOB data write function
nand_write_oob_syndrome — [REPLACABLE] OOB data write function for HW ECC
nand_do_read_oob — [Intern] NAND read out-of-band
nand_read_oob — [MTD Interface] NAND read data and/or out-of-band
nand_write_page_raw — [Intern] raw page write function
nand_write_page_swecc — [REPLACABLE] software ecc based page write function
nand_write_page_hwecc — [REPLACABLE] hardware ecc based page write function
nand_write_page_syndrome — [REPLACABLE] hardware ecc syndrom based page write
nand_write_page — [REPLACEABLE] write one page
nand_fill_oob — [Internal] Transfer client buffer to oob
nand_do_write_ops — [Internal] NAND write with ECC
nand_write — [MTD Interface] NAND write with ECC
nand_do_write_oob — [MTD Interface] NAND write out-of-band
nand_write_oob — [MTD Interface] NAND write data and/or out-of-band
single_erase_cmd — [GENERIC] NAND standard block erase command function
multi_erase_cmd — [GENERIC] AND specific block erase command function
nand_erase — [MTD Interface] erase block(s)
nand_erase_nand — [Internal] erase block(s)
nand_sync — [MTD Interface] sync
nand_block_isbad — [MTD Interface] Check if block at offset is bad
nand_block_markbad — [MTD Interface] Mark block at the given offset as bad
nand_suspend — [MTD Interface] Suspend the NAND flash
nand_resume — [MTD Interface] Resume the NAND flash
check_pattern — [GENERIC] check if a pattern is in the buffer
check_short_pattern — [GENERIC] check if a pattern is in the buffer
read_bbt — [GENERIC] Read the bad block table starting from page
read_abs_bbt — [GENERIC] Read the bad block table starting at a given page
read_abs_bbts — [GENERIC] Read the bad block table(s) for all chips starting at a given page
create_bbt — [GENERIC] Create a bad block table by scanning the device
search_bbt — [GENERIC] scan the device for a specific bad block table
search_read_bbts — [GENERIC] scan the device for bad block table(s)
write_bbt — [GENERIC] (Re)write the bad block table
nand_memory_bbt — [GENERIC] create a memory based bad block table
check_create — [GENERIC] create and write bbt(s) if necessary
mark_bbt_region — [GENERIC] mark the bad block table regions
nand_update_bbt — [NAND Interface] update bad block table(s)
nand_isbad_bbt — [NAND Interface] Check if a block is bad

This chapter contains the autogenerated documentation of the NAND driver internal functions. Each function has a short description which is marked with an [XXX] identifier. See the chapter "Documentation hints" for an explanation. The functions marked with [DEFAULT] might be relevant for a board driver developer.

Prev |  | Next
nand_correct_data | Home | nand_release_device