calc_ecc 128 drivers/edac/armada_xp_edac.c uint32_t data_h, data_l, recv_ecc, calc_ecc, addr; calc_ecc 137 drivers/edac/armada_xp_edac.c calc_ecc = readl(drvdata->base + SDRAM_ERR_CALC_ECC_REG); calc_ecc 190 drivers/edac/armada_xp_edac.c row_val = (calc_ecc & SDRAM_ERR_CALC_ECC_ROW_MASK) >> SDRAM_ERR_CALC_ECC_ROW_OFFSET; calc_ecc 192 drivers/edac/armada_xp_edac.c syndrome_val = (recv_ecc ^ calc_ecc) & 0xff; calc_ecc 175 drivers/mtd/nand/raw/davinci_nand.c u_char *read_ecc, u_char *calc_ecc) calc_ecc 179 drivers/mtd/nand/raw/davinci_nand.c uint32_t eccCalc = calc_ecc[0] | (calc_ecc[1] << 8) | calc_ecc 180 drivers/mtd/nand/raw/davinci_nand.c (calc_ecc[2] << 16); calc_ecc 888 drivers/mtd/nand/raw/diskonchip.c uint8_t calc_ecc[6]; calc_ecc 910 drivers/mtd/nand/raw/diskonchip.c calc_ecc[i] = ReadDOC_(docptr, DoC_Mplus_ECCSyndrome0 + i); calc_ecc 912 drivers/mtd/nand/raw/diskonchip.c calc_ecc[i] = ReadDOC_(docptr, DoC_ECCSyndrome0 + i); calc_ecc 915 drivers/mtd/nand/raw/diskonchip.c ret = doc_ecc_decode(doc->rs_decoder, dat, calc_ecc); calc_ecc 746 drivers/mtd/nand/raw/fsmc_nand.c u8 *read_ecc, u8 *calc_ecc) calc_ecc 219 drivers/mtd/nand/raw/ingenic/ingenic_nand_drv.c u8 *read_ecc, u8 *calc_ecc) calc_ecc 73 drivers/mtd/nand/raw/ingenic/jz4725b_bch.c struct ingenic_ecc_params *params, bool calc_ecc) calc_ecc 89 drivers/mtd/nand/raw/ingenic/jz4725b_bch.c if (calc_ecc) /* calculate ECC from data */ calc_ecc 45 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c static void jz4740_ecc_reset(struct ingenic_ecc *ecc, bool calc_ecc) calc_ecc 57 drivers/mtd/nand/raw/ingenic/jz4740_ecc.c if (calc_ecc) /* calculate ECC from data */ calc_ecc 64 drivers/mtd/nand/raw/nand_bch.c unsigned char *read_ecc, unsigned char *calc_ecc) calc_ecc 70 drivers/mtd/nand/raw/nand_bch.c count = decode_bch(nbc->bch, NULL, chip->ecc.size, read_ecc, calc_ecc, calc_ecc 391 drivers/mtd/nand/raw/nand_ecc.c unsigned char *read_ecc, unsigned char *calc_ecc, calc_ecc 405 drivers/mtd/nand/raw/nand_ecc.c b0 = read_ecc[0] ^ calc_ecc[0]; calc_ecc 406 drivers/mtd/nand/raw/nand_ecc.c b1 = read_ecc[1] ^ calc_ecc[1]; calc_ecc 408 drivers/mtd/nand/raw/nand_ecc.c b0 = read_ecc[1] ^ calc_ecc[1]; calc_ecc 409 drivers/mtd/nand/raw/nand_ecc.c b1 = read_ecc[0] ^ calc_ecc[0]; calc_ecc 412 drivers/mtd/nand/raw/nand_ecc.c b2 = read_ecc[2] ^ calc_ecc[2]; calc_ecc 473 drivers/mtd/nand/raw/nand_ecc.c unsigned char *read_ecc, unsigned char *calc_ecc) calc_ecc 477 drivers/mtd/nand/raw/nand_ecc.c return __nand_correct_data(buf, read_ecc, calc_ecc, chip->ecc.size, calc_ecc 880 drivers/mtd/nand/raw/omap2.c u_char *read_ecc, u_char *calc_ecc) calc_ecc 894 drivers/mtd/nand/raw/omap2.c if (memcmp(read_ecc, calc_ecc, 3) != 0) { calc_ecc 895 drivers/mtd/nand/raw/omap2.c ret = omap_compare_ecc(read_ecc, calc_ecc, dat); calc_ecc 902 drivers/mtd/nand/raw/omap2.c calc_ecc += 3; calc_ecc 1353 drivers/mtd/nand/raw/omap2.c u_char *read_ecc, u_char *calc_ecc) calc_ecc 1361 drivers/mtd/nand/raw/omap2.c u_char *ecc_vec = calc_ecc; calc_ecc 1401 drivers/mtd/nand/raw/omap2.c if (calc_ecc[j] != 0) { calc_ecc 1408 drivers/mtd/nand/raw/omap2.c if (memcmp(calc_ecc, erased_ecc_vec, calc_ecc 1443 drivers/mtd/nand/raw/omap2.c calc_ecc += ecc->bytes; calc_ecc 463 drivers/mtd/nand/raw/r852.c uint8_t *read_ecc, uint8_t *calc_ecc) calc_ecc 507 drivers/mtd/nand/raw/s3c2410.c u_char *read_ecc, u_char *calc_ecc) calc_ecc 514 drivers/mtd/nand/raw/s3c2410.c pr_debug("%s(%p,%p,%p,%p)\n", __func__, mtd, dat, read_ecc, calc_ecc); calc_ecc 516 drivers/mtd/nand/raw/s3c2410.c diff0 = read_ecc[0] ^ calc_ecc[0]; calc_ecc 517 drivers/mtd/nand/raw/s3c2410.c diff1 = read_ecc[1] ^ calc_ecc[1]; calc_ecc 518 drivers/mtd/nand/raw/s3c2410.c diff2 = read_ecc[2] ^ calc_ecc[2]; calc_ecc 521 drivers/mtd/nand/raw/s3c2410.c __func__, 3, read_ecc, 3, calc_ecc, calc_ecc 562 drivers/mtd/nand/raw/stm32_fmc2_nand.c u8 *read_ecc, u8 *calc_ecc) calc_ecc 569 drivers/mtd/nand/raw/stm32_fmc2_nand.c b0 = read_ecc[0] ^ calc_ecc[0]; calc_ecc 570 drivers/mtd/nand/raw/stm32_fmc2_nand.c b1 = read_ecc[1] ^ calc_ecc[1]; calc_ecc 571 drivers/mtd/nand/raw/stm32_fmc2_nand.c b2 = read_ecc[2] ^ calc_ecc[2]; calc_ecc 704 drivers/mtd/nand/raw/stm32_fmc2_nand.c u8 *read_ecc, u8 *calc_ecc) calc_ecc 1089 drivers/mtd/nand/raw/stm32_fmc2_nand.c u8 *read_ecc, u8 *calc_ecc) calc_ecc 1107 drivers/mtd/nand/raw/stm32_fmc2_nand.c stm32_fmc2_ham_set_ecc(*ecc_sta, &calc_ecc[i]); calc_ecc 1110 drivers/mtd/nand/raw/stm32_fmc2_nand.c &calc_ecc[i]); calc_ecc 290 drivers/mtd/nand/raw/tmio_nand.c unsigned char *calc_ecc) calc_ecc 295 drivers/mtd/nand/raw/tmio_nand.c r0 = __nand_correct_data(buf, read_ecc, calc_ecc, 256, false); calc_ecc 298 drivers/mtd/nand/raw/tmio_nand.c r1 = __nand_correct_data(buf + 256, read_ecc + 3, calc_ecc + 3, 256, calc_ecc 190 drivers/mtd/nand/raw/txx9ndfmc.c unsigned char *calc_ecc) calc_ecc 197 drivers/mtd/nand/raw/txx9ndfmc.c stat = __nand_correct_data(buf, read_ecc, calc_ecc, 256, calc_ecc 204 drivers/mtd/nand/raw/txx9ndfmc.c calc_ecc += 3; calc_ecc 122 drivers/mtd/tests/mtd_nandecctest.c unsigned char calc_ecc[3]; calc_ecc 125 drivers/mtd/tests/mtd_nandecctest.c __nand_calculate_ecc(error_data, size, calc_ecc, calc_ecc 127 drivers/mtd/tests/mtd_nandecctest.c ret = __nand_correct_data(error_data, error_ecc, calc_ecc, size, calc_ecc 152 drivers/mtd/tests/mtd_nandecctest.c unsigned char calc_ecc[3]; calc_ecc 155 drivers/mtd/tests/mtd_nandecctest.c __nand_calculate_ecc(error_data, size, calc_ecc, calc_ecc 157 drivers/mtd/tests/mtd_nandecctest.c ret = __nand_correct_data(error_data, error_ecc, calc_ecc, size, calc_ecc 189 drivers/mtd/tests/mtd_nandecctest.c unsigned char calc_ecc[3]; calc_ecc 192 drivers/mtd/tests/mtd_nandecctest.c __nand_calculate_ecc(error_data, size, calc_ecc, calc_ecc 194 drivers/mtd/tests/mtd_nandecctest.c ret = __nand_correct_data(error_data, error_ecc, calc_ecc, size, calc_ecc 64 include/linux/bch.h const uint8_t *recv_ecc, const uint8_t *calc_ecc, calc_ecc 29 include/linux/mtd/nand_bch.h u_char *read_ecc, u_char *calc_ecc); calc_ecc 52 include/linux/mtd/nand_bch.h unsigned char *read_ecc, unsigned char *calc_ecc) calc_ecc 30 include/linux/mtd/nand_ecc.h int __nand_correct_data(u_char *dat, u_char *read_ecc, u_char *calc_ecc, calc_ecc 37 include/linux/mtd/nand_ecc.h u_char *calc_ecc); calc_ecc 371 include/linux/mtd/rawnand.h uint8_t *calc_ecc); calc_ecc 997 lib/bch.c const uint8_t *recv_ecc, const uint8_t *calc_ecc, calc_ecc 1011 lib/bch.c if (!calc_ecc) { calc_ecc 1018 lib/bch.c load_ecc8(bch, bch->ecc_buf, calc_ecc);