Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/gpu/drm/gma500/
Dcdv_intel_hdmi.c69 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in cdv_hdmi_mode_set() local
70 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_mode_set()
97 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in cdv_hdmi_dpms() local
98 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_dpms()
113 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_save() local
114 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_save()
122 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_restore() local
123 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_restore()
132 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_detect() local
133 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_detect()
[all …]
Dcdv_intel_crt.c194 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_crt_destroy() local
196 psb_intel_i2c_destroy(gma_encoder->ddc_bus); in cdv_intel_crt_destroy()
204 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_crt_get_modes() local
206 &gma_encoder->ddc_bus->adapter); in cdv_intel_crt_get_modes()
247 struct gma_encoder *gma_encoder; in cdv_intel_crt_init() local
253 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in cdv_intel_crt_init()
254 if (!gma_encoder) in cdv_intel_crt_init()
266 encoder = &gma_encoder->base; in cdv_intel_crt_init()
269 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_crt_init()
278 gma_encoder->ddc_bus = psb_intel_i2c_create(dev, in cdv_intel_crt_init()
[all …]
Doaktrail_lvds.c36 struct gma_encoder *gma_encoder, in oaktrail_lvds_set_power() argument
71 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_dpms() local
74 oaktrail_lvds_set_power(dev, gma_encoder, true); in oaktrail_lvds_dpms()
76 oaktrail_lvds_set_power(dev, gma_encoder, false); in oaktrail_lvds_dpms()
159 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_prepare() local
168 oaktrail_lvds_set_power(dev, gma_encoder, false); in oaktrail_lvds_prepare()
195 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_commit() local
201 oaktrail_lvds_set_power(dev, gma_encoder, true); in oaktrail_lvds_commit()
292 struct gma_encoder *gma_encoder; in oaktrail_lvds_init() local
301 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in oaktrail_lvds_init()
[all …]
Dcdv_intel_lvds.c301 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_get_modes() local
305 ret = psb_intel_ddc_get_modes(connector, &gma_encoder->i2c_bus->adapter); in cdv_intel_lvds_get_modes()
329 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_destroy() local
331 psb_intel_i2c_destroy(gma_encoder->i2c_bus); in cdv_intel_lvds_destroy()
481 struct gma_encoder *gma_encoder; in cdv_intel_lvds_init() local
502 gma_encoder = kzalloc(sizeof(struct gma_encoder), in cdv_intel_lvds_init()
504 if (!gma_encoder) in cdv_intel_lvds_init()
516 gma_encoder->dev_priv = lvds_priv; in cdv_intel_lvds_init()
521 encoder = &gma_encoder->base; in cdv_intel_lvds_init()
530 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_lvds_init()
[all …]
Dpsb_intel_lvds.c259 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_save() local
261 (struct psb_intel_lvds_priv *)gma_encoder->dev_priv; in psb_intel_lvds_save()
298 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_restore() local
300 (struct psb_intel_lvds_priv *)gma_encoder->dev_priv; in psb_intel_lvds_restore()
339 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_mode_valid() local
343 if (gma_encoder->type == INTEL_OUTPUT_MIPI2) in psb_intel_lvds_mode_valid()
373 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in psb_intel_lvds_mode_fixup() local
375 if (gma_encoder->type == INTEL_OUTPUT_MIPI2) in psb_intel_lvds_mode_fixup()
498 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_get_modes() local
499 struct psb_intel_lvds_priv *lvds_priv = gma_encoder->dev_priv; in psb_intel_lvds_get_modes()
[all …]
Dcdv_intel_dp.c268 struct gma_encoder *encoder;
314 static bool is_edp(struct gma_encoder *encoder) in is_edp()
320 static void cdv_intel_dp_start_link_train(struct gma_encoder *encoder);
321 static void cdv_intel_dp_complete_link_train(struct gma_encoder *encoder);
322 static void cdv_intel_dp_link_down(struct gma_encoder *encoder);
325 cdv_intel_dp_max_lane_count(struct gma_encoder *encoder) in cdv_intel_dp_max_lane_count()
343 cdv_intel_dp_max_link_bw(struct gma_encoder *encoder) in cdv_intel_dp_max_link_bw()
380 static void cdv_intel_edp_panel_vdd_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_on()
400 static void cdv_intel_edp_panel_vdd_off(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_off()
415 static bool cdv_intel_edp_panel_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_on()
[all …]
Dpsb_intel_drv.h90 struct gma_encoder { struct
94 void (*hot_plug)(struct gma_encoder *); argument
112 struct gma_encoder *encoder; argument
175 container_of(x, struct gma_encoder, base)
206 struct gma_encoder *encoder);
208 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_lvds_i2c.c135 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_i2c_init() local
168 gma_encoder->ddc_bus = chan; in oaktrail_lvds_i2c_init()
Doaktrail_hdmi.c627 struct gma_encoder *gma_encoder; in oaktrail_hdmi_init() local
632 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in oaktrail_hdmi_init()
633 if (!gma_encoder) in oaktrail_hdmi_init()
641 encoder = &gma_encoder->base; in oaktrail_hdmi_init()
648 gma_connector_attach_encoder(gma_connector, gma_encoder); in oaktrail_hdmi_init()
650 gma_encoder->type = INTEL_OUTPUT_HDMI; in oaktrail_hdmi_init()
663 kfree(gma_encoder); in oaktrail_hdmi_init()
Dpsb_intel_display.c119 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_crtc_mode_set() local
125 switch (gma_encoder->type) { in psb_intel_crtc_mode_set()
557 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in gma_connector_clones() local
558 if (type_mask & (1 << gma_encoder->type)) in gma_connector_clones()
Dgma_display.c34 struct gma_encoder *gma_encoder = in gma_pipe_has_type() local
36 if (gma_encoder->type == type) in gma_pipe_has_type()
692 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in gma_encoder_destroy()
701 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in gma_best_encoder() local
703 return &gma_encoder->base; in gma_best_encoder()
707 struct gma_encoder *encoder) in gma_connector_attach_encoder()
Dpsb_drv.c217 struct gma_encoder *gma_encoder; in psb_driver_load() local
374 gma_encoder = gma_attached_encoder(connector); in psb_driver_load()
376 switch (gma_encoder->type) { in psb_driver_load()
Doaktrail_crtc.c375 struct gma_encoder *gma_encoder = NULL; in oaktrail_crtc_mode_set() local
398 gma_encoder = gma_attached_encoder(connector); in oaktrail_crtc_mode_set()
400 switch (gma_encoder->type) { in oaktrail_crtc_mode_set()
426 if (gma_encoder) in oaktrail_crtc_mode_set()
Dframebuffer.c568 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_setup_outputs() local
569 struct drm_encoder *encoder = &gma_encoder->base; in psb_setup_outputs()
573 switch (gma_encoder->type) { in psb_setup_outputs()
Dmdfld_intel_display.c652 struct gma_encoder *gma_encoder = NULL; in mdfld_crtc_mode_set() local
704 gma_encoder = gma_attached_encoder(connector); in mdfld_crtc_mode_set()
706 switch (gma_encoder->type) { in mdfld_crtc_mode_set()
757 if (gma_encoder) in mdfld_crtc_mode_set()
Dpsb_intel_sdvo.c68 struct gma_encoder base;
1717 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_sdvo_save() local
1718 struct psb_intel_sdvo *sdvo = to_psb_intel_sdvo(&gma_encoder->base); in psb_intel_sdvo_save()
2419 struct gma_encoder *gma_encoder; in psb_intel_sdvo_init() local
2436 gma_encoder = &psb_intel_sdvo->base; in psb_intel_sdvo_init()
2437 gma_encoder->type = INTEL_OUTPUT_SDVO; in psb_intel_sdvo_init()
2438 drm_encoder_init(dev, &gma_encoder->base, &psb_intel_sdvo_enc_funcs, in psb_intel_sdvo_init()
2457 drm_encoder_helper_add(&gma_encoder->base, &psb_intel_sdvo_helper_funcs); in psb_intel_sdvo_init()
2500 drm_encoder_cleanup(&gma_encoder->base); in psb_intel_sdvo_init()
Dcdv_intel_display.c594 struct gma_encoder *gma_encoder = in cdv_intel_crtc_mode_set() local
601 ddi_select = gma_encoder->ddi_select; in cdv_intel_crtc_mode_set()
602 switch (gma_encoder->type) { in cdv_intel_crtc_mode_set()