Searched refs:eccstat (Results 1 – 3 of 3) sorted by relevance
| /OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/ |
| H A D | fsl_ifc_spl.c | 35 static inline int check_read_ecc(uchar *buf, u32 *eccstat, in check_read_ecc() argument 38 u32 reg = eccstat[bufnum / 4]; in check_read_ecc() 72 u32 eccstat[8]; in nand_wait() local 90 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()
|
| H A D | fsl_ifc_nand.c | 248 u32 eccstat, unsigned int bufnum) in check_read_ecc() argument 250 return (eccstat >> ((3 - bufnum % 4) * 8)) & 15; in check_read_ecc() 264 u32 eccstat; in fsl_ifc_run_command() local 299 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()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/ |
| H A D | fsl_ifc_nand.c | 164 u32 eccstat, unsigned int bufnum) in check_read_ecc() argument 166 return (eccstat >> ((3 - bufnum % 4) * 8)) & 15; in check_read_ecc() 179 u32 eccstat; in fsl_ifc_run_command() local 219 eccstat = ifc_in32(&eccstat_regs[sector_start / 4]); in fsl_ifc_run_command() 223 eccstat = ifc_in32(&eccstat_regs[i / 4]); in fsl_ifc_run_command() 225 errors = check_read_ecc(mtd, ctrl, eccstat, i); in fsl_ifc_run_command()
|