Lines Matching defs:strength
311 chip->ecc.strength);
1101 int denali_calc_ecc_bytes(int step_size, int strength)
1104 return DIV_ROUND_UP(strength * fls(step_size * 8), 16) * 2;
1115 * If .size and .strength are already set (usually by DT),
1118 if (chip->ecc.size && chip->ecc.strength)
1122 * We want .size and .strength closest to the chip's requirement
1131 /* Max ECC strength is the last thing we can do */
1217 chip->ecc.strength <<= 1;
1306 "chosen ECC settings: step=%d, strength=%d, bytes=%d\n",
1307 chip->ecc.size, chip->ecc.strength, chip->ecc.bytes);
1310 FIELD_PREP(ECC_CORRECTION__VALUE, chip->ecc.strength),