Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/mtd/nand/raw/
H A Dmtk_ecc.c51 u32 parity_bits; member
199 config->strength * ecc->caps->parity_bits; in mtk_ecc_config()
408 len = (config->strength * ecc->caps->parity_bits + 7) >> 3; in mtk_ecc_encode()
447 return ecc->caps->parity_bits; in mtk_ecc_get_parity_bits()
458 .parity_bits = 14,
469 .parity_bits = 14,
480 .parity_bits = 13,
514 max_eccdata_size = (max_eccdata_size * ecc->caps->parity_bits + 7) >> 3; in mtk_ecc_probe()
/OK3568_Linux_fs/u-boot/drivers/mtd/nand/raw/
H A Domap_gpmc.c125 uint16_t parity_bits, byte; in omap_correct_data() local
139 parity_bits = res >> 16; in omap_correct_data()
140 bit = (parity_bits & 0x7); in omap_correct_data()
141 byte = (parity_bits >> 3) & 0x1FF; in omap_correct_data()