Searched refs:err_nbr (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/mtd/nand/
H A Datmel_nand.c759 int err_nbr = 0; /* number of error */ pmecc_err_location() local
770 err_nbr++; pmecc_err_location()
773 val = (err_nbr - 1) << 16; pmecc_err_location()
795 return err_nbr - 1; pmecc_err_location()
803 int sector_num, int extra_bytes, int err_nbr) pmecc_correct_data()
814 while (err_nbr) { pmecc_correct_data()
842 err_nbr--; pmecc_correct_data()
853 int i, err_nbr; pmecc_correction() local
869 err_nbr = 0; pmecc_correction()
877 err_nbr = pmecc_err_location(mtd); pmecc_correction()
878 if (err_nbr == -1) { pmecc_correction()
884 nand_chip->ecc.bytes, err_nbr); pmecc_correction()
885 mtd->ecc_stats.corrected += err_nbr; pmecc_correction()
886 max_bitflips = max_t(int, max_bitflips, err_nbr); pmecc_correction()
802 pmecc_correct_data(struct mtd_info *mtd, uint8_t *buf, uint8_t *ecc, int sector_num, int extra_bytes, int err_nbr) pmecc_correct_data() argument

Completed in 77 milliseconds