Searched refs:ecc_stats (Results 1 - 25 of 50) sorted by path

12

/linux-master/drivers/mtd/devices/
H A Ddocg3.c899 old_stats = mtd->ecc_stats;
949 mtd->ecc_stats.failed++;
953 mtd->ecc_stats.corrected += ret;
973 mtd->ecc_stats.failed - old_stats.failed;
975 mtd->ecc_stats.corrected - old_stats.corrected;
/linux-master/drivers/mtd/
H A Dmtdchar.c720 req.ecc_stats.uncorrectable_errors = 0;
721 req.ecc_stats.corrected_bitflips = 0;
722 req.ecc_stats.max_bitflips = 0;
773 req.ecc_stats.uncorrectable_errors +=
775 req.ecc_stats.corrected_bitflips += stats.corrected_bitflips;
776 req.ecc_stats.max_bitflips =
777 max(req.ecc_stats.max_bitflips, stats.max_bitflips);
803 if (req.ecc_stats.uncorrectable_errors > 0)
805 else if (req.ecc_stats.corrected_bitflips > 0)
1177 if (copy_to_user(argp, &mtd->ecc_stats,
[all...]
H A Dmtdconcat.c83 mtd->ecc_stats.failed++;
86 mtd->ecc_stats.corrected++;
287 mtd->ecc_stats.failed++;
290 mtd->ecc_stats.corrected++;
624 mtd->ecc_stats.badblocks++;
702 concat->mtd.ecc_stats.badblocks = subdev[0]->ecc_stats.badblocks;
733 concat->mtd.ecc_stats.badblocks +=
734 subdev[i]->ecc_stats.badblocks;
H A Dmtdcore.c306 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats; local
308 return sysfs_emit(buf, "%u\n", ecc_stats->corrected);
316 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats; local
318 return sysfs_emit(buf, "%u\n", ecc_stats->failed);
326 struct mtd_ecc_stats *ecc_stats = &mtd->ecc_stats; local
328 return sysfs_emit(buf, "%u\n", ecc_stats->badblocks);
336 struct mtd_ecc_stats *ecc_stats local
[all...]
H A Dmtdpart.c211 child->ecc_stats.bbtblocks++;
213 child->ecc_stats.badblocks++;
/linux-master/drivers/mtd/nand/
H A Dcore.c90 mtd->ecc_stats.badblocks++;
H A Decc-mxic.c538 mtd->ecc_stats.failed++;
544 mtd->ecc_stats.corrected += stat;
H A Decc-sw-bch.c375 mtd->ecc_stats.failed++;
377 mtd->ecc_stats.corrected += stat;
H A Decc-sw-hamming.c629 mtd->ecc_stats.failed++;
631 mtd->ecc_stats.corrected += stat;
/linux-master/drivers/mtd/nand/onenand/
H A Donenand_base.c588 mtd->ecc_stats.failed++;
593 mtd->ecc_stats.corrected++;
1098 mtd->ecc_stats.failed--;
1143 stats = mtd->ecc_stats;
1200 if (mtd->ecc_stats.failed - stats.failed)
1204 return mtd->ecc_stats.corrected != stats.corrected ? 1 : 0;
1244 stats = mtd->ecc_stats;
1329 if (mtd->ecc_stats.failed - stats.failed)
1333 return mtd->ecc_stats.corrected != stats.corrected ? 1 : 0;
1376 stats = mtd->ecc_stats;
[all...]
H A Donenand_bbt.c106 mtd->ecc_stats.badblocks++;
H A Donenand_omap2.c278 mtd->ecc_stats.failed++;
284 mtd->ecc_stats.corrected++;
H A Donenand_samsung.c358 mtd->ecc_stats.failed++;
/linux-master/drivers/mtd/nand/raw/
H A Darasan-nand-controller.c477 mtd->ecc_stats.corrected += bf;
487 mtd->ecc_stats.corrected += bf;
491 mtd->ecc_stats.failed++;
H A Dcadence-nand-controller.c1675 mtd->ecc_stats.failed++;
1681 mtd->ecc_stats.corrected += ecc_err_count;
H A Dcafe_nand.c439 mtd->ecc_stats.failed++;
442 mtd->ecc_stats.corrected += n;
H A Ddenali.c412 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; local
425 ecc_stats->failed++;
427 ecc_stats->corrected += stat;
442 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; local
468 ecc_stats->corrected += max_bitflips;
477 struct mtd_ecc_stats *ecc_stats = &nand_to_mtd(chip)->ecc_stats; local
527 ecc_stats
[all...]
H A Dfsl_elbc_nand.c262 * ecc_stats.corrected accordingly.
267 mtd->ecc_stats.corrected++;
645 mtd->ecc_stats.failed++;
H A Dfsl_ifc_nand.c240 mtd->ecc_stats.corrected += errors;
655 mtd->ecc_stats.failed++;
657 mtd->ecc_stats.corrected += res;
687 mtd->ecc_stats.failed++;
H A Dfsmc_nand.c759 mtd->ecc_stats.failed++;
761 mtd->ecc_stats.corrected += stat;
H A Dhisi504_nand.c531 mtd->ecc_stats.failed++;
543 mtd->ecc_stats.corrected += stat;
H A Dlpc32xx_mlc.c468 mtd->ecc_stats.failed++;
471 mtd->ecc_stats.corrected += ((mlc_isr >> 4) & 0x3) + 1;
/linux-master/drivers/mtd/nand/raw/atmel/
H A Dnand-controller.c888 mtd->ecc_stats.corrected += ret;
891 mtd->ecc_stats.failed++;
/linux-master/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c2209 mtd->ecc_stats.failed++;
2224 mtd->ecc_stats.corrected += corrected;
/linux-master/drivers/mtd/nand/raw/gpmi-nand/
H A Dgpmi-nand.c1488 mtd->ecc_stats.corrected += flips;
1492 mtd->ecc_stats.failed++;
1496 mtd->ecc_stats.corrected += *status;

Completed in 624 milliseconds

12