Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/w1/masters/
Domap_hdq.c54 struct hdq_data { struct
68 static inline u8 hdq_reg_in(struct hdq_data *hdq_data, u32 offset) in hdq_reg_in() argument
70 return __raw_readl(hdq_data->hdq_base + offset); in hdq_reg_in()
73 static inline void hdq_reg_out(struct hdq_data *hdq_data, u32 offset, u8 val) in hdq_reg_out() argument
75 __raw_writel(val, hdq_data->hdq_base + offset); in hdq_reg_out()
78 static inline u8 hdq_reg_merge(struct hdq_data *hdq_data, u32 offset, in hdq_reg_merge() argument
81 u8 new_val = (__raw_readl(hdq_data->hdq_base + offset) & ~mask) in hdq_reg_merge()
83 __raw_writel(new_val, hdq_data->hdq_base + offset); in hdq_reg_merge()
94 static int hdq_wait_for_flag(struct hdq_data *hdq_data, u32 offset, in hdq_wait_for_flag() argument
102 while (((*status = hdq_reg_in(hdq_data, offset)) & flag) in hdq_wait_for_flag()
[all …]