Home
last modified time | relevance | path

Searched refs:bitflip_threshold (Results 1 – 6 of 6) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/
H A Dmtdcore.c345 return snprintf(buf, PAGE_SIZE, "%u\n", mtd->bitflip_threshold); in mtd_bitflip_threshold_show()
353 unsigned int bitflip_threshold; in mtd_bitflip_threshold_store() local
356 retval = kstrtouint(buf, 0, &bitflip_threshold); in mtd_bitflip_threshold_store()
360 mtd->bitflip_threshold = bitflip_threshold; in mtd_bitflip_threshold_store()
363 static DEVICE_ATTR(bitflip_threshold, S_IRUGO | S_IWUSR,
447 if (mtd->bitflip_threshold == 0) in add_mtd_device()
448 mtd->bitflip_threshold = mtd->ecc_strength; in add_mtd_device()
982 return ret_code >= mtd->bitflip_threshold ? -EUCLEAN : 0; in mtd_read()
1099 return ret_code >= mtd->bitflip_threshold ? -EUCLEAN : 0; in mtd_read_oob()
H A Dmtdpart.c761 slave->bitflip_threshold = master->bitflip_threshold; in allocate_partition()
/rk3399_rockchip-uboot/cmd/
H A Dmtd.c156 mtd->bitflip_threshold); in mtd_show_device()
/rk3399_rockchip-uboot/include/linux/mtd/
H A Dmtd.h206 unsigned int bitflip_threshold; member
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1796 return max(mtd->bitflip_threshold, corrected); in brcmnand_read()
2332 mtd->bitflip_threshold = 1; in brcmnand_init_cs()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dnand_base.c5286 if (!mtd->bitflip_threshold) in nand_scan_tail()
5287 mtd->bitflip_threshold = DIV_ROUND_UP(mtd->ecc_strength * 3, 4); in nand_scan_tail()