Searched refs:regofs (Results 1 – 2 of 2) sorted by relevance
604 static inline unsigned long alchemy_rdsys(int regofs) in alchemy_rdsys() argument608 return __raw_readl(b + regofs); in alchemy_rdsys()611 static inline void alchemy_wrsys(unsigned long v, int regofs) in alchemy_wrsys() argument615 __raw_writel(v, b + regofs); in alchemy_wrsys()620 static inline unsigned long alchemy_rdsmem(int regofs) in alchemy_rdsmem() argument624 return __raw_readl(b + regofs); in alchemy_rdsmem()627 static inline void alchemy_wrsmem(unsigned long v, int regofs) in alchemy_wrsmem() argument631 __raw_writel(v, b + regofs); in alchemy_wrsmem()
2415 unsigned long regofs = 0; in WGen() local2422 regofs = 0xfff; in WGen()2425 vga_w(cinfo->regbase, regofs + regnum, val); in WGen()2431 unsigned long regofs = 0; in RGen() local2438 regofs = 0xfff; in RGen()2441 return vga_r(cinfo->regbase, regofs + regnum); in RGen()