Home
last modified time | relevance | path

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

/external/u-boot/arch/arm/mach-uniphier/dram/
Dcmd_ddrmphy.c73 void __iomem *phy_base, *dx_base; in dump_loop() local
78 dx_base = phy_base + MPHY_DX_BASE; in dump_loop()
82 (*callback)(dx_base); in dump_loop()
83 dx_base += MPHY_DX_STRIDE; in dump_loop()
127 static void __wbdl_dump(void __iomem *dx_base) in __wbdl_dump() argument
129 print_bdl(dx_base + MPHY_DX_BDLR0, 4); in __wbdl_dump()
130 print_bdl(dx_base + MPHY_DX_BDLR1, 4); in __wbdl_dump()
131 print_bdl(dx_base + MPHY_DX_BDLR2, 2); in __wbdl_dump()
134 readl(dx_base + MPHY_DX_LCDLR1) & 0xff); in __wbdl_dump()
145 static void __rbdl_dump(void __iomem *dx_base) in __rbdl_dump() argument
[all …]
Dcmd_ddrphy.c88 void __iomem *phy_base, *dx_base; in dump_loop() local
93 dx_base = phy_base + PHY_DX_BASE; in dump_loop()
97 (*callback)(dx_base); in dump_loop()
98 dx_base += PHY_DX_STRIDE; in dump_loop()
106 static void __wbdl_dump(void __iomem *dx_base) in __wbdl_dump() argument
108 print_bdl(dx_base + PHY_DX_BDLR0, 5); in __wbdl_dump()
109 print_bdl(dx_base + PHY_DX_BDLR1, 5); in __wbdl_dump()
112 readl(dx_base + PHY_DX_LCDLR1) & 0xff); in __wbdl_dump()
123 static void __rbdl_dump(void __iomem *dx_base) in __rbdl_dump() argument
125 print_bdl(dx_base + PHY_DX_BDLR3, 5); in __rbdl_dump()
[all …]
Dumc-pxs2.c98 void __iomem *dx_base = phy_base + MPHY_DX_BASE; in ddrphy_dqs_delay_fixup() local
103 lcdlr1 = readl(dx_base + MPHY_DX_LCDLR1); in ddrphy_dqs_delay_fixup()
107 writel(lcdlr1, dx_base + MPHY_DX_LCDLR1); in ddrphy_dqs_delay_fixup()
108 readl(dx_base + MPHY_DX_LCDLR1); /* relax */ in ddrphy_dqs_delay_fixup()
109 dx_base += MPHY_DX_STRIDE; in ddrphy_dqs_delay_fixup()
117 void __iomem *dx_base = phy_base + MPHY_DX_BASE; in ddrphy_get_system_latency() local
124 gtr = readl(dx_base + MPHY_DX_GTR); in ddrphy_get_system_latency()
134 dx_base += MPHY_DX_STRIDE; in ddrphy_get_system_latency()
147 void __iomem *zq_base, *dx_base; in ddrphy_init() local
218 dx_base = phy_base + MPHY_DX_BASE; in ddrphy_init()
[all …]
Dddrphy-training.c23 void __iomem *dx_base = phy_base + PHY_DX_BASE; in ddrphy_prepare_training() local
28 tmp = readl(dx_base + PHY_DX_GCR); in ddrphy_prepare_training()
33 writel(tmp, dx_base + PHY_DX_GCR); in ddrphy_prepare_training()
34 dx_base += PHY_DX_STRIDE; in ddrphy_prepare_training()