ecc_cfg           145 drivers/mtd/nand/raw/mtk_nand.c 	struct mtk_ecc_config ecc_cfg;
ecc_cfg           384 drivers/mtd/nand/raw/mtk_nand.c 	nfc->ecc_cfg.strength = chip->ecc.strength;
ecc_cfg           385 drivers/mtd/nand/raw/mtk_nand.c 	nfc->ecc_cfg.len = chip->ecc.size + mtk_nand->fdm.ecc_size;
ecc_cfg           618 drivers/mtd/nand/raw/mtk_nand.c 	nfc->ecc_cfg.mode = ECC_DMA_MODE;
ecc_cfg           619 drivers/mtd/nand/raw/mtk_nand.c 	nfc->ecc_cfg.op = ECC_ENCODE;
ecc_cfg           621 drivers/mtd/nand/raw/mtk_nand.c 	return mtk_ecc_encode(nfc->ecc, &nfc->ecc_cfg, data, size);
ecc_cfg           813 drivers/mtd/nand/raw/mtk_nand.c 		nfc->ecc_cfg.op = ECC_ENCODE;
ecc_cfg           814 drivers/mtd/nand/raw/mtk_nand.c 		nfc->ecc_cfg.mode = ECC_NFI_MODE;
ecc_cfg           815 drivers/mtd/nand/raw/mtk_nand.c 		ret = mtk_ecc_enable(nfc->ecc, &nfc->ecc_cfg);
ecc_cfg           948 drivers/mtd/nand/raw/mtk_nand.c 		nfc->ecc_cfg.mode = ECC_NFI_MODE;
ecc_cfg           949 drivers/mtd/nand/raw/mtk_nand.c 		nfc->ecc_cfg.sectors = sectors;
ecc_cfg           950 drivers/mtd/nand/raw/mtk_nand.c 		nfc->ecc_cfg.op = ECC_DECODE;
ecc_cfg           951 drivers/mtd/nand/raw/mtk_nand.c 		rc = mtk_ecc_enable(nfc->ecc, &nfc->ecc_cfg);