Searched refs:FSMC_NAND_REG (Results 1 – 2 of 2) sorted by relevance
/linux-3.4.99/drivers/mtd/nand/ |
D | fsmc_nand.c | 381 pc = readl(FSMC_NAND_REG(regs, bank, PC)); in fsmc_cmd_ctrl() 386 writel(pc, FSMC_NAND_REG(regs, bank, PC)); in fsmc_cmd_ctrl() 429 writel(value | FSMC_DEVWID_16, FSMC_NAND_REG(regs, bank, PC)); in fsmc_nand_setup() 431 writel(value | FSMC_DEVWID_8, FSMC_NAND_REG(regs, bank, PC)); in fsmc_nand_setup() 433 writel(readl(FSMC_NAND_REG(regs, bank, PC)) | tclr | tar, in fsmc_nand_setup() 434 FSMC_NAND_REG(regs, bank, PC)); in fsmc_nand_setup() 435 writel(thiz | thold | twait | tset, FSMC_NAND_REG(regs, bank, COMM)); in fsmc_nand_setup() 436 writel(thiz | thold | twait | tset, FSMC_NAND_REG(regs, bank, ATTRIB)); in fsmc_nand_setup() 449 writel(readl(FSMC_NAND_REG(regs, bank, PC)) & ~FSMC_ECCPLEN_256, in fsmc_enable_hwecc() 450 FSMC_NAND_REG(regs, bank, PC)); in fsmc_enable_hwecc() [all …]
|
/linux-3.4.99/include/linux/mtd/ |
D | fsmc.h | 100 #define FSMC_NAND_REG(base, bank, reg) (base + FSMC_NOR_REG_SIZE + \ macro
|