bitflips 1792 drivers/mtd/nand/raw/brcmnand/brcmnand.c int bitflips = 0; bitflips 1816 drivers/mtd/nand/raw/brcmnand/brcmnand.c bitflips = max(bitflips, ret); bitflips 1819 drivers/mtd/nand/raw/brcmnand/brcmnand.c return bitflips; bitflips 480 drivers/mtd/nand/raw/denali.c unsigned int bitflips = 0; bitflips 503 drivers/mtd/nand/raw/denali.c bitflips = 0; bitflips 529 drivers/mtd/nand/raw/denali.c bitflips += flips_in_byte; bitflips 531 drivers/mtd/nand/raw/denali.c max_bitflips = max(max_bitflips, bitflips); bitflips 644 drivers/mtd/nand/raw/fsl_ifc_nand.c int i, res, bitflips = 0; bitflips 659 drivers/mtd/nand/raw/fsl_ifc_nand.c bitflips = max(res, bitflips); bitflips 664 drivers/mtd/nand/raw/fsl_ifc_nand.c return bitflips; bitflips 444 drivers/mtd/nand/raw/meson_nand.c static int meson_nfc_ecc_correct(struct nand_chip *nand, u32 *bitflips, bitflips 456 drivers/mtd/nand/raw/meson_nand.c *bitflips = max_t(u32, *bitflips, ECC_ERR_CNT(*info)); bitflips 463 drivers/mtd/nand/raw/meson_nand.c *bitflips = max_t(u32, *bitflips, bitflips 776 drivers/mtd/nand/raw/meson_nand.c u32 bitflips = 0; bitflips 785 drivers/mtd/nand/raw/meson_nand.c ret = meson_nfc_ecc_correct(nand, &bitflips, &correct_bitmap); bitflips 793 drivers/mtd/nand/raw/meson_nand.c return bitflips; bitflips 813 drivers/mtd/nand/raw/meson_nand.c bitflips = max_t(u32, bitflips, ret); bitflips 820 drivers/mtd/nand/raw/meson_nand.c return bitflips; bitflips 216 drivers/mtd/nand/raw/mtk_ecc.c u32 bitflips = 0; bitflips 233 drivers/mtd/nand/raw/mtk_ecc.c bitflips = max_t(u32, bitflips, err); bitflips 236 drivers/mtd/nand/raw/mtk_ecc.c stats->bitflips = bitflips; bitflips 23 drivers/mtd/nand/raw/mtk_ecc.h u32 bitflips; bitflips 906 drivers/mtd/nand/raw/mtk_nand.c return stats.bitflips; bitflips 918 drivers/mtd/nand/raw/mtk_nand.c int bitflips = 0; bitflips 984 drivers/mtd/nand/raw/mtk_nand.c bitflips = -EIO; bitflips 987 drivers/mtd/nand/raw/mtk_nand.c bitflips = rc < 0 ? -ETIMEDOUT : bitflips 1004 drivers/mtd/nand/raw/mtk_nand.c return bitflips; bitflips 2473 drivers/mtd/nand/raw/nand_base.c int bitflips = 0; bitflips 2479 drivers/mtd/nand/raw/nand_base.c bitflips += BITS_PER_BYTE - weight; bitflips 2480 drivers/mtd/nand/raw/nand_base.c if (unlikely(bitflips > bitflips_threshold)) bitflips 2490 drivers/mtd/nand/raw/nand_base.c bitflips += BITS_PER_LONG - weight; bitflips 2491 drivers/mtd/nand/raw/nand_base.c if (unlikely(bitflips > bitflips_threshold)) bitflips 2497 drivers/mtd/nand/raw/nand_base.c bitflips += BITS_PER_BYTE - weight; bitflips 2498 drivers/mtd/nand/raw/nand_base.c if (unlikely(bitflips > bitflips_threshold)) bitflips 2502 drivers/mtd/nand/raw/nand_base.c return bitflips; bitflips 3233 drivers/mtd/nand/raw/nand_base.c chip->pagecache.bitflips = ret; bitflips 3276 drivers/mtd/nand/raw/nand_base.c chip->pagecache.bitflips); bitflips 94 drivers/mtd/nand/raw/nandsim.c static unsigned int bitflips = 0; bitflips 126 drivers/mtd/nand/raw/nandsim.c module_param(bitflips, uint, 0400); bitflips 156 drivers/mtd/nand/raw/nandsim.c MODULE_PARM_DESC(bitflips, "Maximum number of random bit flips per page (zero by default)"); bitflips 1391 drivers/mtd/nand/raw/nandsim.c if (bitflips && prandom_u32() < (1 << 22)) { bitflips 1393 drivers/mtd/nand/raw/nandsim.c if (bitflips > 1) bitflips 1394 drivers/mtd/nand/raw/nandsim.c flips = (prandom_u32() % (int) bitflips) + 1; bitflips 182 drivers/mtd/nand/raw/tango_nand.c int i, res, meta_len, bitflips = 0; bitflips 194 drivers/mtd/nand/raw/tango_nand.c bitflips = max(res, bitflips); bitflips 199 drivers/mtd/nand/raw/tango_nand.c return bitflips; bitflips 122 drivers/mtd/tests/oobtest.c size_t bitflips = 0; bitflips 130 drivers/mtd/tests/oobtest.c bitflips += hweight8(res); bitflips 134 drivers/mtd/tests/oobtest.c return bitflips; bitflips 150 drivers/mtd/tests/oobtest.c size_t bitflips = 0; bitflips 158 drivers/mtd/tests/oobtest.c bitflips += hweight8(res); bitflips 162 drivers/mtd/tests/oobtest.c return bitflips; bitflips 171 drivers/mtd/tests/oobtest.c size_t bitflips; bitflips 194 drivers/mtd/tests/oobtest.c bitflips = memcmpshow(addr, readbuf, bitflips 197 drivers/mtd/tests/oobtest.c if (bitflips > bitflip_limit) { bitflips 205 drivers/mtd/tests/oobtest.c } else if (bitflips) { bitflips 230 drivers/mtd/tests/oobtest.c bitflips = memcmpshowoffset(addr, use_offset, bitflips 236 drivers/mtd/tests/oobtest.c bitflips += memffshow(addr, 0, readbuf, use_offset); bitflips 240 drivers/mtd/tests/oobtest.c bitflips += memffshow(addr, k, readbuf + k, bitflips 243 drivers/mtd/tests/oobtest.c if (bitflips > bitflip_limit) { bitflips 251 drivers/mtd/tests/oobtest.c } else if (bitflips) { bitflips 268 drivers/mtd/tests/oobtest.c size_t bitflips; bitflips 295 drivers/mtd/tests/oobtest.c bitflips = memcmpshow(addr, readbuf + (i * oobavail), bitflips 297 drivers/mtd/tests/oobtest.c if (bitflips > bitflip_limit) { bitflips 305 drivers/mtd/tests/oobtest.c } else if (bitflips) { bitflips 441 drivers/mtd/ubi/attach.c int len, err, second_is_newer, bitflips = 0, corrupted = 0; bitflips 483 drivers/mtd/ubi/attach.c return bitflips << 1; bitflips 494 drivers/mtd/ubi/attach.c bitflips = 1; bitflips 523 drivers/mtd/ubi/attach.c bitflips = 0; bitflips 527 drivers/mtd/ubi/attach.c bitflips |= !!err; bitflips 538 drivers/mtd/ubi/attach.c return second_is_newer | (bitflips << 1) | (corrupted << 2); bitflips 564 drivers/mtd/ubi/attach.c int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips) bitflips 577 drivers/mtd/ubi/attach.c pnum, vol_id, lnum, ec, sqnum, bitflips); bitflips 660 drivers/mtd/ubi/attach.c aeb->scrub = ((cmp_res & 2) || bitflips); bitflips 694 drivers/mtd/ubi/attach.c aeb->scrub = bitflips; bitflips 948 drivers/mtd/ubi/attach.c int err, bitflips = 0, vol_id = -1, ec_err = 0; bitflips 968 drivers/mtd/ubi/attach.c bitflips = 1; bitflips 987 drivers/mtd/ubi/attach.c bitflips = 1; bitflips 1051 drivers/mtd/ubi/attach.c bitflips = 1; bitflips 1118 drivers/mtd/ubi/attach.c if (ec_err || bitflips) bitflips 1178 drivers/mtd/ubi/attach.c err = ubi_add_to_av(ubi, ai, pnum, ec, vidh, bitflips); bitflips 826 drivers/mtd/ubi/ubi.h int ec, const struct ubi_vid_hdr *vid_hdr, int bitflips); bitflips 1100 include/linux/mtd/rawnand.h unsigned int bitflips;