Home
last modified time | relevance | path

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

/openbmc/linux/drivers/mtd/nand/raw/
H A Dfsmc_nand.c62 #define FSMC_PC 0x00 macro
278 writel_relaxed(value | tclr | tar, host->regs_va + FSMC_PC); in fsmc_nand_setup()
378 writel_relaxed(readl(host->regs_va + FSMC_PC) & ~FSMC_ECCPLEN_256, in fsmc_enable_hwecc()
379 host->regs_va + FSMC_PC); in fsmc_enable_hwecc()
380 writel_relaxed(readl(host->regs_va + FSMC_PC) & ~FSMC_ECCEN, in fsmc_enable_hwecc()
381 host->regs_va + FSMC_PC); in fsmc_enable_hwecc()
382 writel_relaxed(readl(host->regs_va + FSMC_PC) | FSMC_ECCEN, in fsmc_enable_hwecc()
383 host->regs_va + FSMC_PC); in fsmc_enable_hwecc()
1012 val = readl(host->regs_va + FSMC_PC); in fsmc_nand_disable()
1014 writel(val, host->regs_va + FSMC_PC); in fsmc_nand_disable()