Lines Matching full:mixer
27 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_enable() local
31 mixer->status = STI_MIXER_READY; in sti_crtc_atomic_enable()
39 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_disable() local
43 mixer->status = STI_MIXER_DISABLING; in sti_crtc_atomic_disable()
51 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_mode_set() local
52 struct device *dev = mixer->dev; in sti_crtc_mode_set()
58 crtc->base.id, sti_mixer_to_str(mixer), mode->name); in sti_crtc_mode_set()
62 if (mixer->id == STI_MIXER_MAIN) { in sti_crtc_mode_set()
86 sti_vtg_set_config(compo->vtg[mixer->id], &crtc->mode); in sti_crtc_mode_set()
88 if (sti_mixer_active_video_area(mixer, &crtc->mode)) { in sti_crtc_mode_set()
105 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_disable() local
106 struct device *dev = mixer->dev; in sti_crtc_disable()
109 DRM_DEBUG_KMS("CRTC:%d (%s)\n", crtc->base.id, sti_mixer_to_str(mixer)); in sti_crtc_disable()
112 sti_mixer_set_background_status(mixer, false); in sti_crtc_disable()
117 if (mixer->id == STI_MIXER_MAIN) { in sti_crtc_disable()
125 mixer->status = STI_MIXER_DISABLED; in sti_crtc_disable()
138 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_flush() local
139 struct sti_compositor *compo = dev_get_drvdata(mixer->dev); in sti_crtc_atomic_flush()
160 if (sti_mixer_set_plane_depth(mixer, plane)) { in sti_crtc_atomic_flush()
166 if (sti_mixer_set_plane_status(mixer, plane, true)) { in sti_crtc_atomic_flush()
167 DRM_ERROR("Cannot enable plane %s at mixer\n", in sti_crtc_atomic_flush()
181 DRM_DEBUG_DRIVER("disable plane %s from mixer\n", in sti_crtc_atomic_flush()
184 if (sti_mixer_set_plane_status(mixer, plane, false)) { in sti_crtc_atomic_flush()
185 DRM_ERROR("Cannot disable plane %s at mixer\n", in sti_crtc_atomic_flush()
247 struct sti_mixer *mixer; in sti_crtc_vblank_cb() local
252 mixer = compo->mixer[pipe]; in sti_crtc_vblank_cb()
262 if (mixer->status == STI_MIXER_DISABLING) { in sti_crtc_vblank_cb()
265 /* Disable mixer only if all overlay planes (GDP and VDP) in sti_crtc_vblank_cb()
317 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_late_register() local
318 struct sti_compositor *compo = dev_get_drvdata(mixer->dev); in sti_crtc_late_register()
341 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_is_main() local
343 if (mixer->id == STI_MIXER_MAIN) in sti_crtc_is_main()
349 int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer, in sti_crtc_init() argument
352 struct drm_crtc *crtc = &mixer->drm_crtc; in sti_crtc_init()
365 crtc->base.id, sti_mixer_to_str(mixer)); in sti_crtc_init()