/Linux-v6.1/drivers/gpu/drm/gma500/ |
D | cdv_intel_hdmi.c | 64 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in cdv_hdmi_mode_set() local 65 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_mode_set() 92 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in cdv_hdmi_dpms() local 93 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_dpms() 108 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_save() local 109 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_save() 117 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_restore() local 118 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_restore() 127 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_hdmi_detect() local 128 struct mid_intel_hdmi_priv *hdmi_priv = gma_encoder->dev_priv; in cdv_hdmi_detect() [all …]
|
D | oaktrail_lvds.c | 37 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() 160 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_prepare() local 169 oaktrail_lvds_set_power(dev, gma_encoder, false); in oaktrail_lvds_prepare() 196 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in oaktrail_lvds_commit() local 202 oaktrail_lvds_set_power(dev, gma_encoder, true); in oaktrail_lvds_commit() 294 struct gma_encoder *gma_encoder; in oaktrail_lvds_init() local 305 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in oaktrail_lvds_init() [all …]
|
D | cdv_intel_dp.c | 263 struct gma_encoder *encoder; 309 static bool is_edp(struct gma_encoder *encoder) in is_edp() 315 static void cdv_intel_dp_start_link_train(struct gma_encoder *encoder); 316 static void cdv_intel_dp_complete_link_train(struct gma_encoder *encoder); 317 static void cdv_intel_dp_link_down(struct gma_encoder *encoder); 320 cdv_intel_dp_max_lane_count(struct gma_encoder *encoder) in cdv_intel_dp_max_lane_count() 338 cdv_intel_dp_max_link_bw(struct gma_encoder *encoder) in cdv_intel_dp_max_link_bw() 375 static void cdv_intel_edp_panel_vdd_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_on() 395 static void cdv_intel_edp_panel_vdd_off(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_off() 410 static bool cdv_intel_edp_panel_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_on() [all …]
|
D | cdv_intel_lvds.c | 322 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_lvds_destroy() local 325 gma_i2c_destroy(gma_encoder->i2c_bus); in cdv_intel_lvds_destroy() 475 struct gma_encoder *gma_encoder; in cdv_intel_lvds_init() local 498 gma_encoder = kzalloc(sizeof(struct gma_encoder), in cdv_intel_lvds_init() 500 if (!gma_encoder) in cdv_intel_lvds_init() 512 gma_encoder->dev_priv = lvds_priv; in cdv_intel_lvds_init() 517 encoder = &gma_encoder->base; in cdv_intel_lvds_init() 538 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_lvds_init() 539 gma_encoder->type = INTEL_OUTPUT_LVDS; in cdv_intel_lvds_init() 560 gma_encoder->i2c_bus = gma_i2c_create(dev, GPIOB, "LVDSBLC_B"); in cdv_intel_lvds_init() [all …]
|
D | psb_intel_lvds.c | 255 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_save() local 257 (struct psb_intel_lvds_priv *)gma_encoder->dev_priv; in psb_intel_lvds_save() 294 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_restore() local 296 (struct psb_intel_lvds_priv *)gma_encoder->dev_priv; in psb_intel_lvds_restore() 335 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_lvds_mode_valid() local 339 if (gma_encoder->type == INTEL_OUTPUT_MIPI2) in psb_intel_lvds_mode_valid() 369 struct gma_encoder *gma_encoder = to_gma_encoder(encoder); in psb_intel_lvds_mode_fixup() local 371 if (gma_encoder->type == INTEL_OUTPUT_MIPI2) in psb_intel_lvds_mode_fixup() 623 struct gma_encoder *gma_encoder; in psb_intel_lvds_init() local 636 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in psb_intel_lvds_init() [all …]
|
D | cdv_intel_crt.c | 245 struct gma_encoder *gma_encoder; in cdv_intel_crt_init() local 251 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in cdv_intel_crt_init() 252 if (!gma_encoder) in cdv_intel_crt_init() 275 encoder = &gma_encoder->base; in cdv_intel_crt_init() 280 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_crt_init() 282 gma_encoder->type = INTEL_OUTPUT_ANALOG; in cdv_intel_crt_init() 299 kfree(gma_encoder); in cdv_intel_crt_init()
|
D | psb_intel_drv.h | 91 struct gma_encoder { struct 95 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()
|
D | oaktrail_hdmi.c | 628 struct gma_encoder *gma_encoder; in oaktrail_hdmi_init() local 633 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in oaktrail_hdmi_init() 634 if (!gma_encoder) in oaktrail_hdmi_init() 642 encoder = &gma_encoder->base; in oaktrail_hdmi_init() 649 gma_connector_attach_encoder(gma_connector, gma_encoder); in oaktrail_hdmi_init() 651 gma_encoder->type = INTEL_OUTPUT_HDMI; in oaktrail_hdmi_init() 663 kfree(gma_encoder); in oaktrail_hdmi_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() 547 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in gma_connector_clones() local 548 if (type_mask & (1 << gma_encoder->type)) in gma_connector_clones()
|
D | psb_drv.c | 240 struct gma_encoder *gma_encoder; in psb_driver_load() local 396 gma_encoder = gma_attached_encoder(connector); in psb_driver_load() 398 if (gma_encoder->type == INTEL_OUTPUT_LVDS || in psb_driver_load() 399 gma_encoder->type == INTEL_OUTPUT_MIPI) { in psb_driver_load()
|
D | gma_display.c | 37 struct gma_encoder *gma_encoder = in gma_pipe_has_type() local 39 if (gma_encoder->type == type) { in gma_pipe_has_type() 693 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in gma_encoder_destroy() 702 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in gma_best_encoder() local 704 return &gma_encoder->base; in gma_best_encoder() 708 struct gma_encoder *encoder) in gma_connector_attach_encoder()
|
D | framebuffer.c | 468 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_setup_outputs() local 469 struct drm_encoder *encoder = &gma_encoder->base; in psb_setup_outputs() 473 switch (gma_encoder->type) { in psb_setup_outputs()
|
D | oaktrail_crtc.c | 376 struct gma_encoder *gma_encoder = NULL; in oaktrail_crtc_mode_set() local 397 gma_encoder = gma_attached_encoder(connector); in oaktrail_crtc_mode_set() 399 switch (gma_encoder->type) { in oaktrail_crtc_mode_set() 414 if (gma_encoder) in oaktrail_crtc_mode_set()
|
D | psb_intel_sdvo.c | 68 struct gma_encoder base; 1738 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in psb_intel_sdvo_save() local 1739 struct psb_intel_sdvo *sdvo = to_psb_intel_sdvo(&gma_encoder->base); in psb_intel_sdvo_save() 2439 struct gma_encoder *gma_encoder; in psb_intel_sdvo_init() local 2456 gma_encoder = &psb_intel_sdvo->base; in psb_intel_sdvo_init() 2457 gma_encoder->type = INTEL_OUTPUT_SDVO; in psb_intel_sdvo_init() 2458 drm_encoder_init(dev, &gma_encoder->base, &psb_intel_sdvo_enc_funcs, in psb_intel_sdvo_init() 2477 drm_encoder_helper_add(&gma_encoder->base, &psb_intel_sdvo_helper_funcs); in psb_intel_sdvo_init() 2520 drm_encoder_cleanup(&gma_encoder->base); in psb_intel_sdvo_init()
|
D | cdv_intel_display.c | 595 struct gma_encoder *gma_encoder = in cdv_intel_crtc_mode_set() local 602 ddi_select = gma_encoder->ddi_select; in cdv_intel_crtc_mode_set() 603 switch (gma_encoder->type) { in cdv_intel_crtc_mode_set()
|