/external/u-boot/fs/yaffs2/ |
D | yaffs_ecc.c | 135 int yaffs_ecc_correct(unsigned char *data, unsigned char *read_ecc, in yaffs_ecc_correct() argument 140 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() [all …]
|
D | yaffs_ecc.h | 36 int yaffs_ecc_correct(unsigned char *data, unsigned char *read_ecc, 42 struct yaffs_ecc_other *read_ecc,
|
/external/u-boot/drivers/mtd/nand/ |
D | nand_ecc.c | 134 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()
|
D | davinci_nand.c | 223 u_char *read_ecc, u_char *calc_ecc) in nand_davinci_correct_data() argument 226 u_int32_t ecc_nand = read_ecc[0] | (read_ecc[1] << 8) | in nand_davinci_correct_data() 227 (read_ecc[2] << 16); in nand_davinci_correct_data() 558 uint8_t *read_ecc, uint8_t *calc_ecc) in nand_davinci_4bit_correct_data() argument 573 if (read_ecc[i] != 0xFF) in nand_davinci_4bit_correct_data() 580 ecc16 = (unsigned short *)&read_ecc[0]; in nand_davinci_4bit_correct_data()
|
D | omap_gpmc.c | 121 uint8_t *read_ecc, uint8_t *calc_ecc) in omap_correct_data() argument 128 orig_ecc = gen_true_ecc(read_ecc); in omap_correct_data() 492 uint8_t *read_ecc, uint8_t *calc_ecc) in omap_correct_data_bch() argument 516 if (read_ecc[i] != 0xff) in omap_correct_data_bch() 563 read_ecc[byte_pos - SECTOR_BYTES] ^= 1 << bit_pos; in omap_correct_data_bch() 650 u_char *read_ecc, u_char *calc_ecc) in omap_correct_data_bch_sw() argument 659 read_ecc, calc_ecc, NULL, errloc); in omap_correct_data_bch_sw() 674 printf("%02x ", read_ecc[i]); in omap_correct_data_bch_sw()
|
D | nand_bch.c | 68 unsigned char *read_ecc, unsigned char *calc_ecc) in nand_bch_correct_data() argument 75 count = decode_bch(nbc->bch, NULL, chip->ecc.size, read_ecc, calc_ecc, in nand_bch_correct_data()
|
D | zynq_nand.c | 379 unsigned char *read_ecc, unsigned char *calc_ecc) in zynq_nand_correct_data() argument 387 read_ecc_lower = (read_ecc[0] | (read_ecc[1] << 8)) & 0xfff; in zynq_nand_correct_data() 388 read_ecc_upper = ((read_ecc[1] >> 4) | (read_ecc[2] << 4)) & 0xfff; in zynq_nand_correct_data()
|
D | fsmc_nand.c | 194 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()
|
D | lpc32xx_nand_slc.c | 385 u_char *read_ecc, u_char *calc_ecc) in lpc32xx_correct_data() argument 389 u_char *r = read_ecc; in lpc32xx_correct_data()
|
D | mxc_nand.c | 659 u_char *read_ecc, u_char *calc_ecc) argument 698 u_char *read_ecc, u_char *calc_ecc) argument
|
D | atmel_nand.c | 1080 u_char *read_ecc, u_char *isnull) in atmel_nand_correct() argument
|
/external/u-boot/include/linux/mtd/ |
D | nand_bch.h | 30 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
|
D | nand_ecc.h | 25 int nand_correct_data(struct mtd_info *mtd, u_char *dat, u_char *read_ecc, u_char *calc_ecc);
|
D | rawnand.h | 599 int (*correct)(struct mtd_info *mtd, uint8_t *dat, uint8_t *read_ecc,
|