Lines Matching refs:addr
134 static inline u32 xvip_read(struct xvip_device *xvip, u32 addr)
136 return ioread32(xvip->iomem + addr);
139 static inline void xvip_write(struct xvip_device *xvip, u32 addr, u32 value)
141 iowrite32(value, xvip->iomem + addr);
144 static inline void xvip_clr(struct xvip_device *xvip, u32 addr, u32 clr)
146 xvip_write(xvip, addr, xvip_read(xvip, addr) & ~clr);
149 static inline void xvip_set(struct xvip_device *xvip, u32 addr, u32 set)
151 xvip_write(xvip, addr, xvip_read(xvip, addr) | set);
154 void xvip_clr_or_set(struct xvip_device *xvip, u32 addr, u32 mask, bool set);
155 void xvip_clr_and_set(struct xvip_device *xvip, u32 addr, u32 clr, u32 set);