Lines Matching refs:calculate
2713 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_read_page_swecc()
2777 chip->ecc.calculate(chip, p, &chip->ecc.calc_buf[i]); in nand_read_subpage()
2880 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_read_page_hwecc()
2966 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_read_page_hwecc_oob_first()
3714 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_write_page_swecc()
3752 chip->ecc.calculate(chip, p, &ecc_calc[i]); in nand_write_page_hwecc()
3809 chip->ecc.calculate(chip, buf, ecc_calc); in nand_write_subpage_hwecc()
3879 chip->ecc.calculate(chip, p, oob); in nand_write_page_syndrome()
5092 ecc->calculate = nand_calculate_ecc; in nand_set_ecc_soft_ops()
5115 ecc->calculate = nand_bch_calculate_ecc; in nand_set_ecc_soft_ops()
5587 if (!ecc->calculate || !ecc->correct || !ecc->hwctl) { in nand_scan_tail()
5612 if (!ecc->write_subpage && ecc->hwctl && ecc->calculate) in nand_scan_tail()
5617 if ((!ecc->calculate || !ecc->correct || !ecc->hwctl) && in nand_scan_tail()
5693 if (ecc->correct || ecc->calculate) { in nand_scan_tail()