Lines Matching refs:vop_win
96 #define VOP_WIN_TO_INDEX(vop_win) \ argument
97 ((vop_win) - (vop_win)->vop->win)
107 #define to_vop_win(x) container_of(x, struct vop_win, base)
131 struct vop_win { struct
187 struct vop_win win[];
604 static void vop_win_disable(struct vop *vop, const struct vop_win *vop_win) in vop_win_disable() argument
606 const struct vop_win_data *win = vop_win->data; in vop_win_disable()
616 vop->win_enabled &= ~BIT(VOP_WIN_TO_INDEX(vop_win)); in vop_win_disable()
666 struct vop_win *vop_win = &vop->win[i]; in vop_enable() local
668 vop_win_disable(vop, vop_win); in vop_enable()
718 struct vop_win *vop_win = &vop->win[i]; in rockchip_drm_set_win_enabled() local
719 const struct vop_win_data *win = vop_win->data; in rockchip_drm_set_win_enabled()
819 struct vop_win *vop_win = to_vop_win(plane); in vop_plane_atomic_check() local
820 const struct vop_win_data *win = vop_win->data; in vop_plane_atomic_check()
897 struct vop_win *vop_win = to_vop_win(plane); in vop_plane_atomic_disable() local
905 vop_win_disable(vop, vop_win); in vop_plane_atomic_disable()
916 struct vop_win *vop_win = to_vop_win(plane); in vop_plane_atomic_update() local
917 const struct vop_win_data *win = vop_win->data; in vop_plane_atomic_update()
918 const struct vop_win_yuv2yuv_data *win_yuv2yuv = vop_win->yuv2yuv_data; in vop_plane_atomic_update()
932 int win_index = VOP_WIN_TO_INDEX(vop_win); in vop_plane_atomic_update()
990 VOP_AFBC_SET(vop, win_sel, VOP_WIN_TO_INDEX(vop_win)); in vop_plane_atomic_update()
1079 struct vop_win *vop_win = to_vop_win(plane); in vop_plane_atomic_async_check() local
1080 const struct vop_win_data *win = vop_win->data; in vop_plane_atomic_async_check()
1873 struct vop_win *vop_win = &vop->win[i]; in vop_create_crtc() local
1874 const struct vop_win_data *win_data = vop_win->data; in vop_create_crtc()
1880 ret = drm_universal_plane_init(vop->drm_dev, &vop_win->base, in vop_create_crtc()
1892 plane = &vop_win->base; in vop_create_crtc()
1917 struct vop_win *vop_win = &vop->win[i]; in vop_create_crtc() local
1918 const struct vop_win_data *win_data = vop_win->data; in vop_create_crtc()
1924 ret = drm_universal_plane_init(vop->drm_dev, &vop_win->base, in vop_create_crtc()
1936 drm_plane_helper_add(&vop_win->base, &plane_helper_funcs); in vop_create_crtc()
1937 vop_plane_add_properties(&vop_win->base, win_data); in vop_create_crtc()
2071 struct vop_win *vop_win = &vop->win[i]; in vop_initial() local
2072 const struct vop_win_data *win = vop_win->data; in vop_initial()
2076 vop_win_disable(vop, vop_win); in vop_initial()
2124 struct vop_win *vop_win = &vop->win[i]; in vop_win_init() local
2127 vop_win->data = win_data; in vop_win_init()
2128 vop_win->vop = vop; in vop_win_init()
2131 vop_win->yuv2yuv_data = &vop_data->win_yuv2yuv[i]; in vop_win_init()