Lines Matching refs:offset
16 static inline void __hmatrix_write_reg(unsigned long offset, u32 value)
18 __raw_writel(value, (void __iomem __force *)(HMATRIX_BASE + offset));
21 static inline u32 __hmatrix_read_reg(unsigned long offset)
23 return __raw_readl((void __iomem __force *)(HMATRIX_BASE + offset));
28 * @offset: register offset
29 * @value: value to be written to the register at @offset
31 void hmatrix_write_reg(unsigned long offset, u32 value)
34 __hmatrix_write_reg(offset, value);
35 __hmatrix_read_reg(offset);
41 * @offset: register offset
43 * Returns the value of the register at @offset.
45 u32 hmatrix_read_reg(unsigned long offset)
50 value = __hmatrix_read_reg(offset);