Lines Matching refs:exynos_crtc
24 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_drm_crtc_atomic_enable() local
26 if (exynos_crtc->ops->enable) in exynos_drm_crtc_atomic_enable()
27 exynos_crtc->ops->enable(exynos_crtc); in exynos_drm_crtc_atomic_enable()
35 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_drm_crtc_atomic_disable() local
39 if (exynos_crtc->ops->disable) in exynos_drm_crtc_atomic_disable()
40 exynos_crtc->ops->disable(exynos_crtc); in exynos_drm_crtc_atomic_disable()
54 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_crtc_atomic_check() local
59 if (exynos_crtc->ops->atomic_check) in exynos_crtc_atomic_check()
60 return exynos_crtc->ops->atomic_check(exynos_crtc, state); in exynos_crtc_atomic_check()
68 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_crtc_atomic_begin() local
70 if (exynos_crtc->ops->atomic_begin) in exynos_crtc_atomic_begin()
71 exynos_crtc->ops->atomic_begin(exynos_crtc); in exynos_crtc_atomic_begin()
77 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_crtc_atomic_flush() local
79 if (exynos_crtc->ops->atomic_flush) in exynos_crtc_atomic_flush()
80 exynos_crtc->ops->atomic_flush(exynos_crtc); in exynos_crtc_atomic_flush()
86 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_crtc_mode_valid() local
88 if (exynos_crtc->ops->mode_valid) in exynos_crtc_mode_valid()
89 return exynos_crtc->ops->mode_valid(exynos_crtc, mode); in exynos_crtc_mode_valid()
98 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_crtc_mode_fixup() local
100 if (exynos_crtc->ops->mode_fixup) in exynos_crtc_mode_fixup()
101 return exynos_crtc->ops->mode_fixup(exynos_crtc, mode, in exynos_crtc_mode_fixup()
118 void exynos_crtc_handle_event(struct exynos_drm_crtc *exynos_crtc) in exynos_crtc_handle_event() argument
120 struct drm_crtc *crtc = &exynos_crtc->base; in exynos_crtc_handle_event()
137 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_drm_crtc_destroy() local
140 kfree(exynos_crtc); in exynos_drm_crtc_destroy()
145 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_drm_crtc_enable_vblank() local
147 if (exynos_crtc->ops->enable_vblank) in exynos_drm_crtc_enable_vblank()
148 return exynos_crtc->ops->enable_vblank(exynos_crtc); in exynos_drm_crtc_enable_vblank()
155 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_drm_crtc_disable_vblank() local
157 if (exynos_crtc->ops->disable_vblank) in exynos_drm_crtc_disable_vblank()
158 exynos_crtc->ops->disable_vblank(exynos_crtc); in exynos_drm_crtc_disable_vblank()
178 struct exynos_drm_crtc *exynos_crtc; in exynos_drm_crtc_create() local
182 exynos_crtc = kzalloc(sizeof(*exynos_crtc), GFP_KERNEL); in exynos_drm_crtc_create()
183 if (!exynos_crtc) in exynos_drm_crtc_create()
186 exynos_crtc->type = type; in exynos_drm_crtc_create()
187 exynos_crtc->ops = ops; in exynos_drm_crtc_create()
188 exynos_crtc->ctx = ctx; in exynos_drm_crtc_create()
190 crtc = &exynos_crtc->base; in exynos_drm_crtc_create()
199 return exynos_crtc; in exynos_drm_crtc_create()
203 kfree(exynos_crtc); in exynos_drm_crtc_create()
235 struct exynos_drm_crtc *exynos_crtc = to_exynos_crtc(crtc); in exynos_drm_crtc_te_handler() local
237 if (exynos_crtc->ops->te_handler) in exynos_drm_crtc_te_handler()
238 exynos_crtc->ops->te_handler(exynos_crtc); in exynos_drm_crtc_te_handler()