Home
last modified time | relevance | path

Searched refs:ecc_status (Results 1 – 5 of 5) sorted by relevance

/u-boot/drivers/mtd/nand/raw/
A Dmxc_nand_spl.c189 u16 ecc_status = readw(&nfc->ecc_status_result); in nfc_nand_check_ecc() local
190 return (ecc_status & 0x3) == 2 || (ecc_status >> 2) == 2; in nfc_nand_check_ecc()
192 u32 ecc_status = readl(&nfc->ecc_status_result); in nfc_nand_check_ecc()
198 if ((ecc_status & 0xf) > err_limit) in nfc_nand_check_ecc()
200 ecc_status >>= 4; in nfc_nand_check_ecc()
A Dvf610_nfc.c560 u8 ecc_status; in vf610_nfc_correct_data() local
565 ecc_status = vf610_nfc_read(mtd, ecc_status_off) & 0xff; in vf610_nfc_correct_data()
566 ecc_count = ecc_status & ECC_STATUS_ERR_COUNT; in vf610_nfc_correct_data()
568 if (!(ecc_status & ECC_STATUS_MASK)) in vf610_nfc_correct_data()
A Dzynq_nand.c335 u32 ecc_status; in zynq_nand_calculate_hwecc() local
338 ecc_status = zynq_nand_waitfor_ecc_completion(mtd); in zynq_nand_calculate_hwecc()
339 if (ecc_status < 0) { in zynq_nand_calculate_hwecc()
341 return ecc_status; in zynq_nand_calculate_hwecc()
349 ecc_status = (ecc_value >> 24) & 0xFF; in zynq_nand_calculate_hwecc()
352 if (ecc_status & ZYNQ_NAND_ECC_STATUS) { in zynq_nand_calculate_hwecc()
A Dmxc_nand.c665 uint32_t ecc_status = readl(&host->regs->ecc_status_result); local
671 if ((ecc_status & 0xf) > 4) {
685 ecc_status >>= 4;
710 uint16_t ecc_status = readnfc(&host->regs->ecc_status_result); local
712 if (((ecc_status & 0x3) == 2) || ((ecc_status >> 2) == 2)) {
A Datmel_nand.c1100 unsigned int ecc_status; in atmel_nand_correct() local
1104 ecc_status = ecc_readl(CONFIG_SYS_NAND_ECC_BASE, SR); in atmel_nand_correct()
1107 if (likely(!(ecc_status & ATMEL_ECC_RECERR))) in atmel_nand_correct()
1117 if (ecc_status & ATMEL_ECC_MULERR) { in atmel_nand_correct()
1134 if (ecc_status & ATMEL_ECC_ECCERR) { in atmel_nand_correct()

Completed in 14 milliseconds