Searched refs:ecccalc (Results 1 – 2 of 2) sorted by relevance
/drivers/mtd/nand/ |
D | ecc-sw-bch.c | 300 u8 *ecccalc = engine_conf->calc_buf; in nand_ecc_sw_bch_prepare_io_req() local 322 nand_ecc_sw_bch_calculate(nand, data, &ecccalc[i]); in nand_ecc_sw_bch_prepare_io_req() 324 return mtd_ooblayout_set_eccbytes(mtd, ecccalc, (void *)req->oobbuf.out, in nand_ecc_sw_bch_prepare_io_req() 337 u8 *ecccalc = engine_conf->calc_buf; in nand_ecc_sw_bch_finish_io_req() local 365 nand_ecc_sw_bch_calculate(nand, data, &ecccalc[i]); in nand_ecc_sw_bch_finish_io_req() 373 &ecccalc[i]); in nand_ecc_sw_bch_finish_io_req()
|
D | ecc-sw-hamming.c | 554 u8 *ecccalc = engine_conf->calc_buf; in nand_ecc_sw_hamming_prepare_io_req() local 576 nand_ecc_sw_hamming_calculate(nand, data, &ecccalc[i]); in nand_ecc_sw_hamming_prepare_io_req() 578 return mtd_ooblayout_set_eccbytes(mtd, ecccalc, (void *)req->oobbuf.out, in nand_ecc_sw_hamming_prepare_io_req() 591 u8 *ecccalc = engine_conf->calc_buf; in nand_ecc_sw_hamming_finish_io_req() local 619 nand_ecc_sw_hamming_calculate(nand, data, &ecccalc[i]); in nand_ecc_sw_hamming_finish_io_req() 627 &ecccalc[i]); in nand_ecc_sw_hamming_finish_io_req()
|