Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/mtd/nand/
Dnand_base.c3258 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_ext_param_page()
3368 chip->ecc_strength_ds = p->ecc_bits; in nand_flash_detect_onfi()
3467 chip->ecc_strength_ds = ecc->ecc_bits; in nand_flash_detect_jedec()
3764 chip->ecc_strength_ds = NAND_ECC_STRENGTH(type); in find_full_id_nand()
4071 ds_corr = (mtd->writesize * chip->ecc_strength_ds) / chip->ecc_step_ds; in nand_ecc_strength_good()
4073 return corr >= ds_corr && ecc->strength >= chip->ecc_strength_ds; in nand_ecc_strength_good()
Datmel_nand.c1067 if (host->nand_chip.ecc_strength_ds) { in pmecc_choose_ecc()
1068 *cap = host->nand_chip.ecc_strength_ds; in pmecc_choose_ecc()
Dsunxi_nand.c1197 ecc->strength = nand->ecc_strength_ds; in sunxi_nand_ecc_init()
Dpxa3xx_nand.c1660 ecc_strength = chip->ecc_strength_ds; in pxa3xx_nand_scan()
/linux-4.4.14/include/linux/mtd/
Dnand.h689 uint16_t ecc_strength_ds; member