Lines Matching refs:zx_writel
110 zx_writel(zplane->rsz + RSZ_VL_ENABLE_CFG, 1); in zx_vl_rsz_set_update()
156 zx_writel(rsz + RSZ_SRC_CFG, RSZ_VER(src_h - 1) | RSZ_HOR(src_w - 1)); in zx_vl_rsz_setup()
157 zx_writel(rsz + RSZ_DEST_CFG, RSZ_VER(dst_h - 1) | RSZ_HOR(dst_w - 1)); in zx_vl_rsz_setup()
173 zx_writel(rsz + RSZ_VL_LUMA_HOR, rsz_step_value(src_w, dst_w)); in zx_vl_rsz_setup()
174 zx_writel(rsz + RSZ_VL_LUMA_VER, rsz_step_value(src_h, dst_h)); in zx_vl_rsz_setup()
175 zx_writel(rsz + RSZ_VL_CHROMA_HOR, rsz_step_value(src_chroma_w, dst_w)); in zx_vl_rsz_setup()
176 zx_writel(rsz + RSZ_VL_CHROMA_VER, rsz_step_value(src_chroma_h, dst_h)); in zx_vl_rsz_setup()
222 zx_writel(paddr_reg, paddr); in zx_vl_plane_atomic_update()
227 zx_writel(layer + VL_SRC_SIZE, GL_SRC_W(src_w) | GL_SRC_H(src_h)); in zx_vl_plane_atomic_update()
230 zx_writel(layer + VL_POS_START, GL_POS_X(dst_x) | GL_POS_Y(dst_y)); in zx_vl_plane_atomic_update()
233 zx_writel(layer + VL_POS_END, in zx_vl_plane_atomic_update()
237 zx_writel(layer + VL_STRIDE, LUMA_STRIDE(fb->pitches[0]) | in zx_vl_plane_atomic_update()
243 zx_writel(layer + VL_CTRL1, fmt); in zx_vl_plane_atomic_update()
335 zx_writel(zplane->rsz + RSZ_ENABLE_CFG, 1); in zx_gl_rsz_set_update()
343 zx_writel(rsz + RSZ_SRC_CFG, RSZ_VER(src_h - 1) | RSZ_HOR(src_w - 1)); in zx_gl_rsz_setup()
344 zx_writel(rsz + RSZ_DEST_CFG, RSZ_VER(dst_h - 1) | RSZ_HOR(dst_w - 1)); in zx_gl_rsz_setup()
387 zx_writel(layer + GL_ADDR, paddr); in zx_gl_plane_atomic_update()
390 zx_writel(layer + GL_SRC_SIZE, GL_SRC_W(src_w) | GL_SRC_H(src_h)); in zx_gl_plane_atomic_update()
393 zx_writel(layer + GL_POS_START, GL_POS_X(dst_x) | GL_POS_Y(dst_y)); in zx_gl_plane_atomic_update()
396 zx_writel(layer + GL_POS_END, in zx_gl_plane_atomic_update()
400 zx_writel(layer + GL_STRIDE, stride & 0xffff); in zx_gl_plane_atomic_update()
485 zx_writel(hbsc + HBSC_SATURATION, 0x200); in zx_plane_hbsc_init()
486 zx_writel(hbsc + HBSC_HUE, 0x0); in zx_plane_hbsc_init()
487 zx_writel(hbsc + HBSC_BRIGHT, 0x0); in zx_plane_hbsc_init()
488 zx_writel(hbsc + HBSC_CONTRAST, 0x200); in zx_plane_hbsc_init()
490 zx_writel(hbsc + HBSC_THRESHOLD_COL1, (0x3ac << 16) | 0x40); in zx_plane_hbsc_init()
491 zx_writel(hbsc + HBSC_THRESHOLD_COL2, (0x3c0 << 16) | 0x40); in zx_plane_hbsc_init()
492 zx_writel(hbsc + HBSC_THRESHOLD_COL3, (0x3c0 << 16) | 0x40); in zx_plane_hbsc_init()