Searched refs:ecc_bch_cfg (Results 1 – 3 of 3) sorted by relevance
524 snandc->regs->ecc_bch_cfg = cpu_to_le32(ecc_bch_cfg); in qcom_spi_read_last_cw()671 snandc->regs->ecc_bch_cfg = cpu_to_le32(ecc_bch_cfg); in qcom_spi_read_cw_raw()783 ecc_bch_cfg = ecc_cfg->ecc_bch_cfg; in qcom_spi_read_page_ecc()790 snandc->regs->ecc_bch_cfg = cpu_to_le32(ecc_bch_cfg); in qcom_spi_read_page_ecc()879 ecc_bch_cfg = ecc_cfg->ecc_bch_cfg; in qcom_spi_read_page_oob()886 snandc->regs->ecc_bch_cfg = cpu_to_le32(ecc_bch_cfg); in qcom_spi_read_page_oob()1007 snandc->regs->ecc_bch_cfg = cpu_to_le32(ecc_bch_cfg); in qcom_spi_program_raw()1073 ecc_bch_cfg = ecc_cfg->ecc_bch_cfg; in qcom_spi_program_ecc()1091 snandc->regs->ecc_bch_cfg = cpu_to_le32(ecc_bch_cfg); in qcom_spi_program_ecc()1150 ecc_bch_cfg = ecc_cfg->ecc_bch_cfg; in qcom_spi_program_oob()[all …]
113 u32 ecc_bch_cfg; member261 __le32 cmd, cfg0, cfg1, ecc_bch_cfg; in update_rw_regs() local278 ecc_bch_cfg = cpu_to_le32(host->ecc_bch_cfg); in update_rw_regs()284 ecc_bch_cfg = cpu_to_le32(ECC_CFG_ECC_DISABLE); in update_rw_regs()290 nandc->regs->ecc_bch_cfg = ecc_bch_cfg; in update_rw_regs()888 host->ecc_bch_cfg &= ~ECC_NUM_DATA_BYTES_MASK; in qcom_nandc_codeword_fixup()889 host->ecc_bch_cfg |= FIELD_PREP(ECC_NUM_DATA_BYTES_MASK, host->cw_data); in qcom_nandc_codeword_fixup()1526 host->ecc_bch_cfg = FIELD_PREP(ECC_CFG_ECC_DISABLE, !host->bch_enabled) | in qcom_nand_attach_chip()1545 host->cfg0, host->cfg1, host->ecc_buf_cfg, host->ecc_bch_cfg, in qcom_nand_attach_chip()
312 __le32 ecc_bch_cfg; member