Searched refs:ecc_bch_cfg (Results 1 – 1 of 1) sorted by relevance
319 __le32 ecc_bch_cfg; member537 u32 ecc_bch_cfg; member717 return ®s->ecc_bch_cfg; in offset_to_nandc_reg()814 u32 cmd, cfg0, cfg1, ecc_bch_cfg; in update_rw_regs() local831 ecc_bch_cfg = host->ecc_bch_cfg; in update_rw_regs()837 ecc_bch_cfg = 1 << ECC_CFG_ECC_DISABLE; in update_rw_regs()843 nandc_set_reg(chip, NAND_DEV0_ECC_CFG, ecc_bch_cfg); in update_rw_regs()1879 host->ecc_bch_cfg &= ~ECC_NUM_DATA_BYTES_MASK; in qcom_nandc_codeword_fixup()1880 host->ecc_bch_cfg |= host->cw_data << ECC_NUM_DATA_BYTES; in qcom_nandc_codeword_fixup()2518 host->ecc_bch_cfg = !host->bch_enabled << ECC_CFG_ECC_DISABLE in qcom_nand_attach_chip()[all …]