Searched refs:ecc_ctl (Results 1 – 2 of 2) sorted by relevance
708 u32 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config() local714 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config()716 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL) & ~NFC_RANDOM_SEED_MSK; in sunxi_nfc_randomizer_config()717 writel(ecc_ctl | NFC_RANDOM_SEED(state), nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config()776 u32 ecc_ctl; in sunxi_nfc_hw_ecc_enable() local778 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_hw_ecc_enable()779 ecc_ctl &= ~(NFC_ECC_MODE_MSK | NFC_ECC_PIPELINE | in sunxi_nfc_hw_ecc_enable()781 ecc_ctl |= NFC_ECC_EN | NFC_ECC_MODE(data->mode) | NFC_ECC_EXCEPTION; in sunxi_nfc_hw_ecc_enable()784 ecc_ctl |= NFC_ECC_BLOCK_512; in sunxi_nfc_hw_ecc_enable()786 writel(ecc_ctl, nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_hw_ecc_enable()
616 u32 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config() local622 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config()624 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL) & ~NFC_RANDOM_SEED_MSK; in sunxi_nfc_randomizer_config()625 writel(ecc_ctl | NFC_RANDOM_SEED(state), nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_randomizer_config()681 u32 ecc_ctl; in sunxi_nfc_hw_ecc_enable() local683 ecc_ctl = readl(nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_hw_ecc_enable()684 ecc_ctl &= ~(NFC_ECC_MODE_MSK | NFC_ECC_PIPELINE | in sunxi_nfc_hw_ecc_enable()686 ecc_ctl |= NFC_ECC_EN | NFC_ECC_MODE(data->mode) | NFC_ECC_EXCEPTION | in sunxi_nfc_hw_ecc_enable()690 ecc_ctl |= NFC_ECC_BLOCK_512; in sunxi_nfc_hw_ecc_enable()692 writel(ecc_ctl, nfc->regs + NFC_REG_ECC_CTL); in sunxi_nfc_hw_ecc_enable()