Searched refs:nfcsr (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/memory/
H A Djz4780-nemc.c93 uint32_t nfcsr; jz4780_nemc_set_type() local
95 nfcsr = readl(nemc->base + NEMC_NFCSR); jz4780_nemc_set_type()
100 nfcsr &= ~(NEMC_NFCSR_TNFEn(bank) | NEMC_NFCSR_NFEn(bank)); jz4780_nemc_set_type()
103 nfcsr &= ~NEMC_NFCSR_TNFEn(bank); jz4780_nemc_set_type()
104 nfcsr |= NEMC_NFCSR_NFEn(bank); jz4780_nemc_set_type()
108 writel(nfcsr, nemc->base + NEMC_NFCSR); jz4780_nemc_set_type()
124 uint32_t nfcsr; jz4780_nemc_assert() local
126 nfcsr = readl(nemc->base + NEMC_NFCSR); jz4780_nemc_assert()
129 nfcsr |= NEMC_NFCSR_NFCEn(bank); jz4780_nemc_assert()
131 nfcsr &= ~NEMC_NFCSR_NFCEn(bank); jz4780_nemc_assert()
133 writel(nfcsr, nemc->base + NEMC_NFCSR); jz4780_nemc_assert()

Completed in 33 milliseconds