Lines Matching refs:mixer

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