/external/u-boot/drivers/mtd/nand/raw/ |
D | nand_spl_simple.c | 142 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()
|
D | zynq_nand.c | 566 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 …]
|
D | lpc32xx_nand_slc.c | 418 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()
|
D | am335x_spl_bch.c | 152 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()
|
D | davinci_nand.c | 229 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()
|
D | fsmc_nand.c | 344 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()
|
D | nand_base.c | 1858 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 …]
|
D | omap_gpmc.c | 590 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()
|
D | atmel_nand.c | 1309 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()
|
D | stm32_fmc2_nand.c | 536 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()
|