Lines Matching defs:offset
68 static inline u8 hdq_reg_in(struct hdq_data *hdq_data, u32 offset)
70 return __raw_readl(hdq_data->hdq_base + offset);
73 static inline void hdq_reg_out(struct hdq_data *hdq_data, u32 offset, u8 val)
75 __raw_writel(val, hdq_data->hdq_base + offset);
78 static inline u8 hdq_reg_merge(struct hdq_data *hdq_data, u32 offset,
81 u8 new_val = (__raw_readl(hdq_data->hdq_base + offset) & ~mask)
83 __raw_writel(new_val, hdq_data->hdq_base + offset);
94 static int hdq_wait_for_flag(struct hdq_data *hdq_data, u32 offset,
102 while (((*status = hdq_reg_in(hdq_data, offset)) & flag)
110 while (!((*status = hdq_reg_in(hdq_data, offset)) & flag)