Home
last modified time | relevance | path

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

/external/u-boot/drivers/mtd/nand/raw/
Dnand_spl_simple.c142 u_char ecc_calc[ECCTOTAL]; in nand_read_page() local
163 this->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page()
164 this->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page()
173 u_char ecc_calc[ECCTOTAL]; in nand_read_page() local
188 this->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page()
204 this->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page()
Dzynq_nand.c566 u8 *ecc_calc = chip->buffers->ecccalc; in zynq_nand_write_page_hwecc() local
588 chip->ecc.calculate(mtd, p, &ecc_calc[0]); in zynq_nand_write_page_hwecc()
591 chip->oob_poi[eccpos[i]] = ~(ecc_calc[i]); in zynq_nand_write_page_hwecc()
626 u8 *ecc_calc = chip->buffers->ecccalc; in zynq_nand_write_page_swecc() local
632 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in zynq_nand_write_page_swecc()
635 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in zynq_nand_write_page_swecc()
659 u8 *ecc_calc = chip->buffers->ecccalc; in zynq_nand_read_page_hwecc() local
681 chip->ecc.calculate(mtd, p, &ecc_calc[0]); in zynq_nand_read_page_hwecc()
708 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in zynq_nand_read_page_hwecc()
732 u8 *ecc_calc = chip->buffers->ecccalc; in zynq_nand_read_page_swecc() local
[all …]
Dlpc32xx_nand_slc.c418 uint8_t *ecc_calc = chip->buffers->ecccalc; in lpc32xx_read_page_hwecc() local
432 lpc32xx_ecc_calculate(mtd, p, &ecc_calc[0]); in lpc32xx_read_page_hwecc()
438 stat = chip->ecc.correct(mtd, p, &ecc_code[0], &ecc_calc[0]); in lpc32xx_read_page_hwecc()
456 uint8_t *ecc_calc = chip->buffers->ecccalc; in lpc32xx_write_page_hwecc() local
469 lpc32xx_ecc_calculate(mtd, p, &ecc_calc[0]); in lpc32xx_write_page_hwecc()
472 chip->oob_poi[eccpos[i]] = ecc_calc[i]; in lpc32xx_write_page_hwecc()
Dam335x_spl_bch.c152 u_char ecc_calc[ECCTOTAL]; in nand_read_page() local
175 this->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page()
194 this->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page()
Ddavinci_nand.c229 u_int32_t ecc_calc = calc_ecc[0] | (calc_ecc[1] << 8) | in nand_davinci_correct_data() local
231 u_int32_t diff = ecc_calc ^ ecc_nand; in nand_davinci_correct_data()
431 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_davinci_read_page_hwecc() local
455 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_davinci_read_page_hwecc()
Dfsmc_nand.c344 uint8_t *ecc_calc = chip->buffers->ecccalc; in fsmc_read_page_hwecc() local
379 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in fsmc_read_page_hwecc()
382 &ecc_calc[i]); in fsmc_read_page_hwecc()
Dnand_base.c1858 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_swecc() local
1866 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page_swecc()
1877 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page_swecc()
2017 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc() local
2030 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page_hwecc()
2046 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page_hwecc()
2089 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_read_page_hwecc_oob_first() local
2114 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page_hwecc_oob_first()
2887 uint8_t *ecc_calc = chip->buffers->ecccalc; in nand_write_page_swecc() local
2893 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_write_page_swecc()
[all …]
Domap_gpmc.c590 uint8_t *ecc_calc = chip->buffers->ecccalc; in omap_read_page_bch() local
613 chip->ecc.calculate(mtd, p, &ecc_calc[i]); in omap_read_page_bch()
628 stat = chip->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in omap_read_page_bch()
Datmel_nand.c1309 u_char ecc_calc[ECCTOTAL]; in nand_read_page() local
1323 this->ecc.calculate(mtd, p, &ecc_calc[i]); in nand_read_page()
1334 this->ecc.correct(mtd, p, &ecc_code[i], &ecc_calc[i]); in nand_read_page()
Dstm32_fmc2_nand.c536 u8 *ecc_calc = chip->buffers->ecccalc; in stm32_fmc2_read_page() local
553 stat = chip->ecc.correct(mtd, p, ecc_code, ecc_calc); in stm32_fmc2_read_page()