Searched refs:bitflip_threshold (Results 1 – 5 of 5) sorted by relevance
241 return sysfs_emit(buf, "%u\n", mtd->bitflip_threshold); in mtd_bitflip_threshold_show()249 unsigned int bitflip_threshold; in mtd_bitflip_threshold_store() local252 retval = kstrtouint(buf, 0, &bitflip_threshold); in mtd_bitflip_threshold_store()256 mtd->bitflip_threshold = bitflip_threshold; in mtd_bitflip_threshold_store()259 MTD_DEVICE_ATTR_RW(bitflip_threshold);629 if (mtd->bitflip_threshold == 0) in add_mtd_device()630 mtd->bitflip_threshold = mtd->ecc_strength; in add_mtd_device()1601 return ret_code >= mtd->bitflip_threshold ? -EUCLEAN : 0; in mtd_read_oob()
197 child->bitflip_threshold = parent->bitflip_threshold; in allocate_partition()
88 max_bitflips = mtd->bitflip_threshold; in toshiba_nand_benand_eccstatus()
6301 if (!mtd->bitflip_threshold) in nand_scan_tail()6302 mtd->bitflip_threshold = DIV_ROUND_UP(mtd->ecc_strength * 3, 4); in nand_scan_tail()
2324 return max(mtd->bitflip_threshold, corrected); in brcmnand_read()2797 mtd->bitflip_threshold = 1; in brcmnand_attach_chip()