Searched refs:regofs (Results 1 – 4 of 4) sorted by relevance
/linux-5.19.10/drivers/clk/mediatek/ |
D | reset.c | 18 int regofs; member 26 unsigned int reg = data->regofs + ((id / 32) << 4); in mtk_reset_assert_set_clr() 35 unsigned int reg = data->regofs + ((id / 32) << 4) + 0x4; in mtk_reset_deassert_set_clr() 45 return regmap_update_bits(data->regmap, data->regofs + ((id / 32) << 2), in mtk_reset_assert() 54 return regmap_update_bits(data->regmap, data->regofs + ((id / 32) << 2), in mtk_reset_deassert() 94 unsigned int num_regs, int regofs, in mtk_register_reset_controller_common() argument 112 data->regofs = regofs; in mtk_register_reset_controller_common() 127 unsigned int num_regs, int regofs) in mtk_register_reset_controller() argument 129 mtk_register_reset_controller_common(np, num_regs, regofs, in mtk_register_reset_controller() 134 unsigned int num_regs, int regofs) in mtk_register_reset_controller_set_clr() argument [all …]
|
D | clk-mtk.h | 191 unsigned int num_regs, int regofs); 194 unsigned int num_regs, int regofs);
|
/linux-5.19.10/arch/mips/include/asm/mach-au1x00/ |
D | au1000.h | 601 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-5.19.10/drivers/video/fbdev/ |
D | cirrusfb.c | 2404 unsigned long regofs = 0; in WGen() local 2411 regofs = 0xfff; in WGen() 2414 vga_w(cinfo->regbase, regofs + regnum, val); in WGen() 2420 unsigned long regofs = 0; in RGen() local 2427 regofs = 0xfff; in RGen() 2430 return vga_r(cinfo->regbase, regofs + regnum); in RGen()
|