Searched refs:bitflip_threshold (Results 1 – 8 of 8) sorted by relevance
| /linux/Documentation/ABI/testing/ |
| A D | sysfs-class-mtd | 136 What: /sys/class/mtd/mtdX/bitflip_threshold 161 bitflip_threshold. Users are discouraged from doing this, 164 bitflip_threshold should be low enough to detect genuine erase 167 bitflips occur. Note that if bitflip_threshold exceeds 169 Conversely, if bitflip_threshold is zero, -EUCLEAN is always
|
| /linux/drivers/mtd/ |
| A D | mtdcore.c | 272 return sysfs_emit(buf, "%u\n", mtd->bitflip_threshold); in mtd_bitflip_threshold_show() 280 unsigned int bitflip_threshold; in mtd_bitflip_threshold_store() local 283 retval = kstrtouint(buf, 0, &bitflip_threshold); in mtd_bitflip_threshold_store() 287 mtd->bitflip_threshold = bitflip_threshold; in mtd_bitflip_threshold_store() 290 MTD_DEVICE_ATTR_RW(bitflip_threshold); 703 if (mtd->bitflip_threshold == 0) in add_mtd_device() 704 mtd->bitflip_threshold = mtd->ecc_strength; in add_mtd_device() 1738 return ret_code >= mtd->bitflip_threshold ? -EUCLEAN : 0; in mtd_read_oob()
|
| A D | mtdpart.c | 204 child->bitflip_threshold = parent->bitflip_threshold; in allocate_partition()
|
| /linux/drivers/mtd/nand/raw/ |
| A D | nand_toshiba.c | 88 max_bitflips = mtd->bitflip_threshold; in toshiba_nand_benand_eccstatus()
|
| A D | nand_base.c | 6566 if (!mtd->bitflip_threshold) in nand_scan_tail() 6567 mtd->bitflip_threshold = DIV_ROUND_UP(mtd->ecc_strength * 3, 4); in nand_scan_tail()
|
| /linux/include/linux/mtd/ |
| A D | mtd.h | 288 unsigned int bitflip_threshold; member
|
| /linux/drivers/mtd/nand/spi/ |
| A D | core.c | 1468 mtd->bitflip_threshold = DIV_ROUND_UP(mtd->ecc_strength * 3, 4); in spinand_init()
|
| /linux/drivers/mtd/nand/raw/brcmnand/ |
| A D | brcmnand.c | 2226 return max(mtd->bitflip_threshold, corrected); in brcmnand_read() 2848 mtd->bitflip_threshold = 1; in brcmnand_attach_chip()
|
Completed in 35 milliseconds