Lines Matching refs:tplane
29 struct tidss_plane *tplane = to_tidss_plane(plane); in tidss_plane_atomic_check() local
32 u32 hw_plane = tplane->hw_plane_id; in tidss_plane_atomic_check()
113 struct tidss_plane *tplane = to_tidss_plane(plane); in tidss_plane_atomic_update() local
121 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, false); in tidss_plane_atomic_update()
127 dispc_plane_setup(tidss->dispc, tplane->hw_plane_id, new_state, hw_videoport); in tidss_plane_atomic_update()
135 struct tidss_plane *tplane = to_tidss_plane(plane); in tidss_plane_atomic_enable() local
139 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, true); in tidss_plane_atomic_enable()
147 struct tidss_plane *tplane = to_tidss_plane(plane); in tidss_plane_atomic_disable() local
151 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, false); in tidss_plane_atomic_disable()
156 struct tidss_plane *tplane = to_tidss_plane(plane); in drm_plane_destroy() local
159 kfree(tplane); in drm_plane_destroy()
183 struct tidss_plane *tplane; in tidss_plane_create() local
197 tplane = kzalloc(sizeof(*tplane), GFP_KERNEL); in tidss_plane_create()
198 if (!tplane) in tidss_plane_create()
201 tplane->hw_plane_id = hw_plane_id; in tidss_plane_create()
206 ret = drm_universal_plane_init(&tidss->ddev, &tplane->plane, in tidss_plane_create()
214 drm_plane_helper_add(&tplane->plane, &tidss_plane_helper_funcs); in tidss_plane_create()
216 drm_plane_create_zpos_property(&tplane->plane, tidss->num_planes, 0, in tidss_plane_create()
219 ret = drm_plane_create_color_properties(&tplane->plane, in tidss_plane_create()
227 ret = drm_plane_create_alpha_property(&tplane->plane); in tidss_plane_create()
231 ret = drm_plane_create_blend_mode_property(&tplane->plane, blend_modes); in tidss_plane_create()
235 return tplane; in tidss_plane_create()
238 kfree(tplane); in tidss_plane_create()