Home
last modified time | relevance | path

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

/linux/drivers/mtd/nand/raw/
H A Dsunxi_nand.c46 #define NFC_REG_ECC_CTL 0x0034 macro
337 writel(0, nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_rst()
626 u32 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config()
632 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config()
634 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL) & ~NFC_RANDOM_SEED_MSK; in sunxi_nfc_randomizer_config()
645 writel(readl(nfc->regs + NFC_REG_ECC_CTL) | NFC_RANDOM_EN, in sunxi_nfc_randomizer_enable()
646 nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_enable()
656 writel(readl(nfc->regs + NFC_REG_ECC_CTL) & ~NFC_RANDOM_EN, in sunxi_nfc_randomizer_disable()
657 nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_disable()
692 writel(sunxi_nand->ecc.ecc_ctl, nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_hw_ecc_enable()
[all …]