Lines Matching full:mixer
28 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_enable() local
32 mixer->status = STI_MIXER_READY; in sti_crtc_atomic_enable()
40 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_disable() local
44 mixer->status = STI_MIXER_DISABLING; in sti_crtc_atomic_disable()
52 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_mode_set() local
53 struct device *dev = mixer->dev; in sti_crtc_mode_set()
59 crtc->base.id, sti_mixer_to_str(mixer), mode->name); in sti_crtc_mode_set()
63 if (mixer->id == STI_MIXER_MAIN) { in sti_crtc_mode_set()
87 sti_vtg_set_config(compo->vtg[mixer->id], &crtc->mode); in sti_crtc_mode_set()
89 if (sti_mixer_active_video_area(mixer, &crtc->mode)) { in sti_crtc_mode_set()
106 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_disable() local
107 struct device *dev = mixer->dev; in sti_crtc_disable()
110 DRM_DEBUG_KMS("CRTC:%d (%s)\n", crtc->base.id, sti_mixer_to_str(mixer)); in sti_crtc_disable()
113 sti_mixer_set_background_status(mixer, false); in sti_crtc_disable()
118 if (mixer->id == STI_MIXER_MAIN) { in sti_crtc_disable()
126 mixer->status = STI_MIXER_DISABLED; in sti_crtc_disable()
139 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_flush() local
140 struct sti_compositor *compo = dev_get_drvdata(mixer->dev); in sti_crtc_atomic_flush()
161 if (sti_mixer_set_plane_depth(mixer, plane)) { in sti_crtc_atomic_flush()
167 if (sti_mixer_set_plane_status(mixer, plane, true)) { in sti_crtc_atomic_flush()
168 DRM_ERROR("Cannot enable plane %s at mixer\n", in sti_crtc_atomic_flush()
182 DRM_DEBUG_DRIVER("disable plane %s from mixer\n", in sti_crtc_atomic_flush()
185 if (sti_mixer_set_plane_status(mixer, plane, false)) { in sti_crtc_atomic_flush()
186 DRM_ERROR("Cannot disable plane %s at mixer\n", in sti_crtc_atomic_flush()
248 struct sti_mixer *mixer; in sti_crtc_vblank_cb() local
253 mixer = compo->mixer[pipe]; in sti_crtc_vblank_cb()
263 if (mixer->status == STI_MIXER_DISABLING) { in sti_crtc_vblank_cb()
266 /* Disable mixer only if all overlay planes (GDP and VDP) in sti_crtc_vblank_cb()
318 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_late_register() local
319 struct sti_compositor *compo = dev_get_drvdata(mixer->dev); in sti_crtc_late_register()
342 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_is_main() local
344 if (mixer->id == STI_MIXER_MAIN) in sti_crtc_is_main()
350 int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer, in sti_crtc_init() argument
353 struct drm_crtc *crtc = &mixer->drm_crtc; in sti_crtc_init()
366 crtc->base.id, sti_mixer_to_str(mixer)); in sti_crtc_init()