Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mtd/nand/
Dr852.c470 uint8_t ecc_status, err_byte; in r852_ecc_correct() local
489 ecc_status = (ecc_reg >> 8) & 0xFF; in r852_ecc_correct()
492 if (ecc_status & R852_ECC_FAIL) { in r852_ecc_correct()
499 if (ecc_status & R852_ECC_CORRECTABLE) { in r852_ecc_correct()
504 err_byte, ecc_status & R852_ECC_ERR_BIT_MSK); in r852_ecc_correct()
507 1 << (ecc_status & R852_ECC_ERR_BIT_MSK); in r852_ecc_correct()
Datmel_nand.c1416 unsigned int ecc_status; in atmel_nand_correct() local
1420 ecc_status = ecc_readl(host->ecc, SR); in atmel_nand_correct()
1423 if (likely(!(ecc_status & ATMEL_ECC_RECERR))) in atmel_nand_correct()
1433 if (ecc_status & ATMEL_ECC_MULERR) { in atmel_nand_correct()
1450 if (ecc_status & ATMEL_ECC_ECCERR) { in atmel_nand_correct()
Dmxc_nand.c641 uint16_t ecc_status = get_ecc_status_v1(host); in mxc_nand_correct_data_v1() local
643 if (((ecc_status & 0x3) == 2) || ((ecc_status >> 2) == 2)) { in mxc_nand_correct_data_v1()
/linux-4.1.27/drivers/scsi/aic94xx/
Daic94xx_hwi.c977 u32 ecc_status; in asd_hst_pcix_isr() local
981 pci_read_config_dword(asd_ha->pcidev, ECC_CTRL_STAT, &ecc_status); in asd_hst_pcix_isr()
1006 else if (ecc_status & UNCOR_ECCERR) in asd_hst_pcix_isr()