Searched refs:bitflip_threshold (Results 1 – 4 of 4) sorted by relevance
136 What: /sys/class/mtd/mtdX/bitflip_threshold161 bitflip_threshold. Users are discouraged from doing this,164 bitflip_threshold should be low enough to detect genuine erase167 bitflips occur. Note that if bitflip_threshold exceeds169 Conversely, if bitflip_threshold is zero, -EUCLEAN is always
282 return sysfs_emit(buf, "%u\n", mtd->bitflip_threshold); in mtd_bitflip_threshold_show()290 unsigned int bitflip_threshold; in mtd_bitflip_threshold_store() local293 retval = kstrtouint(buf, 0, &bitflip_threshold); in mtd_bitflip_threshold_store()297 mtd->bitflip_threshold = bitflip_threshold; in mtd_bitflip_threshold_store()300 MTD_DEVICE_ATTR_RW(bitflip_threshold);763 if (mtd->bitflip_threshold == 0) in add_mtd_device()764 mtd->bitflip_threshold = mtd->ecc_strength; in add_mtd_device()1826 return ret_code >= mtd->bitflip_threshold ? -EUCLEAN : 0; in mtd_read_oob()
288 unsigned int bitflip_threshold; member
2278 return max(mtd->bitflip_threshold, corrected); in brcmnand_read()3062 mtd->bitflip_threshold = 1; in brcmnand_attach_chip()