Searched refs:hdq_data (Results 1 – 1 of 1) sorted by relevance
/drivers/w1/masters/ |
D | omap_hdq.c | 56 struct hdq_data { struct 101 static inline u8 hdq_reg_in(struct hdq_data *hdq_data, u32 offset) in hdq_reg_in() argument 103 return __raw_readb(hdq_data->hdq_base + offset); in hdq_reg_in() 106 static inline void hdq_reg_out(struct hdq_data *hdq_data, u32 offset, u8 val) in hdq_reg_out() argument 108 __raw_writeb(val, hdq_data->hdq_base + offset); in hdq_reg_out() 111 static inline u8 hdq_reg_merge(struct hdq_data *hdq_data, u32 offset, in hdq_reg_merge() argument 114 u8 new_val = (__raw_readb(hdq_data->hdq_base + offset) & ~mask) in hdq_reg_merge() 116 __raw_writeb(new_val, hdq_data->hdq_base + offset); in hdq_reg_merge() 127 static int hdq_wait_for_flag(struct hdq_data *hdq_data, u32 offset, in hdq_wait_for_flag() argument 135 while (((*status = hdq_reg_in(hdq_data, offset)) & flag) in hdq_wait_for_flag() [all …]
|