ECC_ENCODE         41 drivers/mtd/nand/raw/mtk_ecc.c #define ECC_IDLE_REG(op)	((op) == ECC_ENCODE ? ECC_ENCIDLE : ECC_DECIDLE)
ECC_ENCODE         42 drivers/mtd/nand/raw/mtk_ecc.c #define ECC_CTL_REG(op)		((op) == ECC_ENCODE ? ECC_ENCCON : ECC_DECCON)
ECC_ENCODE        130 drivers/mtd/nand/raw/mtk_ecc.c 			 op == ECC_ENCODE ? "encoder" : "decoder");
ECC_ENCODE        183 drivers/mtd/nand/raw/mtk_ecc.c 	if (config->op == ECC_ENCODE) {
ECC_ENCODE        249 drivers/mtd/nand/raw/mtk_ecc.c 	mtk_ecc_wait_idle(ecc, ECC_ENCODE);
ECC_ENCODE        312 drivers/mtd/nand/raw/mtk_ecc.c 	if (config->mode != ECC_NFI_MODE || op != ECC_ENCODE) {
ECC_ENCODE        322 drivers/mtd/nand/raw/mtk_ecc.c 		if (op == ECC_ENCODE)
ECC_ENCODE        338 drivers/mtd/nand/raw/mtk_ecc.c 	enum mtk_ecc_operation op = ECC_ENCODE;
ECC_ENCODE        370 drivers/mtd/nand/raw/mtk_ecc.c 			(op == ECC_ENCODE) ? "encoder" : "decoder");
ECC_ENCODE        392 drivers/mtd/nand/raw/mtk_ecc.c 	config->op = ECC_ENCODE;
ECC_ENCODE        400 drivers/mtd/nand/raw/mtk_ecc.c 	ret = mtk_ecc_wait_done(ecc, ECC_ENCODE);
ECC_ENCODE        404 drivers/mtd/nand/raw/mtk_ecc.c 	mtk_ecc_wait_idle(ecc, ECC_ENCODE);
ECC_ENCODE        619 drivers/mtd/nand/raw/mtk_nand.c 	nfc->ecc_cfg.op = ECC_ENCODE;
ECC_ENCODE        813 drivers/mtd/nand/raw/mtk_nand.c 		nfc->ecc_cfg.op = ECC_ENCODE;