Lines Matching refs:reg_id
185 static inline u32 vp_reg_read(struct mixer_context *ctx, u32 reg_id) in vp_reg_read() argument
187 return readl(ctx->vp_regs + reg_id); in vp_reg_read()
190 static inline void vp_reg_write(struct mixer_context *ctx, u32 reg_id, in vp_reg_write() argument
193 writel(val, ctx->vp_regs + reg_id); in vp_reg_write()
196 static inline void vp_reg_writemask(struct mixer_context *ctx, u32 reg_id, in vp_reg_writemask() argument
199 u32 old = vp_reg_read(ctx, reg_id); in vp_reg_writemask()
202 writel(val, ctx->vp_regs + reg_id); in vp_reg_writemask()
205 static inline u32 mixer_reg_read(struct mixer_context *ctx, u32 reg_id) in mixer_reg_read() argument
207 return readl(ctx->mixer_regs + reg_id); in mixer_reg_read()
210 static inline void mixer_reg_write(struct mixer_context *ctx, u32 reg_id, in mixer_reg_write() argument
213 writel(val, ctx->mixer_regs + reg_id); in mixer_reg_write()
217 u32 reg_id, u32 val, u32 mask) in mixer_reg_writemask() argument
219 u32 old = mixer_reg_read(ctx, reg_id); in mixer_reg_writemask()
222 writel(val, ctx->mixer_regs + reg_id); in mixer_reg_writemask()
227 #define DUMPREG(reg_id) \ in mixer_regs_dump() argument
229 DRM_DEV_DEBUG_KMS(ctx->dev, #reg_id " = %08x\n", \ in mixer_regs_dump()
230 (u32)readl(ctx->mixer_regs + reg_id)); \ in mixer_regs_dump()
259 #define DUMPREG(reg_id) \ in vp_regs_dump() argument
261 DRM_DEV_DEBUG_KMS(ctx->dev, #reg_id " = %08x\n", \ in vp_regs_dump()
262 (u32) readl(ctx->vp_regs + reg_id)); \ in vp_regs_dump()
293 int reg_id, const u8 *data, unsigned int size) in vp_filter_set() argument
297 for (; size; size -= 4, reg_id += 4, data += 4) { in vp_filter_set()
300 vp_reg_write(ctx, reg_id, val); in vp_filter_set()