Lines Matching refs:zx_writel
114 zx_writel(zplane->rsz + RSZ_VL_ENABLE_CFG, 1); in zx_vl_rsz_set_update()
160 zx_writel(rsz + RSZ_SRC_CFG, RSZ_VER(src_h - 1) | RSZ_HOR(src_w - 1)); in zx_vl_rsz_setup()
161 zx_writel(rsz + RSZ_DEST_CFG, RSZ_VER(dst_h - 1) | RSZ_HOR(dst_w - 1)); in zx_vl_rsz_setup()
177 zx_writel(rsz + RSZ_VL_LUMA_HOR, rsz_step_value(src_w, dst_w)); in zx_vl_rsz_setup()
178 zx_writel(rsz + RSZ_VL_LUMA_VER, rsz_step_value(src_h, dst_h)); in zx_vl_rsz_setup()
179 zx_writel(rsz + RSZ_VL_CHROMA_HOR, rsz_step_value(src_chroma_w, dst_w)); in zx_vl_rsz_setup()
180 zx_writel(rsz + RSZ_VL_CHROMA_VER, rsz_step_value(src_chroma_h, dst_h)); in zx_vl_rsz_setup()
228 zx_writel(paddr_reg, paddr); in zx_vl_plane_atomic_update()
233 zx_writel(layer + VL_SRC_SIZE, GL_SRC_W(src_w) | GL_SRC_H(src_h)); in zx_vl_plane_atomic_update()
236 zx_writel(layer + VL_POS_START, GL_POS_X(dst_x) | GL_POS_Y(dst_y)); in zx_vl_plane_atomic_update()
239 zx_writel(layer + VL_POS_END, in zx_vl_plane_atomic_update()
243 zx_writel(layer + VL_STRIDE, LUMA_STRIDE(fb->pitches[0]) | in zx_vl_plane_atomic_update()
249 zx_writel(layer + VL_CTRL1, fmt); in zx_vl_plane_atomic_update()
341 zx_writel(zplane->rsz + RSZ_ENABLE_CFG, 1); in zx_gl_rsz_set_update()
349 zx_writel(rsz + RSZ_SRC_CFG, RSZ_VER(src_h - 1) | RSZ_HOR(src_w - 1)); in zx_gl_rsz_setup()
350 zx_writel(rsz + RSZ_DEST_CFG, RSZ_VER(dst_h - 1) | RSZ_HOR(dst_w - 1)); in zx_gl_rsz_setup()
393 zx_writel(layer + GL_ADDR, paddr); in zx_gl_plane_atomic_update()
396 zx_writel(layer + GL_SRC_SIZE, GL_SRC_W(src_w) | GL_SRC_H(src_h)); in zx_gl_plane_atomic_update()
399 zx_writel(layer + GL_POS_START, GL_POS_X(dst_x) | GL_POS_Y(dst_y)); in zx_gl_plane_atomic_update()
402 zx_writel(layer + GL_POS_END, in zx_gl_plane_atomic_update()
406 zx_writel(layer + GL_STRIDE, stride & 0xffff); in zx_gl_plane_atomic_update()
492 zx_writel(hbsc + HBSC_SATURATION, 0x200); in zx_plane_hbsc_init()
493 zx_writel(hbsc + HBSC_HUE, 0x0); in zx_plane_hbsc_init()
494 zx_writel(hbsc + HBSC_BRIGHT, 0x0); in zx_plane_hbsc_init()
495 zx_writel(hbsc + HBSC_CONTRAST, 0x200); in zx_plane_hbsc_init()
497 zx_writel(hbsc + HBSC_THRESHOLD_COL1, (0x3ac << 16) | 0x40); in zx_plane_hbsc_init()
498 zx_writel(hbsc + HBSC_THRESHOLD_COL2, (0x3c0 << 16) | 0x40); in zx_plane_hbsc_init()
499 zx_writel(hbsc + HBSC_THRESHOLD_COL3, (0x3c0 << 16) | 0x40); in zx_plane_hbsc_init()