Searched refs:parity_bits (Results 1 – 2 of 2) sorted by relevance
54 u32 parity_bits; member206 config->strength * ecc->caps->parity_bits; in mtk_ecc_config()418 len = (config->strength * ecc->caps->parity_bits + 7) >> 3; in mtk_ecc_encode()457 return ecc->caps->parity_bits; in mtk_ecc_get_parity_bits()468 .parity_bits = 14,479 .parity_bits = 14,490 .parity_bits = 13,501 .parity_bits = 14,537 max_eccdata_size = (max_eccdata_size * ecc->caps->parity_bits + 7) >> 3; in mtk_ecc_probe()
670 u32 parity_bits, max_ecc_bytes; in mtk_snand_ecc_init_ctx() local704 parity_bits = mtk_ecc_get_parity_bits(snf->ecc); in mtk_snand_ecc_init_ctx()706 ecc_cfg->strength = max_ecc_bytes * 8 / parity_bits; in mtk_snand_ecc_init_ctx()