Lines Matching refs:ecc_calc
1863 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_swecc() local
1871 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page_swecc()
1882 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page_swecc()
2022 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc() local
2035 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page_hwecc()
2051 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page_hwecc()
2094 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc_oob_first() local
2119 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page_hwecc_oob_first()
2892 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_write_page_swecc() local
2898 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_write_page_swecc()
2901 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_page_swecc()
2921 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_write_page_hwecc() local
2933 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_write_page_hwecc()
2937 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_page_hwecc()
2963 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_write_subpage_hwecc() local
2985 memset(ecc_calc, 0xff, ecc_bytes); in nand_write_subpage_hwecc()
2987 chip->ecc.calculate(mtd, buf, ecc_calc); in nand_write_subpage_hwecc()
2995 ecc_calc += ecc_bytes; in nand_write_subpage_hwecc()
3001 ecc_calc = chip->buffers->ecccalc; in nand_write_subpage_hwecc()
3003 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in nand_write_subpage_hwecc()