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()
2409 unsigned long regofs = 0; in WGen() local2416 regofs = 0xfff; in WGen()2419 vga_w(cinfo->regbase, regofs + regnum, val); in WGen()2425 unsigned long regofs = 0; in RGen() local2432 regofs = 0xfff; in RGen()2435 return vga_r(cinfo->regbase, regofs + regnum); in RGen()