Lines Matching refs:tplane

30 	struct tidss_plane *tplane = to_tidss_plane(plane);  in tidss_plane_atomic_check()  local
33 u32 hw_plane = tplane->hw_plane_id; in tidss_plane_atomic_check()
114 struct tidss_plane *tplane = to_tidss_plane(plane); in tidss_plane_atomic_update() local
122 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, false); in tidss_plane_atomic_update()
128 dispc_plane_setup(tidss->dispc, tplane->hw_plane_id, new_state, hw_videoport); in tidss_plane_atomic_update()
136 struct tidss_plane *tplane = to_tidss_plane(plane); in tidss_plane_atomic_enable() local
140 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, true); in tidss_plane_atomic_enable()
148 struct tidss_plane *tplane = to_tidss_plane(plane); in tidss_plane_atomic_disable() local
152 dispc_plane_enable(tidss->dispc, tplane->hw_plane_id, false); in tidss_plane_atomic_disable()
157 struct tidss_plane *tplane = to_tidss_plane(plane); in drm_plane_destroy() local
160 kfree(tplane); in drm_plane_destroy()
192 struct tidss_plane *tplane; in tidss_plane_create() local
206 tplane = kzalloc(sizeof(*tplane), GFP_KERNEL); in tidss_plane_create()
207 if (!tplane) in tidss_plane_create()
210 tplane->hw_plane_id = hw_plane_id; in tidss_plane_create()
215 ret = drm_universal_plane_init(&tidss->ddev, &tplane->plane, in tidss_plane_create()
224 drm_plane_helper_add(&tplane->plane, &tidss_primary_plane_helper_funcs); in tidss_plane_create()
226 drm_plane_helper_add(&tplane->plane, &tidss_plane_helper_funcs); in tidss_plane_create()
228 drm_plane_create_zpos_property(&tplane->plane, tidss->num_planes, 0, in tidss_plane_create()
231 ret = drm_plane_create_color_properties(&tplane->plane, in tidss_plane_create()
239 ret = drm_plane_create_alpha_property(&tplane->plane); in tidss_plane_create()
243 ret = drm_plane_create_blend_mode_property(&tplane->plane, blend_modes); in tidss_plane_create()
247 return tplane; in tidss_plane_create()
250 kfree(tplane); in tidss_plane_create()