Searched refs:mv643xx_reg_base (Results 1 – 1 of 1) sorted by relevance
111 #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; variable120 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()