Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/
H A Decc-mxic.c227 static const int possible_strength[] = {4, 8, 40, 48}; in mxic_ecc_init_ctx() local
276 for (idx = 0; idx < ARRAY_SIZE(possible_strength); idx++) in mxic_ecc_init_ctx()
277 if (possible_strength[idx] >= strength) in mxic_ecc_init_ctx()
281 ARRAY_SIZE(possible_strength) - 1); in mxic_ecc_init_ctx()
284 idx = ARRAY_SIZE(possible_strength) - 1; in mxic_ecc_init_ctx()
299 conf->strength = possible_strength[idx]; in mxic_ecc_init_ctx()