Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H 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()
H A Dzynq_nand.c317 u32 ecc_status; in zynq_nand_calculate_hwecc() local
320 ecc_status = zynq_nand_waitfor_ecc_completion(); in zynq_nand_calculate_hwecc()
321 if (ecc_status < 0) { in zynq_nand_calculate_hwecc()
323 return ecc_status; in zynq_nand_calculate_hwecc()
331 ecc_status = (ecc_value >> 24) & 0xFF; in zynq_nand_calculate_hwecc()
334 if (ecc_status & ZYNQ_NAND_ECC_STATUS) { in zynq_nand_calculate_hwecc()
H A Dvf610_nfc.c558 u8 ecc_status; in vf610_nfc_correct_data() local
563 ecc_status = vf610_nfc_read(mtd, ecc_status_off) & 0xff; in vf610_nfc_correct_data()
564 ecc_count = ecc_status & ECC_STATUS_ERR_COUNT; in vf610_nfc_correct_data()
566 if (!(ecc_status & ECC_STATUS_MASK)) in vf610_nfc_correct_data()
H A Dmxc_nand.c664 uint32_t ecc_status = readl(&host->regs->ecc_status_result); local
670 if ((ecc_status & 0xf) > 4) {
684 ecc_status >>= 4;
709 uint16_t ecc_status = readnfc(&host->regs->ecc_status_result); local
711 if (((ecc_status & 0x3) == 2) || ((ecc_status >> 2) == 2)) {
H A Datmel_nand.c1084 unsigned int ecc_status; in atmel_nand_correct() local
1088 ecc_status = ecc_readl(CONFIG_SYS_NAND_ECC_BASE, SR); in atmel_nand_correct()
1091 if (likely(!(ecc_status & ATMEL_ECC_RECERR))) in atmel_nand_correct()
1101 if (ecc_status & ATMEL_ECC_MULERR) { in atmel_nand_correct()
1118 if (ecc_status & ATMEL_ECC_ECCERR) { in atmel_nand_correct()
/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dnand_toshiba.c32 u8 *ecc_status = buf; in toshiba_nand_benand_read_eccstatus_op() local
40 NAND_OP_8BIT_DATA_IN(chip->ecc.steps, ecc_status, 0), in toshiba_nand_benand_read_eccstatus_op()
55 u8 status, ecc_status[TOSHIBA_NAND_MAX_ECC_STEPS]; in toshiba_nand_benand_eccstatus() local
58 ret = toshiba_nand_benand_read_eccstatus_op(chip, ecc_status); in toshiba_nand_benand_eccstatus()
63 bitflips = ecc_status[i] & TOSHIBA_NAND_ECC_STATUS_MASK; in toshiba_nand_benand_eccstatus()
H A Dr852.c466 uint8_t ecc_status, err_byte; in r852_ecc_correct() local
485 ecc_status = (ecc_reg >> 8) & 0xFF; in r852_ecc_correct()
488 if (ecc_status & R852_ECC_FAIL) { in r852_ecc_correct()
495 if (ecc_status & R852_ECC_CORRECTABLE) { in r852_ecc_correct()
500 err_byte, ecc_status & R852_ECC_ERR_BIT_MSK); in r852_ecc_correct()
503 1 << (ecc_status & R852_ECC_ERR_BIT_MSK); in r852_ecc_correct()
H A Dvf610_nfc.c513 u8 ecc_status; in vf610_nfc_correct_data() local
517 ecc_status = vf610_nfc_read(nfc, ecc_status_off) & 0xff; in vf610_nfc_correct_data()
518 ecc_count = ecc_status & ECC_STATUS_ERR_COUNT; in vf610_nfc_correct_data()
520 if (!(ecc_status & ECC_STATUS_MASK)) in vf610_nfc_correct_data()
/OK3568_Linux_fs/kernel/drivers/rkflash/
H A Dsfc_nand.h112 u32 (*ecc_status)(void); member
H A Dsfc_nand.c935 ecc_result = p_nand_info->ecc_status(); in sfc_nand_read()
/OK3568_Linux_fs/u-boot/drivers/rkflash/
H A Dsfc_nand.h113 u32 (*ecc_status)(void); member
H A Dsfc_nand.c950 ecc_result = p_nand_info->ecc_status(); in sfc_nand_read()
/OK3568_Linux_fs/kernel/drivers/scsi/aic94xx/
H A Daic94xx_hwi.c961 u32 ecc_status; in asd_hst_pcix_isr() local
965 pci_read_config_dword(asd_ha->pcidev, ECC_CTRL_STAT, &ecc_status); in asd_hst_pcix_isr()
990 else if (ecc_status & UNCOR_ECCERR) in asd_hst_pcix_isr()