/drivers/gpu/drm/gma500/ |
D | cdv_intel_hdmi.c | 68 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in cdv_hdmi_mode_set() local 69 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_mode_set() 96 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in cdv_hdmi_dpms() local 97 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_dpms() 112 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_save() local 113 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_save() 121 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_restore() local 122 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_restore() 131 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_detect() local 132 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_detect() [all …]
|
D | cdv_intel_crt.c | 192 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() 254 struct gma_encoder *gma_encoder; in cdv_intel_crt_init() local 260 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in cdv_intel_crt_init() 261 if (!gma_encoder) in cdv_intel_crt_init() 273 encoder = &gma_encoder->base; in cdv_intel_crt_init() 277 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_crt_init() 286 gma_encoder->ddc_bus = psb_intel_i2c_create(dev, in cdv_intel_crt_init() [all …]
|
D | oaktrail_lvds.c | 34 struct gma_encoder *gma_encoder, in oaktrail_lvds_set_power() argument 69 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_dpms() local 72 oaktrail_lvds_set_power(dev, gma_encoder, true); in oaktrail_lvds_dpms() 74 oaktrail_lvds_set_power(dev, gma_encoder, false); in oaktrail_lvds_dpms() 156 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_prepare() local 165 oaktrail_lvds_set_power(dev, gma_encoder, false); in oaktrail_lvds_prepare() 192 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_commit() local 198 oaktrail_lvds_set_power(dev, gma_encoder, true); in oaktrail_lvds_commit() 289 struct gma_encoder *gma_encoder; in oaktrail_lvds_init() local 298 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in oaktrail_lvds_init() [all …]
|
D | psb_intel_lvds.c | 257 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_save() local 259 (struct psb_intel_lvds_priv *)gma_encoder->dev_priv; in psb_intel_lvds_save() 296 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_restore() local 298 (struct psb_intel_lvds_priv *)gma_encoder->dev_priv; in psb_intel_lvds_restore() 337 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_mode_valid() local 341 if (gma_encoder->type == INTEL_OUTPUT_MIPI2) in psb_intel_lvds_mode_valid() 371 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in psb_intel_lvds_mode_fixup() local 373 if (gma_encoder->type == INTEL_OUTPUT_MIPI2) in psb_intel_lvds_mode_fixup() 496 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_get_modes() local 497 struct psb_intel_lvds_priv *lvds_priv = gma_encoder->dev_priv; in psb_intel_lvds_get_modes() [all …]
|
D | cdv_intel_dp.c | 267 struct gma_encoder *encoder; 313 static bool is_edp(struct gma_encoder *encoder) in is_edp() 319 static void cdv_intel_dp_start_link_train(struct gma_encoder *encoder); 320 static void cdv_intel_dp_complete_link_train(struct gma_encoder *encoder); 321 static void cdv_intel_dp_link_down(struct gma_encoder *encoder); 324 cdv_intel_dp_max_lane_count(struct gma_encoder *encoder) in cdv_intel_dp_max_lane_count() 342 cdv_intel_dp_max_link_bw(struct gma_encoder *encoder) in cdv_intel_dp_max_link_bw() 379 static void cdv_intel_edp_panel_vdd_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_on() 399 static void cdv_intel_edp_panel_vdd_off(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_off() 414 static bool cdv_intel_edp_panel_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_on() [all …]
|
D | cdv_intel_lvds.c | 382 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_get_modes() local 386 ret = psb_intel_ddc_get_modes(connector, &gma_encoder->i2c_bus->adapter); in cdv_intel_lvds_get_modes() 410 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_destroy() local 412 psb_intel_i2c_destroy(gma_encoder->i2c_bus); in cdv_intel_lvds_destroy() 572 struct gma_encoder *gma_encoder; in cdv_intel_lvds_init() local 593 gma_encoder = kzalloc(sizeof(struct gma_encoder), in cdv_intel_lvds_init() 595 if (!gma_encoder) in cdv_intel_lvds_init() 607 gma_encoder->dev_priv = lvds_priv; in cdv_intel_lvds_init() 612 encoder = &gma_encoder->base; in cdv_intel_lvds_init() 624 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_lvds_init() [all …]
|
D | psb_intel_drv.h | 109 struct gma_encoder { struct 113 void (*hot_plug)(struct gma_encoder *); argument 131 struct gma_encoder *encoder; argument 192 container_of(x, struct gma_encoder, base) 223 struct gma_encoder *encoder); 225 static inline struct gma_encoder *gma_attached_encoder( in gma_attached_encoder()
|
D | mdfld_dsi_output.h | 241 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()
|
D | oaktrail_hdmi.c | 637 struct gma_encoder *gma_encoder; in oaktrail_hdmi_init() local 642 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in oaktrail_hdmi_init() 643 if (!gma_encoder) in oaktrail_hdmi_init() 651 encoder = &gma_encoder->base; in oaktrail_hdmi_init() 660 gma_connector_attach_encoder(gma_connector, gma_encoder); in oaktrail_hdmi_init() 662 gma_encoder->type = INTEL_OUTPUT_HDMI; in oaktrail_hdmi_init() 675 kfree(gma_encoder); in oaktrail_hdmi_init()
|
D | oaktrail_lvds_i2c.c | 135 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()
|
D | psb_intel_display.c | 119 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() 553 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in gma_connector_clones() local 554 if (type_mask & (1 << gma_encoder->type)) in gma_connector_clones()
|
D | gma_display.c | 34 struct gma_encoder *gma_encoder = in gma_pipe_has_type() local 36 if (gma_encoder->type == type) in gma_pipe_has_type() 644 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in gma_encoder_destroy() 653 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in gma_best_encoder() local 655 return &gma_encoder->base; in gma_best_encoder() 659 struct gma_encoder *encoder) in gma_connector_attach_encoder()
|
D | oaktrail_crtc.c | 375 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()
|
D | psb_drv.c | 217 struct gma_encoder *gma_encoder; in psb_driver_load() local 375 gma_encoder = gma_attached_encoder(connector); in psb_driver_load() 377 switch (gma_encoder->type) { in psb_driver_load()
|
D | framebuffer.c | 575 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_setup_outputs() local 576 struct drm_encoder *encoder = &gma_encoder->base; in psb_setup_outputs() 580 switch (gma_encoder->type) { in psb_setup_outputs()
|
D | mdfld_intel_display.c | 675 struct gma_encoder *gma_encoder = NULL; in mdfld_crtc_mode_set() local 737 gma_encoder = gma_attached_encoder(connector); in mdfld_crtc_mode_set() 739 switch (gma_encoder->type) { in mdfld_crtc_mode_set() 790 if (gma_encoder) in mdfld_crtc_mode_set()
|
D | psb_intel_sdvo.c | 68 struct gma_encoder base; 1815 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_sdvo_save() local 1816 struct psb_intel_sdvo *sdvo = to_psb_intel_sdvo(&gma_encoder->base); in psb_intel_sdvo_save() 2517 struct gma_encoder *gma_encoder; in psb_intel_sdvo_init() local 2534 gma_encoder = &psb_intel_sdvo->base; in psb_intel_sdvo_init() 2535 gma_encoder->type = INTEL_OUTPUT_SDVO; in psb_intel_sdvo_init() 2536 drm_encoder_init(dev, &gma_encoder->base, &psb_intel_sdvo_enc_funcs, in psb_intel_sdvo_init() 2555 drm_encoder_helper_add(&gma_encoder->base, &psb_intel_sdvo_helper_funcs); in psb_intel_sdvo_init() 2598 drm_encoder_cleanup(&gma_encoder->base); in psb_intel_sdvo_init()
|
D | cdv_intel_display.c | 592 struct gma_encoder *gma_encoder = in cdv_intel_crtc_mode_set() local 599 ddi_select = gma_encoder->ddi_select; in cdv_intel_crtc_mode_set() 600 switch (gma_encoder->type) { in cdv_intel_crtc_mode_set()
|