Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/mtd/nand/
Decc-mtk.c40 #define ECC_IDLE_REG(op) ((op) == ECC_ENCODE ? ECC_ENCIDLE : ECC_DECIDLE)
41 #define ECC_CTL_REG(op) ((op) == ECC_ENCODE ? ECC_ENCCON : ECC_DECCON)
138 op == ECC_ENCODE ? "encoder" : "decoder"); in mtk_ecc_wait_idle()
191 if (config->op == ECC_ENCODE) { in mtk_ecc_config()
257 mtk_ecc_wait_idle(ecc, ECC_ENCODE); in mtk_ecc_hw_init()
323 if (config->mode != ECC_NFI_MODE || op != ECC_ENCODE) { in mtk_ecc_enable()
333 if (op == ECC_ENCODE) in mtk_ecc_enable()
349 enum mtk_ecc_operation op = ECC_ENCODE; in mtk_ecc_disable()
381 (op == ECC_ENCODE) ? "encoder" : "decoder"); in mtk_ecc_wait_done()
403 config->op = ECC_ENCODE; in mtk_ecc_encode()
[all …]
/linux-6.12.1/include/linux/mtd/
Dnand-ecc-mtk.h16 enum mtk_ecc_operation {ECC_ENCODE, ECC_DECODE}; enumerator
/linux-6.12.1/drivers/mtd/nand/raw/
Dmtk_nand.c648 nfc->ecc_cfg.op = ECC_ENCODE; in mtk_nfc_sector_encode()
843 nfc->ecc_cfg.op = ECC_ENCODE; in mtk_nfc_write_page()
/linux-6.12.1/drivers/spi/
Dspi-mtk-snfi.c1134 snf->ecc_cfg->op = ECC_ENCODE; in mtk_snand_write_page_cache()