Lines Matching refs:strength
417 ret = of_property_read_u32(np, "nand-ecc-strength", &val);
424 int strength, size;
430 strength = of_get_nand_ecc_strength(dn);
431 if (strength >= 0)
432 nand->ecc.user_conf.strength = strength;
475 corr = (mtd->writesize * conf->strength) / conf->step_size;
476 ds_corr = (mtd->writesize * reqs->strength) / reqs->step_size;
478 return corr >= ds_corr && conf->strength >= reqs->strength;