Searched refs:ECC_ENCODE (Results 1 – 3 of 3) sorted by relevance
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()[all …]
16 enum mtk_ecc_operation {ECC_ENCODE, ECC_DECODE}; enumerator
649 nfc->ecc_cfg.op = ECC_ENCODE; in mtk_nfc_sector_encode()844 nfc->ecc_cfg.op = ECC_ENCODE; in mtk_nfc_write_page()