Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/w1/masters/
Domap_hdq.c55 struct hdq_data { struct
105 static inline u8 hdq_reg_in(struct hdq_data *hdq_data, u32 offset) in hdq_reg_in() argument
107 return __raw_readl(hdq_data->hdq_base + offset); in hdq_reg_in()
110 static inline void hdq_reg_out(struct hdq_data *hdq_data, u32 offset, u8 val) in hdq_reg_out() argument
112 __raw_writel(val, hdq_data->hdq_base + offset); in hdq_reg_out()
115 static inline u8 hdq_reg_merge(struct hdq_data *hdq_data, u32 offset, in hdq_reg_merge() argument
118 u8 new_val = (__raw_readl(hdq_data->hdq_base + offset) & ~mask) in hdq_reg_merge()
120 __raw_writel(new_val, hdq_data->hdq_base + offset); in hdq_reg_merge()
131 static int hdq_wait_for_flag(struct hdq_data *hdq_data, u32 offset, in hdq_wait_for_flag() argument
139 while (((*status = hdq_reg_in(hdq_data, offset)) & flag) in hdq_wait_for_flag()
[all …]