Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/chrp/
H A Dpegasos_eth.c111 #define MV_READ(offset,val) { val = readl(mv643xx_reg_base + offset); }
112 #define MV_WRITE(offset,data) writel(data, mv643xx_reg_base + offset)
114 static void __iomem *mv643xx_reg_base; variable
120 if (mv643xx_reg_base == NULL) in Enable_SRAM()
121 mv643xx_reg_base = ioremap(PEGASOS2_MARVELL_REGBASE, in Enable_SRAM()
124 if (mv643xx_reg_base == NULL) in Enable_SRAM()
129 (void *)PEGASOS2_MARVELL_REGBASE, (void *)mv643xx_reg_base); in Enable_SRAM()
155 iounmap(mv643xx_reg_base); in Enable_SRAM()
156 mv643xx_reg_base = NULL; in Enable_SRAM()