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

/linux-4.1.27/arch/powerpc/platforms/chrp/
H A Dpegasos_eth.c110 #define MV_READ(offset,val) { val = readl(mv643xx_reg_base + offset); }
111 #define MV_WRITE(offset,data) writel(data, mv643xx_reg_base + offset)
113 static void __iomem *mv643xx_reg_base; variable
119 if (mv643xx_reg_base == NULL) Enable_SRAM()
120 mv643xx_reg_base = ioremap(PEGASOS2_MARVELL_REGBASE, Enable_SRAM()
123 if (mv643xx_reg_base == NULL) Enable_SRAM()
128 (void *)PEGASOS2_MARVELL_REGBASE, (void *)mv643xx_reg_base); Enable_SRAM()
154 iounmap(mv643xx_reg_base); Enable_SRAM()
155 mv643xx_reg_base = NULL; Enable_SRAM()

Completed in 38 milliseconds