Home
last modified time | relevance | path

Searched refs:bch_enabled (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/mtd/nand/raw/
H A Dqcom_nandc.c120 bool bch_enabled; member
664 if (host->bch_enabled) { in parse_read_errors()
1402 host->bch_enabled = true; in qcom_nand_attach_chip()
1422 host->bch_enabled = true; in qcom_nand_attach_chip()
1511 FIELD_PREP(ENABLE_BCH_ECC, host->bch_enabled); in qcom_nand_attach_chip()
1526 host->ecc_bch_cfg = FIELD_PREP(ECC_CFG_ECC_DISABLE, !host->bch_enabled) | in qcom_nand_attach_chip()
/linux/drivers/spi/
H A Dspi-qpic-snand.c97 bool bch_enabled; member
318 ecc_cfg->bch_enabled = true; in qcom_spi_ecc_init_ctx_pipelined()
359 FIELD_PREP(ENABLE_BCH_ECC, ecc_cfg->bch_enabled); in qcom_spi_ecc_init_ctx_pipelined()
374 ecc_cfg->ecc_bch_cfg = FIELD_PREP(ECC_CFG_ECC_DISABLE, !ecc_cfg->bch_enabled) | in qcom_spi_ecc_init_ctx_pipelined()
663 if (ecc_cfg->bch_enabled) in qcom_spi_check_error()