Home
last modified time | relevance | path

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

/openbmc/u-boot/drivers/reset/
H A Dreset-mediatek.c18 u32 regofs; member
41 priv->regofs + ((id / 32) << 2), BIT(id % 32), BIT(id % 32)); in mediatek_reset_assert()
53 priv->regofs + ((id / 32) << 2), BIT(id % 32), 0); in mediatek_reset_deassert()
67 if (!priv->regofs && !priv->nr_resets) in mediatek_reset_probe()
77 int mediatek_reset_bind(struct udevice *pdev, u32 regofs, u32 num_regs) in mediatek_reset_bind() argument
89 priv->regofs = regofs; in mediatek_reset_bind()
/openbmc/linux/arch/mips/include/asm/mach-au1x00/
H A 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()
/openbmc/u-boot/arch/arm/include/asm/arch-mediatek/
H A Dreset.h11 int mediatek_reset_bind(struct udevice *pdev, u32 regofs, u32 num_regs);
/openbmc/linux/drivers/video/fbdev/
H A Dcirrusfb.c2413 unsigned long regofs = 0; in WGen() local
2420 regofs = 0xfff; in WGen()
2423 vga_w(cinfo->regbase, regofs + regnum, val); in WGen()
2429 unsigned long regofs = 0; in RGen() local
2436 regofs = 0xfff; in RGen()
2439 return vga_r(cinfo->regbase, regofs + regnum); in RGen()