Lines Matching refs:mixer

26 	struct sti_mixer *mixer = to_sti_mixer(crtc);  in sti_crtc_atomic_enable()  local
30 mixer->status = STI_MIXER_READY; in sti_crtc_atomic_enable()
38 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_disable() local
42 mixer->status = STI_MIXER_DISABLING; in sti_crtc_atomic_disable()
48 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_mode_set() local
49 struct device *dev = mixer->dev; in sti_crtc_mode_set()
55 crtc->base.id, sti_mixer_to_str(mixer), in sti_crtc_mode_set()
67 if (mixer->id == STI_MIXER_MAIN) { in sti_crtc_mode_set()
91 sti_vtg_set_config(compo->vtg[mixer->id], &crtc->mode); in sti_crtc_mode_set()
93 if (sti_mixer_active_video_area(mixer, &crtc->mode)) { in sti_crtc_mode_set()
110 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_disable() local
111 struct device *dev = mixer->dev; in sti_crtc_disable()
114 DRM_DEBUG_KMS("CRTC:%d (%s)\n", crtc->base.id, sti_mixer_to_str(mixer)); in sti_crtc_disable()
117 sti_mixer_set_background_status(mixer, false); in sti_crtc_disable()
122 if (mixer->id == STI_MIXER_MAIN) { in sti_crtc_disable()
130 mixer->status = STI_MIXER_DISABLED; in sti_crtc_disable()
143 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_atomic_flush() local
144 struct sti_compositor *compo = dev_get_drvdata(mixer->dev); in sti_crtc_atomic_flush()
165 if (sti_mixer_set_plane_depth(mixer, plane)) { in sti_crtc_atomic_flush()
171 if (sti_mixer_set_plane_status(mixer, plane, true)) { in sti_crtc_atomic_flush()
189 if (sti_mixer_set_plane_status(mixer, plane, false)) { in sti_crtc_atomic_flush()
252 struct sti_mixer *mixer; in sti_crtc_vblank_cb() local
259 mixer = compo->mixer[pipe]; in sti_crtc_vblank_cb()
269 if (mixer->status == STI_MIXER_DISABLING) { in sti_crtc_vblank_cb()
293 struct drm_crtc *crtc = &compo->mixer[pipe]->drm_crtc; in sti_crtc_enable_vblank()
321 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_late_register() local
322 struct sti_compositor *compo = dev_get_drvdata(mixer->dev); in sti_crtc_late_register()
343 struct sti_mixer *mixer = to_sti_mixer(crtc); in sti_crtc_is_main() local
345 if (mixer->id == STI_MIXER_MAIN) in sti_crtc_is_main()
351 int sti_crtc_init(struct drm_device *drm_dev, struct sti_mixer *mixer, in sti_crtc_init() argument
354 struct drm_crtc *crtc = &mixer->drm_crtc; in sti_crtc_init()
367 crtc->base.id, sti_mixer_to_str(mixer)); in sti_crtc_init()