Searched refs:ecc_ctl (Results 1 – 1 of 1) sorted by relevance
627 u32 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config() local633 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config()635 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL) & ~NFC_RANDOM_SEED_MSK; in sunxi_nfc_randomizer_config()636 writel(ecc_ctl | NFC_RANDOM_SEED(state), nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config()692 u32 ecc_ctl; in sunxi_nfc_hw_ecc_enable() local694 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_hw_ecc_enable()695 ecc_ctl &= ~(NFC_ECC_MODE_MSK | NFC_ECC_PIPELINE | in sunxi_nfc_hw_ecc_enable()697 ecc_ctl |= NFC_ECC_EN | NFC_ECC_MODE(sunxi_nand->ecc->mode) | in sunxi_nfc_hw_ecc_enable()701 ecc_ctl |= NFC_ECC_BLOCK_512; in sunxi_nfc_hw_ecc_enable()703 writel(ecc_ctl, nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_hw_ecc_enable()