Lines Matching refs:erased
235 * flag will determine the current value of erased codeword status register
1390 * an erased CW, and reports an erased CW in NAND_ERASED_CW_DETECT_STATUS.
1392 * when using RS ECC, the HW reports the same erros when reading an erased CW,
1393 * but it notifies that it is an erased CW by placing special characters at
1396 * verify if the page is erased or not, and fix up the page for RS ECC by
1404 * an erased page flags an error in NAND_FLASH_STATUS, check if the page
1405 * is erased by looking for 0x54s at offsets 3 and 175 from the
1413 * if the erased codework markers, if they exist override them with
1536 * Bitflips can happen in erased codewords also so this function counts the
1538 * error. The page will be assumed as erased if this count is less than or
1588 * make sure it isn't an erased page reported
1589 * as not-erased by HW because of a few bitflips
1619 bool flash_op_err = false, erased;
1647 * 2. If this codeword contains all 0xff for which erased
1652 * For BCH ECC, ignore erased codeword errors, if
1656 erased = (erased_cw & ERASED_CW) == ERASED_CW;
1658 * For RS ECC, HW reports the erased CW by placing
1664 erased = erased_chunk_check_and_fixup(data_buf,
1667 erased = false;
1670 if (!erased)