Searched refs:eccstat (Results 1 – 3 of 3) sorted by relevance
34 static inline int check_read_ecc(uchar *buf, u32 *eccstat, in check_read_ecc() argument37 u32 reg = eccstat[bufnum / 4]; in check_read_ecc()71 u32 eccstat[8]; in nand_wait() local89 eccstat[i] = ifc_in32(&ifc->ifc_nand.nand_eccstat[i]); in nand_wait()92 if (check_read_ecc(buf, eccstat, i, page_size)) in nand_wait()
272 u32 eccstat, unsigned int bufnum) in check_read_ecc() argument274 return (eccstat >> ((3 - bufnum % 4) * 8)) & 15; in check_read_ecc()288 u32 eccstat; in fsl_ifc_run_command() local323 eccstat = ifc_in32(&eccstat_regs[sector_start / 4]); in fsl_ifc_run_command()327 eccstat = ifc_in32(&eccstat_regs[i / 4]); in fsl_ifc_run_command()329 errors = check_read_ecc(mtd, ctrl, eccstat, i); in fsl_ifc_run_command()
93 u32 eccstat; member