Home
last modified time | relevance | path

Searched refs:ecc1 (Results 1 – 6 of 6) 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
233 ecc1 = readl(&fsmc_regs_p->ecc1); in fsmc_bch8_correct_data()
238 err_idx[0] = (ecc1 >> 0) & 0x1FFF; in fsmc_bch8_correct_data()
239 err_idx[1] = (ecc1 >> 13) & 0x1FFF; in fsmc_bch8_correct_data()
240 err_idx[2] = (((ecc2 >> 0) & 0x7F) << 6) | ((ecc1 >> 26) & 0x3F); in fsmc_bch8_correct_data()
279 ecc_tmp = readl(&fsmc_regs_p->ecc1); in fsmc_read_hwecc()
302 ecc_tmp = readl(&fsmc_regs_p->ecc1); in fsmc_read_hwecc()
/openbmc/u-boot/fs/yaffs2/
H A Dyaffs_mtdif.c53 spare->ecc1[0] = spare->ecc1[1] = spare->ecc1[2] = 0xff; in translate_oob2spare()
H A Dyaffs_tagscompat.c27 yaffs_ecc_calc(data, spare->ecc1); in yaffs_calc_ecc()
167 yaffs_ecc_correct(data, spare->ecc1, calc_ecc); in yaffs_rd_chunk_nand()
H A Dyaffs_guts.h219 u8 ecc1[3]; member
/openbmc/u-boot/include/linux/mtd/
H A Dfsmc_nand.h20 u32 ecc1; /* 0x54 */ member
H A Ddoc2000.h196 int doc_decode_ecc(unsigned char sector[512], unsigned char ecc1[6]);