Lines Matching refs:vp_write
27 static inline void vp_write(struct mxr_device *mdev, u32 reg_id, u32 val) in vp_write() function
65 vp_write(mdev, VP_SHADOW_UPDATE, en ? VP_SHADOW_UPDATE_ENABLE : 0); in mxr_vsync_set_update()
72 vp_write(mdev, VP_SRESET, VP_SRESET_PROCESSING); in __mxr_reg_vp_reset()
182 vp_write(mdev, VP_IMG_SIZE_Y, VP_IMG_HSIZE(geo->src.full_width) | in mxr_reg_vp_format()
185 vp_write(mdev, VP_IMG_SIZE_C, VP_IMG_HSIZE(geo->src.full_width) | in mxr_reg_vp_format()
188 vp_write(mdev, VP_SRC_WIDTH, geo->src.width); in mxr_reg_vp_format()
189 vp_write(mdev, VP_SRC_HEIGHT, geo->src.height); in mxr_reg_vp_format()
190 vp_write(mdev, VP_SRC_H_POSITION, in mxr_reg_vp_format()
192 vp_write(mdev, VP_SRC_V_POSITION, geo->src.y_offset); in mxr_reg_vp_format()
194 vp_write(mdev, VP_DST_WIDTH, geo->dst.width); in mxr_reg_vp_format()
195 vp_write(mdev, VP_DST_H_POSITION, geo->dst.x_offset); in mxr_reg_vp_format()
197 vp_write(mdev, VP_DST_HEIGHT, geo->dst.height / 2); in mxr_reg_vp_format()
198 vp_write(mdev, VP_DST_V_POSITION, geo->dst.y_offset / 2); in mxr_reg_vp_format()
200 vp_write(mdev, VP_DST_HEIGHT, geo->dst.height); in mxr_reg_vp_format()
201 vp_write(mdev, VP_DST_V_POSITION, geo->dst.y_offset); in mxr_reg_vp_format()
204 vp_write(mdev, VP_H_RATIO, geo->x_ratio); in mxr_reg_vp_format()
205 vp_write(mdev, VP_V_RATIO, geo->y_ratio); in mxr_reg_vp_format()
207 vp_write(mdev, VP_ENDIAN_MODE, VP_ENDIAN_MODE_LITTLE); in mxr_reg_vp_format()
244 vp_write(mdev, VP_TOP_Y_PTR, luma_addr[0]); in mxr_reg_vp_buffer()
245 vp_write(mdev, VP_TOP_C_PTR, chroma_addr[0]); in mxr_reg_vp_buffer()
246 vp_write(mdev, VP_BOT_Y_PTR, luma_addr[1]); in mxr_reg_vp_buffer()
247 vp_write(mdev, VP_BOT_C_PTR, chroma_addr[1]); in mxr_reg_vp_buffer()
464 vp_write(mdev, reg_id, val); in mxr_reg_vp_filter_set()