Lines Matching refs:vop2_win_write
281 static void vop2_win_write(const struct vop2_win *win, unsigned int reg, u32 v) in vop2_win_write() function
312 vop2_win_write(win, VOP2_WIN_ENABLE, 0); in vop2_win_disable()
315 vop2_win_write(win, VOP2_WIN_CLUSTER_ENABLE, 0); in vop2_win_disable()
751 vop2_win_write(win, VOP2_WIN_SCALE_YRGB_X, val); in vop2_setup_scale()
753 vop2_win_write(win, VOP2_WIN_SCALE_YRGB_Y, val); in vop2_setup_scale()
755 vop2_win_write(win, VOP2_WIN_VSD_YRGB_GT4, gt4); in vop2_setup_scale()
756 vop2_win_write(win, VOP2_WIN_VSD_YRGB_GT2, gt2); in vop2_setup_scale()
758 vop2_win_write(win, VOP2_WIN_YRGB_HOR_SCL_MODE, hor_scl_mode); in vop2_setup_scale()
759 vop2_win_write(win, VOP2_WIN_YRGB_VER_SCL_MODE, ver_scl_mode); in vop2_setup_scale()
764 vop2_win_write(win, VOP2_WIN_YRGB_HSCL_FILTER_MODE, hscl_filter_mode); in vop2_setup_scale()
765 vop2_win_write(win, VOP2_WIN_YRGB_VSCL_FILTER_MODE, vscl_filter_mode); in vop2_setup_scale()
786 vop2_win_write(win, VOP2_WIN_SCALE_CBCR_X, val); in vop2_setup_scale()
789 vop2_win_write(win, VOP2_WIN_SCALE_CBCR_Y, val); in vop2_setup_scale()
791 vop2_win_write(win, VOP2_WIN_VSD_CBCR_GT4, gt4); in vop2_setup_scale()
792 vop2_win_write(win, VOP2_WIN_VSD_CBCR_GT2, gt2); in vop2_setup_scale()
793 vop2_win_write(win, VOP2_WIN_CBCR_HOR_SCL_MODE, hor_scl_mode); in vop2_setup_scale()
794 vop2_win_write(win, VOP2_WIN_CBCR_VER_SCL_MODE, ver_scl_mode); in vop2_setup_scale()
795 vop2_win_write(win, VOP2_WIN_CBCR_HSCL_FILTER_MODE, hscl_filter_mode); in vop2_setup_scale()
796 vop2_win_write(win, VOP2_WIN_CBCR_VSCL_FILTER_MODE, vscl_filter_mode); in vop2_setup_scale()
879 vop2_win_write(win, VOP2_WIN_Y2R_EN, y2r_en); in vop2_setup_csc_mode()
880 vop2_win_write(win, VOP2_WIN_R2Y_EN, r2y_en); in vop2_setup_csc_mode()
881 vop2_win_write(win, VOP2_WIN_CSC_MODE, csc_mode); in vop2_setup_csc_mode()
1141 vop2_win_write(win, VOP2_WIN_YUV_CLIP, 0); in vop2_plane_atomic_disable()
1159 vop2_win_write(win, VOP2_WIN_COLOR_KEY_EN, 0); in vop2_plane_setup_color_key()
1190 vop2_win_write(win, VOP2_WIN_COLOR_KEY_EN, color_key_en); in vop2_plane_setup_color_key()
1191 vop2_win_write(win, VOP2_WIN_COLOR_KEY, (r << 20) | (g << 10) | b); in vop2_plane_setup_color_key()
1324 vop2_win_write(win, VOP2_WIN_AFBC_HALF_BLOCK_EN, half_block_en); in vop2_plane_atomic_update()
1361 vop2_win_write(win, VOP2_WIN_AFBC_ENABLE, 1); in vop2_plane_atomic_update()
1362 vop2_win_write(win, VOP2_WIN_AFBC_FORMAT, afbc_format); in vop2_plane_atomic_update()
1363 vop2_win_write(win, VOP2_WIN_AFBC_UV_SWAP, uv_swap); in vop2_plane_atomic_update()
1373 vop2_win_write(win, VOP2_WIN_AFBC_AUTO_GATING_EN, 0); in vop2_plane_atomic_update()
1375 vop2_win_write(win, VOP2_WIN_AFBC_AUTO_GATING_EN, 1); in vop2_plane_atomic_update()
1377 vop2_win_write(win, VOP2_WIN_AFBC_BLOCK_SPLIT_EN, 0); in vop2_plane_atomic_update()
1379 vop2_win_write(win, VOP2_WIN_AFBC_HDR_PTR, yrgb_mst); in vop2_plane_atomic_update()
1380 vop2_win_write(win, VOP2_WIN_AFBC_PIC_SIZE, act_info); in vop2_plane_atomic_update()
1381 vop2_win_write(win, VOP2_WIN_AFBC_TRANSFORM_OFFSET, transform_offset); in vop2_plane_atomic_update()
1382 vop2_win_write(win, VOP2_WIN_AFBC_PIC_OFFSET, ((src->x1 >> 16) | src->y1)); in vop2_plane_atomic_update()
1383 vop2_win_write(win, VOP2_WIN_AFBC_DSP_OFFSET, (dest->x1 | (dest->y1 << 16))); in vop2_plane_atomic_update()
1384 vop2_win_write(win, VOP2_WIN_AFBC_PIC_VIR_WIDTH, stride); in vop2_plane_atomic_update()
1385 vop2_win_write(win, VOP2_WIN_AFBC_TILE_NUM, afbc_tile_num); in vop2_plane_atomic_update()
1386 vop2_win_write(win, VOP2_WIN_XMIRROR, xmirror); in vop2_plane_atomic_update()
1387 vop2_win_write(win, VOP2_WIN_AFBC_ROTATE_270, rotate_270); in vop2_plane_atomic_update()
1388 vop2_win_write(win, VOP2_WIN_AFBC_ROTATE_90, rotate_90); in vop2_plane_atomic_update()
1391 vop2_win_write(win, VOP2_WIN_AFBC_ENABLE, 0); in vop2_plane_atomic_update()
1392 vop2_win_write(win, VOP2_WIN_AFBC_TRANSFORM_OFFSET, 0); in vop2_plane_atomic_update()
1395 vop2_win_write(win, VOP2_WIN_YRGB_VIR, DIV_ROUND_UP(fb->pitches[0], 4)); in vop2_plane_atomic_update()
1398 vop2_win_write(win, VOP2_WIN_YMIRROR, ymirror); in vop2_plane_atomic_update()
1406 vop2_win_write(win, VOP2_WIN_FORMAT, format); in vop2_plane_atomic_update()
1407 vop2_win_write(win, VOP2_WIN_YRGB_MST, yrgb_mst); in vop2_plane_atomic_update()
1410 vop2_win_write(win, VOP2_WIN_RB_SWAP, rb_swap); in vop2_plane_atomic_update()
1413 vop2_win_write(win, VOP2_WIN_UV_SWAP, uv_swap); in vop2_plane_atomic_update()
1417 vop2_win_write(win, VOP2_WIN_UV_VIR, DIV_ROUND_UP(fb->pitches[1], 4)); in vop2_plane_atomic_update()
1418 vop2_win_write(win, VOP2_WIN_UV_MST, uv_mst); in vop2_plane_atomic_update()
1424 vop2_win_write(win, VOP2_WIN_ACT_INFO, act_info); in vop2_plane_atomic_update()
1425 vop2_win_write(win, VOP2_WIN_DSP_INFO, dsp_info); in vop2_plane_atomic_update()
1426 vop2_win_write(win, VOP2_WIN_DSP_ST, dest->y1 << 16 | (dest->x1 & 0xffff)); in vop2_plane_atomic_update()
1431 vop2_win_write(win, VOP2_WIN_DITHER_UP, dither_up); in vop2_plane_atomic_update()
1433 vop2_win_write(win, VOP2_WIN_ENABLE, 1); in vop2_plane_atomic_update()
1438 vop2_win_write(win, VOP2_WIN_CLUSTER_LB_MODE, lb_mode); in vop2_plane_atomic_update()
1439 vop2_win_write(win, VOP2_WIN_CLUSTER_ENABLE, 1); in vop2_plane_atomic_update()