Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/chrp/
H A Dpegasos_eth.c114 #define MV_READ(offset,val) { val = readl(mv643xx_reg_base + offset); }
115 #define MV_WRITE(offset,data) writel(data, mv643xx_reg_base + offset)
117 static void __iomem *mv643xx_reg_base; variable
123 if (mv643xx_reg_base == NULL) in Enable_SRAM()
124 mv643xx_reg_base = ioremap(PEGASOS2_MARVELL_REGBASE, in Enable_SRAM()
127 if (mv643xx_reg_base == NULL) in Enable_SRAM()
132 (void *)PEGASOS2_MARVELL_REGBASE, (void *)mv643xx_reg_base); in Enable_SRAM()
158 iounmap(mv643xx_reg_base); in Enable_SRAM()
159 mv643xx_reg_base = NULL; in Enable_SRAM()