Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/mtd/nand/
Decc-mtk.c50 u32 parity_bits; member
198 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()
/linux-5.19.10/drivers/spi/
Dspi-mtk-snfi.c639 u32 parity_bits, max_ecc_bytes; in mtk_snand_ecc_init_ctx() local
673 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()