Home
last modified time | relevance | path

Searched refs:calc_ecc (Results 1 – 15 of 15) sorted by relevance

/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 Domap_gpmc.c122 uint8_t *read_ecc, uint8_t *calc_ecc) in omap_correct_data() argument
130 new_ecc = gen_true_ecc(calc_ecc); in omap_correct_data()
493 uint8_t *read_ecc, uint8_t *calc_ecc) in omap_correct_data_bch() argument
508 if (calc_ecc[i] != 0x00) in omap_correct_data_bch()
530 omap_reverse_list(calc_ecc, ecc->bytes - 1); in omap_correct_data_bch()
534 omap_reverse_list(calc_ecc, ecc->bytes); in omap_correct_data_bch()
541 err = elm_check_error(calc_ecc, bch_type, &error_count, error_loc); 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()
679 printf("%02x ", calc_ecc[i]); in omap_correct_data_bch_sw()
A Ddavinci_nand.c225 u_char *read_ecc, u_char *calc_ecc) in nand_davinci_correct_data() argument
230 u_int32_t ecc_calc = calc_ecc[0] | (calc_ecc[1] << 8) | in nand_davinci_correct_data()
231 (calc_ecc[2] << 16); in nand_davinci_correct_data()
560 uint8_t *read_ecc, uint8_t *calc_ecc) in nand_davinci_4bit_correct_data() argument
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
409 calc_ecc_lower = (calc_ecc[0] | (calc_ecc[1] << 8)) & 0xfff; in zynq_nand_correct_data()
410 calc_ecc_upper = ((calc_ecc[1] >> 4) | (calc_ecc[2] << 4)) & 0xfff; in zynq_nand_correct_data()
A Dlpc32xx_nand_slc.c379 u_char *read_ecc, u_char *calc_ecc) in lpc32xx_correct_data() argument
384 u_char *c = calc_ecc; in lpc32xx_correct_data()
A Dfsmc_nand.c194 u_char *read_ecc, u_char *calc_ecc) in fsmc_bch8_correct_data() argument
A Dmxc_nand.c661 u_char *read_ecc, u_char *calc_ecc) argument
700 u_char *read_ecc, u_char *calc_ecc) argument
/u-boot/include/linux/mtd/
A Dnand_bch.h31 u_char *calc_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.h617 uint8_t *calc_ecc);
/u-boot/fs/yaffs2/
A Dyaffs_tagscompat.c163 u8 calc_ecc[3]; in yaffs_rd_chunk_nand() local
165 yaffs_ecc_calc(data, calc_ecc); in yaffs_rd_chunk_nand()
167 yaffs_ecc_correct(data, spare->ecc1, calc_ecc); in yaffs_rd_chunk_nand()
168 yaffs_ecc_calc(&data[256], calc_ecc); in yaffs_rd_chunk_nand()
171 calc_ecc); in yaffs_rd_chunk_nand()
/u-boot/include/linux/
A Dbch.h64 const uint8_t *recv_ecc, const uint8_t *calc_ecc,
/u-boot/lib/
A Dbch.c1036 const uint8_t *recv_ecc, const uint8_t *calc_ecc, in decode_bch() argument
1050 if (!calc_ecc) { in decode_bch()
1057 load_ecc8(bch, bch->ecc_buf, calc_ecc); in decode_bch()

Completed in 27 milliseconds