Home
last modified time | relevance | path

Searched refs:regofs (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/arch/mips/include/asm/mach-au1x00/
Dau1000.h601 static inline unsigned long alchemy_rdsys(int regofs) in alchemy_rdsys() argument
605 return __raw_readl(b + regofs); in alchemy_rdsys()
608 static inline void alchemy_wrsys(unsigned long v, int regofs) in alchemy_wrsys() argument
612 __raw_writel(v, b + regofs); in alchemy_wrsys()
617 static inline unsigned long alchemy_rdsmem(int regofs) in alchemy_rdsmem() argument
621 return __raw_readl(b + regofs); in alchemy_rdsmem()
624 static inline void alchemy_wrsmem(unsigned long v, int regofs) in alchemy_wrsmem() argument
628 __raw_writel(v, b + regofs); in alchemy_wrsmem()
/linux-6.1.9/drivers/video/fbdev/
Dcirrusfb.c2409 unsigned long regofs = 0; in WGen() local
2416 regofs = 0xfff; in WGen()
2419 vga_w(cinfo->regbase, regofs + regnum, val); in WGen()
2425 unsigned long regofs = 0; in RGen() local
2432 regofs = 0xfff; in RGen()
2435 return vga_r(cinfo->regbase, regofs + regnum); in RGen()