Home
last modified time | relevance | path

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

/drivers/mtd/nand/gpmi-nand/
Dgpmi-lib.c164 ret = gpmi_reset_block(r->gpmi_regs, false); in gpmi_init()
178 writel(BM_GPMI_CTRL1_GPMI_MODE, r->gpmi_regs + HW_GPMI_CTRL1_CLR); in gpmi_init()
182 r->gpmi_regs + HW_GPMI_CTRL1_SET); in gpmi_init()
185 writel(BM_GPMI_CTRL1_DEV_RESET, r->gpmi_regs + HW_GPMI_CTRL1_SET); in gpmi_init()
188 writel(BM_GPMI_CTRL1_BCH_MODE, r->gpmi_regs + HW_GPMI_CTRL1_SET); in gpmi_init()
206 reg = readl(r->gpmi_regs + i * 0x10); in gpmi_dump_info()
973 void __iomem *gpmi_regs = r->gpmi_regs; in gpmi_begin() local
1002 writel(reg, gpmi_regs + HW_GPMI_TIMING0); in gpmi_begin()
1006 gpmi_regs + HW_GPMI_TIMING1); in gpmi_begin()
1011 writel(BM_GPMI_CTRL1_WRN_DLY_SEL, gpmi_regs + HW_GPMI_CTRL1_CLR); in gpmi_begin()
[all …]
Dgpmi-nand.h27 void __iomem *gpmi_regs; member
Dgpmi-nand.c368 res->gpmi_regs = p; in acquire_register_block()
380 if (res->gpmi_regs) in release_register_block()
381 iounmap(res->gpmi_regs); in release_register_block()
384 res->gpmi_regs = NULL; in release_register_block()