Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mtd/nand/gpmi-nand/
Dgpmi-nand.c147 if (!(chip->ecc_strength_ds > 0 && chip->ecc_step_ds > 0)) in set_geometry_by_ecc_info()
160 chip->ecc_strength_ds, chip->ecc_step_ds); in set_geometry_by_ecc_info()
164 geo->ecc_strength = round_up(chip->ecc_strength_ds, 2); in set_geometry_by_ecc_info()
/linux-4.1.27/drivers/mtd/nand/
Dnand_base.c3116 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_ext_param_page()
3226 chip->ecc_strength_ds = p->ecc_bits; in nand_flash_detect_onfi()
3325 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_jedec()
3622 chip->ecc_strength_ds = NAND_ECC_STRENGTH(type); in find_full_id_nand()
3890 ds_corr = (mtd->writesize * chip->ecc_strength_ds) / chip->ecc_step_ds; in nand_ecc_strength_good()
3892 return corr >= ds_corr && ecc->strength >= chip->ecc_strength_ds; in nand_ecc_strength_good()
Datmel_nand.c1066 if (host->nand_chip.ecc_strength_ds) { in pmecc_choose_ecc()
1067 *cap = host->nand_chip.ecc_strength_ds; in pmecc_choose_ecc()
Dsunxi_nand.c1091 ecc->strength = nand->ecc_strength_ds; in sunxi_nand_ecc_init()
Dpxa3xx_nand.c1577 ecc_strength = chip->ecc_strength_ds; in pxa3xx_nand_scan()
/linux-4.1.27/include/linux/mtd/
Dnand.h690 uint16_t ecc_strength_ds; member