Home
last modified time | relevance | path

Searched refs:read_ecc (Results 1 – 16 of 16) sorted by relevance

/u-boot/fs/yaffs2/
A Dyaffs_ecc.c140 d0 = read_ecc[0] ^ test_ecc[0]; in yaffs_ecc_correct()
141 d1 = read_ecc[1] ^ test_ecc[1]; in yaffs_ecc_correct()
142 d2 = read_ecc[2] ^ test_ecc[2]; in yaffs_ecc_correct()
189 read_ecc[0] = test_ecc[0]; in yaffs_ecc_correct()
190 read_ecc[1] = test_ecc[1]; in yaffs_ecc_correct()
191 read_ecc[2] = test_ecc[2]; in yaffs_ecc_correct()
232 struct yaffs_ecc_other *read_ecc, in yaffs_ecc_correct_other() argument
240 delta_col = read_ecc->col_parity ^ test_ecc->col_parity; in yaffs_ecc_correct_other()
241 delta_line = read_ecc->line_parity ^ test_ecc->line_parity; in yaffs_ecc_correct_other()
243 read_ecc->line_parity_prime ^ test_ecc->line_parity_prime; in yaffs_ecc_correct_other()
[all …]
A Dyaffs_ecc.h36 int yaffs_ecc_correct(unsigned char *data, unsigned char *read_ecc,
42 struct yaffs_ecc_other *read_ecc,
/u-boot/drivers/mtd/nand/raw/
A Dnand_ecc.c134 u_char *read_ecc, u_char *calc_ecc) in nand_correct_data() argument
138 s1 = calc_ecc[0] ^ read_ecc[0]; in nand_correct_data()
139 s0 = calc_ecc[1] ^ read_ecc[1]; in nand_correct_data()
140 s2 = calc_ecc[2] ^ read_ecc[2]; in nand_correct_data()
A Ddavinci_nand.c225 u_char *read_ecc, u_char *calc_ecc) in nand_davinci_correct_data() argument
228 u_int32_t ecc_nand = read_ecc[0] | (read_ecc[1] << 8) | in nand_davinci_correct_data()
229 (read_ecc[2] << 16); in nand_davinci_correct_data()
560 uint8_t *read_ecc, uint8_t *calc_ecc) in nand_davinci_4bit_correct_data() argument
575 if (read_ecc[i] != 0xFF) in nand_davinci_4bit_correct_data()
582 ecc16 = (unsigned short *)&read_ecc[0]; in nand_davinci_4bit_correct_data()
A Domap_gpmc.c122 uint8_t *read_ecc, uint8_t *calc_ecc) in omap_correct_data() argument
129 orig_ecc = gen_true_ecc(read_ecc); in omap_correct_data()
493 uint8_t *read_ecc, uint8_t *calc_ecc) in omap_correct_data_bch() argument
517 if (read_ecc[i] != 0xff) in omap_correct_data_bch()
564 read_ecc[byte_pos - SECTOR_BYTES] ^= 1 << bit_pos; in omap_correct_data_bch()
651 u_char *read_ecc, u_char *calc_ecc) in omap_correct_data_bch_sw() argument
660 read_ecc, calc_ecc, NULL, errloc); in omap_correct_data_bch_sw()
675 printf("%02x ", read_ecc[i]); in omap_correct_data_bch_sw()
A Dnand_bch.c70 unsigned char *read_ecc, unsigned char *calc_ecc) in nand_bch_correct_data() argument
77 count = decode_bch(nbc->bch, NULL, chip->ecc.size, read_ecc, calc_ecc, in nand_bch_correct_data()
A Dstm32_fmc2_nand.c346 u8 *read_ecc, u8 *calc_ecc) in stm32_fmc2_nfc_ham_correct() argument
353 b0 = read_ecc[0] ^ calc_ecc[0]; in stm32_fmc2_nfc_ham_correct()
354 b1 = read_ecc[1] ^ calc_ecc[1]; in stm32_fmc2_nfc_ham_correct()
355 b2 = read_ecc[2] ^ calc_ecc[2]; in stm32_fmc2_nfc_ham_correct()
450 u8 *read_ecc, u8 *calc_ecc) in stm32_fmc2_nfc_bch_correct() argument
A Dzynq_nand.c398 unsigned char *read_ecc, unsigned char *calc_ecc) in zynq_nand_correct_data() argument
406 read_ecc_lower = (read_ecc[0] | (read_ecc[1] << 8)) & 0xfff; in zynq_nand_correct_data()
407 read_ecc_upper = ((read_ecc[1] >> 4) | (read_ecc[2] << 4)) & 0xfff; in zynq_nand_correct_data()
A Dfsmc_nand.c194 u_char *read_ecc, u_char *calc_ecc) in fsmc_bch8_correct_data() argument
221 int bits_ecc = count_written_bits(read_ecc, 13, 8); in fsmc_bch8_correct_data()
A Dlpc32xx_nand_slc.c379 u_char *read_ecc, u_char *calc_ecc) in lpc32xx_correct_data() argument
383 u_char *r = read_ecc; in lpc32xx_correct_data()
A Dmxc_nand.c661 u_char *read_ecc, u_char *calc_ecc) argument
700 u_char *read_ecc, u_char *calc_ecc) argument
A Docteontx_nand.c1525 u_char *read_ecc, u_char *isnull) in octeontx_nand_bch_correct() argument
1552 memcpy(data_buffer + nand->ecc.size, read_ecc, nand->ecc.bytes); in octeontx_nand_bch_correct()
A Datmel_nand.c1097 u_char *read_ecc, u_char *isnull) in atmel_nand_correct() argument
/u-boot/include/linux/mtd/
A Dnand_bch.h30 int nand_bch_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc,
54 unsigned char *read_ecc, unsigned char *calc_ecc) in nand_bch_correct_data() argument
A Dnand_ecc.h25 int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
A Drawnand.h616 int (*correct)(struct mtd_info *mtd, uint8_t *dat, uint8_t *read_ecc,

Completed in 116 milliseconds