Searched refs:regofs (Results 1 – 2 of 2) sorted by relevance
601 static inline unsigned long alchemy_rdsys(int regofs) in alchemy_rdsys() argument605 return __raw_readl(b + regofs); in alchemy_rdsys()608 static inline void alchemy_wrsys(unsigned long v, int regofs) in alchemy_wrsys() argument612 __raw_writel(v, b + regofs); in alchemy_wrsys()617 static inline unsigned long alchemy_rdsmem(int regofs) in alchemy_rdsmem() argument621 return __raw_readl(b + regofs); in alchemy_rdsmem()624 static inline void alchemy_wrsmem(unsigned long v, int regofs) in alchemy_wrsmem() argument628 __raw_writel(v, b + regofs); in alchemy_wrsmem()
2413 unsigned long regofs = 0; in WGen() local2420 regofs = 0xfff; in WGen()2423 vga_w(cinfo->regbase, regofs + regnum, val); in WGen()2429 unsigned long regofs = 0; in RGen() local2436 regofs = 0xfff; in RGen()2439 return vga_r(cinfo->regbase, regofs + regnum); in RGen()