Home
last modified time | relevance | path

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

/drivers/mtd/nand/
Dmtk_ecc.h17 #define ECC_PARITY_BITS (14) macro
Dmtk_ecc.c228 config->strength * ECC_PARITY_BITS; in mtk_ecc_config()
405 len = (config->strength * ECC_PARITY_BITS + 7) >> 3; in mtk_ecc_encode()
Dmtk_nand.c1110 ecc_bytes = DIV_ROUND_UP(nand->ecc.strength * ECC_PARITY_BITS, 8); in mtk_nfc_set_fdm()
1200 free = ((nand->ecc.strength * ECC_PARITY_BITS) + 7) >> 3; in mtk_nfc_ecc_init()
1210 nand->ecc.strength = (spare << 3) / ECC_PARITY_BITS; in mtk_nfc_ecc_init()
1213 nand->ecc.strength = (spare << 3) / ECC_PARITY_BITS; in mtk_nfc_ecc_init()