Lines Matching refs:reg_id
181 static inline u32 vp_reg_read(struct mixer_context *ctx, u32 reg_id) in vp_reg_read() argument
183 return readl(ctx->vp_regs + reg_id); in vp_reg_read()
186 static inline void vp_reg_write(struct mixer_context *ctx, u32 reg_id, in vp_reg_write() argument
189 writel(val, ctx->vp_regs + reg_id); in vp_reg_write()
192 static inline void vp_reg_writemask(struct mixer_context *ctx, u32 reg_id, in vp_reg_writemask() argument
195 u32 old = vp_reg_read(ctx, reg_id); in vp_reg_writemask()
198 writel(val, ctx->vp_regs + reg_id); in vp_reg_writemask()
201 static inline u32 mixer_reg_read(struct mixer_context *ctx, u32 reg_id) in mixer_reg_read() argument
203 return readl(ctx->mixer_regs + reg_id); in mixer_reg_read()
206 static inline void mixer_reg_write(struct mixer_context *ctx, u32 reg_id, in mixer_reg_write() argument
209 writel(val, ctx->mixer_regs + reg_id); in mixer_reg_write()
213 u32 reg_id, u32 val, u32 mask) in mixer_reg_writemask() argument
215 u32 old = mixer_reg_read(ctx, reg_id); in mixer_reg_writemask()
218 writel(val, ctx->mixer_regs + reg_id); in mixer_reg_writemask()
223 #define DUMPREG(reg_id) \ in mixer_regs_dump() argument
225 DRM_DEV_DEBUG_KMS(ctx->dev, #reg_id " = %08x\n", \ in mixer_regs_dump()
226 (u32)readl(ctx->mixer_regs + reg_id)); \ in mixer_regs_dump()
255 #define DUMPREG(reg_id) \ in vp_regs_dump() argument
257 DRM_DEV_DEBUG_KMS(ctx->dev, #reg_id " = %08x\n", \ in vp_regs_dump()
258 (u32) readl(ctx->vp_regs + reg_id)); \ in vp_regs_dump()
289 int reg_id, const u8 *data, unsigned int size) in vp_filter_set() argument
293 for (; size; size -= 4, reg_id += 4, data += 4) { in vp_filter_set()
296 vp_reg_write(ctx, reg_id, val); in vp_filter_set()