Home
last modified time | relevance | path

Searched refs:ECC_ENCODE (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/mtd/nand/raw/
A Dmtk_ecc.c42 #define ECC_CTL_REG(op) ((op) == ECC_ENCODE ? ECC_ENCCON : ECC_DECCON)
130 op == ECC_ENCODE ? "encoder" : "decoder"); in mtk_ecc_wait_idle()
183 if (config->op == ECC_ENCODE) { in mtk_ecc_config()
249 mtk_ecc_wait_idle(ecc, ECC_ENCODE); in mtk_ecc_hw_init()
312 if (config->mode != ECC_NFI_MODE || op != ECC_ENCODE) { in mtk_ecc_enable()
322 if (op == ECC_ENCODE) in mtk_ecc_enable()
338 enum mtk_ecc_operation op = ECC_ENCODE; in mtk_ecc_disable()
370 (op == ECC_ENCODE) ? "encoder" : "decoder"); in mtk_ecc_wait_done()
392 config->op = ECC_ENCODE; in mtk_ecc_encode()
400 ret = mtk_ecc_wait_done(ecc, ECC_ENCODE); in mtk_ecc_encode()
[all …]
A Dmtk_ecc.h16 enum mtk_ecc_operation {ECC_ENCODE, ECC_DECODE}; enumerator
A Dmtk_nand.c649 nfc->ecc_cfg.op = ECC_ENCODE; in mtk_nfc_sector_encode()
844 nfc->ecc_cfg.op = ECC_ENCODE; in mtk_nfc_write_page()

Completed in 11 milliseconds