Lines Matching refs:strength
424 ret = of_property_read_u32(np, "nand-ecc-strength", &val);
431 int strength, size;
437 strength = of_get_nand_ecc_strength(dn);
438 if (strength >= 0)
439 nand->ecc.user_conf.strength = strength;
482 corr = (mtd->writesize * conf->strength) / conf->step_size;
483 ds_corr = (mtd->writesize * reqs->strength) / reqs->step_size;
485 return corr >= ds_corr && conf->strength >= reqs->strength;