Lines Matching refs:nfcsr
97 uint32_t nfcsr; in jz4780_nemc_set_type() local
99 nfcsr = readl(nemc->base + NEMC_NFCSR); in jz4780_nemc_set_type()
104 nfcsr &= ~(NEMC_NFCSR_TNFEn(bank) | NEMC_NFCSR_NFEn(bank)); in jz4780_nemc_set_type()
107 nfcsr &= ~NEMC_NFCSR_TNFEn(bank); in jz4780_nemc_set_type()
108 nfcsr |= NEMC_NFCSR_NFEn(bank); in jz4780_nemc_set_type()
112 writel(nfcsr, nemc->base + NEMC_NFCSR); in jz4780_nemc_set_type()
128 uint32_t nfcsr; in jz4780_nemc_assert() local
130 nfcsr = readl(nemc->base + NEMC_NFCSR); in jz4780_nemc_assert()
133 nfcsr |= NEMC_NFCSR_NFCEn(bank); in jz4780_nemc_assert()
135 nfcsr &= ~NEMC_NFCSR_NFCEn(bank); in jz4780_nemc_assert()
137 writel(nfcsr, nemc->base + NEMC_NFCSR); in jz4780_nemc_assert()