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