Home
last modified time | relevance | path

Searched refs:ecc2 (Results 1 – 5 of 5) sorted by relevance

/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dfsmc_nand.c199 u32 ecc1, ecc2, ecc3, ecc4; in fsmc_bch8_correct_data() local
234 ecc2 = readl(&fsmc_regs_p->ecc2); in fsmc_bch8_correct_data()
240 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data()
241 err_idx[3] = (ecc2 >> 7) & 0x1FFF; in fsmc_bch8_correct_data()
242 err_idx[4] = (((ecc3 >> 0) & 0x1) << 12) | ((ecc2 >> 20) & 0xFFF); in fsmc_bch8_correct_data()
285 ecc_tmp = readl(&fsmc_regs_p->ecc2); in fsmc_read_hwecc()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_mtdif.c56 spare->ecc2[0] = spare->ecc2[1] = spare->ecc2[2] = 0xff; in translate_oob2spare()
H A Dyaffs_tagscompat.c28 yaffs_ecc_calc(&data[256], spare->ecc2); in yaffs_calc_ecc()
170 yaffs_ecc_correct(&data[256], spare->ecc2, in yaffs_rd_chunk_nand()
H A Dyaffs_guts.h222 u8 ecc2[3]; member
/openbmc/u-boot/include/linux/mtd/
H A Dfsmc_nand.h21 u32 ecc2; /* 0x58 */ member