Searched refs:ecc_algo (Results 1 – 1 of 1) sorted by relevance
387 enum nand_ecc_algo ecc_algo; in of_get_nand_ecc_algo() local393 for (ecc_algo = NAND_ECC_ALGO_HAMMING; in of_get_nand_ecc_algo()394 ecc_algo < ARRAY_SIZE(nand_ecc_algos); in of_get_nand_ecc_algo()395 ecc_algo++) { in of_get_nand_ecc_algo()396 if (!strcasecmp(pm, nand_ecc_algos[ecc_algo])) in of_get_nand_ecc_algo()397 return ecc_algo; in of_get_nand_ecc_algo()