Lines Matching refs:ECC_ENCODE
41 #define ECC_IDLE_REG(op) ((op) == ECC_ENCODE ? ECC_ENCIDLE : ECC_DECIDLE)
42 #define ECC_CTL_REG(op) ((op) == ECC_ENCODE ? ECC_ENCCON : ECC_DECCON)
131 op == ECC_ENCODE ? "encoder" : "decoder"); in mtk_ecc_wait_idle()
184 if (config->op == ECC_ENCODE) { in mtk_ecc_config()
250 mtk_ecc_wait_idle(ecc, ECC_ENCODE); in mtk_ecc_hw_init()
313 if (config->mode != ECC_NFI_MODE || op != ECC_ENCODE) { in mtk_ecc_enable()
323 if (op == ECC_ENCODE) in mtk_ecc_enable()
339 enum mtk_ecc_operation op = ECC_ENCODE; in mtk_ecc_disable()
371 (op == ECC_ENCODE) ? "encoder" : "decoder"); in mtk_ecc_wait_done()
393 config->op = ECC_ENCODE; in mtk_ecc_encode()
401 ret = mtk_ecc_wait_done(ecc, ECC_ENCODE); in mtk_ecc_encode()
405 mtk_ecc_wait_idle(ecc, ECC_ENCODE); in mtk_ecc_encode()