Searched refs:parity_bits (Results 1 – 2 of 2) sorted by relevance
50 u32 parity_bits; member198 config->strength * ecc->caps->parity_bits; in mtk_ecc_config()410 len = (config->strength * ecc->caps->parity_bits + 7) >> 3; in mtk_ecc_encode()449 return ecc->caps->parity_bits; in mtk_ecc_get_parity_bits()460 .parity_bits = 14,471 .parity_bits = 14,482 .parity_bits = 13,515 max_eccdata_size = (max_eccdata_size * ecc->caps->parity_bits + 7) >> 3; in mtk_ecc_probe()
639 u32 parity_bits, max_ecc_bytes; in mtk_snand_ecc_init_ctx() local673 parity_bits = mtk_ecc_get_parity_bits(snf->ecc); in mtk_snand_ecc_init_ctx()675 ecc_cfg->strength = max_ecc_bytes * 8 / parity_bits; in mtk_snand_ecc_init_ctx()