Searched refs:eccstat (Results 1 – 2 of 2) sorted by relevance
35 static inline int check_read_ecc(uchar *buf, u32 *eccstat, in check_read_ecc() argument38 u32 reg = eccstat[bufnum / 4]; in check_read_ecc()72 u32 eccstat[8]; in nand_wait() local90 eccstat[i] = ifc_in32(&ifc->ifc_nand.nand_eccstat[i]); in nand_wait()93 if (check_read_ecc(buf, eccstat, i, page_size)) in nand_wait()
248 u32 eccstat, unsigned int bufnum) in check_read_ecc() argument250 return (eccstat >> ((3 - bufnum % 4) * 8)) & 15; in check_read_ecc()264 u32 eccstat; in fsl_ifc_run_command() local299 eccstat = ifc_in32(&eccstat_regs[sector_start / 4]); in fsl_ifc_run_command()303 eccstat = ifc_in32(&eccstat_regs[i / 4]); in fsl_ifc_run_command()305 errors = check_read_ecc(mtd, ctrl, eccstat, i); in fsl_ifc_run_command()