Home
last modified time | relevance | path

Searched refs:gma_encoder (Results 1 – 17 of 17) sorted by relevance

/drivers/gpu/drm/gma500/
Dcdv_intel_hdmi.c67 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in cdv_hdmi_mode_set() local
68 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_mode_set()
95 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in cdv_hdmi_dpms() local
96 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_dpms()
111 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_save() local
112 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_save()
120 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_restore() local
121 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_restore()
130 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_detect() local
131 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_detect()
[all …]
Dcdv_intel_crt.c192 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_crt_destroy() local
194 psb_intel_i2c_destroy(gma_encoder->ddc_bus); in cdv_intel_crt_destroy()
202 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_crt_get_modes() local
204 &gma_encoder->ddc_bus->adapter); in cdv_intel_crt_get_modes()
255 struct gma_encoder *gma_encoder; in cdv_intel_crt_init() local
261 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in cdv_intel_crt_init()
262 if (!gma_encoder) in cdv_intel_crt_init()
274 encoder = &gma_encoder->base; in cdv_intel_crt_init()
278 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_crt_init()
287 gma_encoder->ddc_bus = psb_intel_i2c_create(dev, in cdv_intel_crt_init()
[all …]
Doaktrail_lvds.c46 struct gma_encoder *gma_encoder, in oaktrail_lvds_set_power() argument
81 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_dpms() local
84 oaktrail_lvds_set_power(dev, gma_encoder, true); in oaktrail_lvds_dpms()
86 oaktrail_lvds_set_power(dev, gma_encoder, false); in oaktrail_lvds_dpms()
168 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_prepare() local
177 oaktrail_lvds_set_power(dev, gma_encoder, false); in oaktrail_lvds_prepare()
204 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_commit() local
210 oaktrail_lvds_set_power(dev, gma_encoder, true); in oaktrail_lvds_commit()
301 struct gma_encoder *gma_encoder; in oaktrail_lvds_init() local
310 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in oaktrail_lvds_init()
[all …]
Dcdv_intel_dp.c72 struct gma_encoder *encoder;
118 static bool is_edp(struct gma_encoder *encoder) in is_edp()
124 static void cdv_intel_dp_start_link_train(struct gma_encoder *encoder);
125 static void cdv_intel_dp_complete_link_train(struct gma_encoder *encoder);
126 static void cdv_intel_dp_link_down(struct gma_encoder *encoder);
129 cdv_intel_dp_max_lane_count(struct gma_encoder *encoder) in cdv_intel_dp_max_lane_count()
147 cdv_intel_dp_max_link_bw(struct gma_encoder *encoder) in cdv_intel_dp_max_link_bw()
184 static void cdv_intel_edp_panel_vdd_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_on()
204 static void cdv_intel_edp_panel_vdd_off(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_off()
219 static bool cdv_intel_edp_panel_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_on()
[all …]
Dcdv_intel_lvds.c409 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_get_modes() local
413 ret = psb_intel_ddc_get_modes(connector, &gma_encoder->i2c_bus->adapter); in cdv_intel_lvds_get_modes()
445 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_destroy() local
447 if (gma_encoder->i2c_bus) in cdv_intel_lvds_destroy()
448 psb_intel_i2c_destroy(gma_encoder->i2c_bus); in cdv_intel_lvds_destroy()
611 struct gma_encoder *gma_encoder; in cdv_intel_lvds_init() local
629 gma_encoder = kzalloc(sizeof(struct gma_encoder), in cdv_intel_lvds_init()
631 if (!gma_encoder) in cdv_intel_lvds_init()
643 gma_encoder->dev_priv = lvds_priv; in cdv_intel_lvds_init()
646 encoder = &gma_encoder->base; in cdv_intel_lvds_init()
[all …]
Dpsb_intel_lvds.c270 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_save() local
272 (struct psb_intel_lvds_priv *)gma_encoder->dev_priv; in psb_intel_lvds_save()
309 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_restore() local
311 (struct psb_intel_lvds_priv *)gma_encoder->dev_priv; in psb_intel_lvds_restore()
350 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_mode_valid() local
354 if (gma_encoder->type == INTEL_OUTPUT_MIPI2) in psb_intel_lvds_mode_valid()
384 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in psb_intel_lvds_mode_fixup() local
386 if (gma_encoder->type == INTEL_OUTPUT_MIPI2) in psb_intel_lvds_mode_fixup()
523 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_get_modes() local
524 struct psb_intel_lvds_priv *lvds_priv = gma_encoder->dev_priv; in psb_intel_lvds_get_modes()
[all …]
Dpsb_intel_drv.h120 struct gma_encoder { struct
124 void (*hot_plug)(struct gma_encoder *); argument
142 struct gma_encoder *encoder; argument
201 container_of(x, struct gma_encoder, base)
231 struct gma_encoder *encoder);
233 static inline struct gma_encoder *gma_attached_encoder( in gma_attached_encoder()
Dmdfld_dsi_output.h241 struct gma_encoder base;
282 struct gma_encoder *gma_encoder; in mdfld_dsi_encoder() local
284 gma_encoder = to_gma_encoder(encoder); in mdfld_dsi_encoder()
286 return container_of(gma_encoder, struct mdfld_dsi_encoder, base); in mdfld_dsi_encoder()
Doaktrail_hdmi.c636 struct gma_encoder *gma_encoder; in oaktrail_hdmi_init() local
641 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in oaktrail_hdmi_init()
642 if (!gma_encoder) in oaktrail_hdmi_init()
650 encoder = &gma_encoder->base; in oaktrail_hdmi_init()
659 gma_connector_attach_encoder(gma_connector, gma_encoder); in oaktrail_hdmi_init()
661 gma_encoder->type = INTEL_OUTPUT_HDMI; in oaktrail_hdmi_init()
674 kfree(gma_encoder); in oaktrail_hdmi_init()
Dpsb_intel_display.c129 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_crtc_mode_set() local
135 switch (gma_encoder->type) { in psb_intel_crtc_mode_set()
578 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in gma_connector_clones() local
579 if (type_mask & (1 << gma_encoder->type)) in gma_connector_clones()
Dgma_display.c40 struct gma_encoder *gma_encoder = in gma_pipe_has_type() local
42 if (gma_encoder->type == type) in gma_pipe_has_type()
675 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in gma_encoder_destroy()
684 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in gma_best_encoder() local
686 return &gma_encoder->base; in gma_best_encoder()
690 struct gma_encoder *encoder) in gma_connector_attach_encoder()
Doaktrail_crtc.c383 struct gma_encoder *gma_encoder = NULL; in oaktrail_crtc_mode_set() local
406 gma_encoder = gma_attached_encoder(connector); in oaktrail_crtc_mode_set()
408 switch (gma_encoder->type) { in oaktrail_crtc_mode_set()
434 if (gma_encoder) in oaktrail_crtc_mode_set()
Dpsb_drv.c233 struct gma_encoder *gma_encoder; in psb_driver_load() local
368 gma_encoder = gma_attached_encoder(connector); in psb_driver_load()
370 switch (gma_encoder->type) { in psb_driver_load()
Dmdfld_intel_display.c684 struct gma_encoder *gma_encoder = NULL; in mdfld_crtc_mode_set() local
750 gma_encoder = gma_attached_encoder(connector); in mdfld_crtc_mode_set()
752 switch (gma_encoder->type) { in mdfld_crtc_mode_set()
803 if (gma_encoder) in mdfld_crtc_mode_set()
Dframebuffer.c722 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_setup_outputs() local
723 struct drm_encoder *encoder = &gma_encoder->base; in psb_setup_outputs()
727 switch (gma_encoder->type) { in psb_setup_outputs()
Dpsb_intel_sdvo.c68 struct gma_encoder base;
1857 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_sdvo_save() local
1858 struct psb_intel_sdvo *sdvo = to_psb_intel_sdvo(&gma_encoder->base); in psb_intel_sdvo_save()
2558 struct gma_encoder *gma_encoder; in psb_intel_sdvo_init() local
2575 gma_encoder = &psb_intel_sdvo->base; in psb_intel_sdvo_init()
2576 gma_encoder->type = INTEL_OUTPUT_SDVO; in psb_intel_sdvo_init()
2577 drm_encoder_init(dev, &gma_encoder->base, &psb_intel_sdvo_enc_funcs, 0); in psb_intel_sdvo_init()
2595 drm_encoder_helper_add(&gma_encoder->base, &psb_intel_sdvo_helper_funcs); in psb_intel_sdvo_init()
2638 drm_encoder_cleanup(&gma_encoder->base); in psb_intel_sdvo_init()
Dcdv_intel_display.c602 struct gma_encoder *gma_encoder = in cdv_intel_crtc_mode_set() local
609 ddi_select = gma_encoder->ddi_select; in cdv_intel_crtc_mode_set()
610 switch (gma_encoder->type) { in cdv_intel_crtc_mode_set()