Searched refs:ecc_status (Results 1 – 5 of 5) sorted by relevance
188 u16 ecc_status = readw(&nfc->ecc_status_result); in nfc_nand_check_ecc() local189 return (ecc_status & 0x3) == 2 || (ecc_status >> 2) == 2; in nfc_nand_check_ecc()191 u32 ecc_status = readl(&nfc->ecc_status_result); in nfc_nand_check_ecc()197 if ((ecc_status & 0xf) > err_limit) in nfc_nand_check_ecc()199 ecc_status >>= 4; in nfc_nand_check_ecc()
316 u32 ecc_status; in zynq_nand_calculate_hwecc() local319 ecc_status = zynq_nand_waitfor_ecc_completion(); in zynq_nand_calculate_hwecc()320 if (ecc_status < 0) { in zynq_nand_calculate_hwecc()322 return ecc_status; in zynq_nand_calculate_hwecc()330 ecc_status = (ecc_value >> 24) & 0xFF; in zynq_nand_calculate_hwecc()333 if (ecc_status & ZYNQ_NAND_ECC_STATUS) { in zynq_nand_calculate_hwecc()
557 u8 ecc_status; in vf610_nfc_correct_data() local562 ecc_status = vf610_nfc_read(mtd, ecc_status_off) & 0xff; in vf610_nfc_correct_data()563 ecc_count = ecc_status & ECC_STATUS_ERR_COUNT; in vf610_nfc_correct_data()565 if (!(ecc_status & ECC_STATUS_MASK)) in vf610_nfc_correct_data()
663 uint32_t ecc_status = readl(&host->regs->ecc_status_result); local669 if ((ecc_status & 0xf) > 4) {683 ecc_status >>= 4;708 uint16_t ecc_status = readnfc(&host->regs->ecc_status_result); local710 if (((ecc_status & 0x3) == 2) || ((ecc_status >> 2) == 2)) {
1083 unsigned int ecc_status; in atmel_nand_correct() local1087 ecc_status = ecc_readl(CONFIG_SYS_NAND_ECC_BASE, SR); in atmel_nand_correct()1090 if (likely(!(ecc_status & ATMEL_ECC_RECERR))) in atmel_nand_correct()1100 if (ecc_status & ATMEL_ECC_MULERR) { in atmel_nand_correct()1117 if (ecc_status & ATMEL_ECC_ECCERR) { in atmel_nand_correct()