Searched refs:eccstat (Results 1 – 4 of 4) sorted by relevance
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | fsl_ifc_spl.c | 34 static inline int check_read_ecc(uchar *buf, u32 *eccstat, in check_read_ecc() argument 37 u32 reg = eccstat[bufnum / 4]; in check_read_ecc() 71 u32 eccstat[8]; in nand_wait() local 89 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()
|
H A D | fsl_ifc_nand.c | 247 u32 eccstat, unsigned int bufnum) in check_read_ecc() argument 249 return (eccstat >> ((3 - bufnum % 4) * 8)) & 15; in check_read_ecc() 263 u32 eccstat; in fsl_ifc_run_command() local 298 eccstat = ifc_in32(&eccstat_regs[sector_start / 4]); in fsl_ifc_run_command() 302 eccstat = ifc_in32(&eccstat_regs[i / 4]); in fsl_ifc_run_command() 304 errors = check_read_ecc(mtd, ctrl, eccstat, i); in fsl_ifc_run_command()
|
/openbmc/linux/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()
|
/openbmc/u-boot/arch/arm/include/asm/arch-imx8m/ |
H A D | ddr.h | 97 u32 eccstat; member
|