Lines Matching defs:erased
220 * flag will determine the current value of erased codeword status register
1513 * an erased CW, and reports an erased CW in NAND_ERASED_CW_DETECT_STATUS.
1515 * when using RS ECC, the HW reports the same erros when reading an erased CW,
1516 * but it notifies that it is an erased CW by placing special characters at
1519 * verify if the page is erased or not, and fix up the page for RS ECC by
1527 * an erased page flags an error in NAND_FLASH_STATUS, check if the page
1528 * is erased by looking for 0x54s at offsets 3 and 175 from the
1536 * if the erased codework markers, if they exist override them with
1653 * Bitflips can happen in erased codewords also so this function counts the
1655 * error. The page will be assumed as erased if this count is less than or
1705 * make sure it isn't an erased page reported
1706 * as not-erased by HW because of a few bitflips
1736 bool flash_op_err = false, erased;
1764 * 2. If this codeword contains all 0xff for which erased
1769 * For BCH ECC, ignore erased codeword errors, if
1773 erased = (erased_cw & ERASED_CW) == ERASED_CW ?
1776 * For RS ECC, HW reports the erased CW by placing
1782 erased = erased_chunk_check_and_fixup(data_buf,
1785 erased = false;
1788 if (!erased)