Home
last modified time | relevance | path

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

/linux/drivers/w1/masters/
H A Domap_hdq.c48 struct hdq_data { struct
62 static inline u8 hdq_reg_in(struct hdq_data *hdq_data, u32 offset) in hdq_reg_in() argument
64 return __raw_readl(hdq_data->hdq_base + offset); in hdq_reg_in()
67 static inline void hdq_reg_out(struct hdq_data *hdq_data, u32 offset, u8 val) in hdq_reg_out() argument
69 __raw_writel(val, hdq_data->hdq_base + offset); in hdq_reg_out()
72 static inline u8 hdq_reg_merge(struct hdq_data *hdq_data, u32 offset, in hdq_reg_merge() argument
75 u8 new_val = (__raw_readl(hdq_data->hdq_base + offset) & ~mask) in hdq_reg_merge()
77 __raw_writel(new_val, hdq_data->hdq_base + offset); in hdq_reg_merge()
88 static int hdq_wait_for_flag(struct hdq_data *hdq_data, u32 offset, in hdq_wait_for_flag() argument
96 while (((*status = hdq_reg_in(hdq_data, offset)) & flag) in hdq_wait_for_flag()
[all …]