Home
last modified time | relevance | path

Searched refs:ecc_calc (Results 1 – 2 of 2) sorted by relevance

/linux-3.4.99/drivers/mtd/nand/
Dnand_base.c1138 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_swecc() local
1145 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page_swecc()
1156 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page_swecc()
1271 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc() local
1278 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page_hwecc()
1291 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page_hwecc()
1322 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc_oob_first() local
1337 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page_hwecc_oob_first()
1983 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_write_page_swecc() local
1989 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_write_page_swecc()
[all …]
Dfsmc_nand.c713 uint8_t *ecc_calc = chip->buffers->ecccalc; in fsmc_read_page_hwecc() local
748 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in fsmc_read_page_hwecc()
750 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in fsmc_read_page_hwecc()