Searched refs:ecc_status (Results 1 – 5 of 5) sorted by relevance
189 u16 ecc_status = readw(&nfc->ecc_status_result); in nfc_nand_check_ecc() local190 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()
560 u8 ecc_status; in vf610_nfc_correct_data() local565 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()
335 u32 ecc_status; in zynq_nand_calculate_hwecc() local338 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()
665 uint32_t ecc_status = readl(&host->regs->ecc_status_result); local671 if ((ecc_status & 0xf) > 4) {685 ecc_status >>= 4;710 uint16_t ecc_status = readnfc(&host->regs->ecc_status_result); local712 if (((ecc_status & 0x3) == 2) || ((ecc_status >> 2) == 2)) {
1100 unsigned int ecc_status; in atmel_nand_correct() local1104 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