Lines Matching refs:gma_encoder
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()
441 static void cdv_intel_edp_panel_off (struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_off()
473 static void cdv_intel_edp_backlight_on (struct gma_encoder *intel_encoder) in cdv_intel_edp_backlight_on()
493 static void cdv_intel_edp_backlight_off (struct gma_encoder *intel_encoder) in cdv_intel_edp_backlight_off()
513 struct gma_encoder *encoder = gma_attached_encoder(connector); in cdv_intel_dp_mode_valid()
569 cdv_intel_dp_aux_ch(struct gma_encoder *encoder, in cdv_intel_dp_aux_ch()
671 cdv_intel_dp_aux_native_write(struct gma_encoder *encoder, in cdv_intel_dp_aux_native_write()
704 cdv_intel_dp_aux_native_write_1(struct gma_encoder *encoder, in cdv_intel_dp_aux_native_write_1()
712 cdv_intel_dp_aux_native_read(struct gma_encoder *encoder, in cdv_intel_dp_aux_native_read()
757 struct gma_encoder *encoder = intel_dp->encoder; in cdv_intel_dp_i2c_aux_ch()
848 struct gma_encoder *encoder, const char *name) in cdv_intel_dp_i2c_init()
899 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_mode_fixup()
1002 struct gma_encoder *intel_encoder; in cdv_intel_dp_set_m_n()
1042 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_mode_set()
1109 static void cdv_intel_dp_sink_dpms(struct gma_encoder *encoder, int mode) in cdv_intel_dp_sink_dpms()
1141 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_prepare()
1158 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_commit()
1172 struct gma_encoder *intel_encoder = to_gma_encoder(encoder); in cdv_intel_dp_dpms()
1207 cdv_intel_dp_aux_native_read_retry(struct gma_encoder *encoder, uint16_t address, in cdv_intel_dp_aux_native_read_retry()
1232 cdv_intel_dp_get_link_status(struct gma_encoder *encoder) in cdv_intel_dp_get_link_status()
1306 cdv_intel_get_adjust_train(struct gma_encoder *encoder) in cdv_intel_get_adjust_train()
1365 cdv_intel_channel_eq_ok(struct gma_encoder *encoder) in cdv_intel_channel_eq_ok()
1385 cdv_intel_dp_set_link_train(struct gma_encoder *encoder, in cdv_intel_dp_set_link_train()
1412 cdv_intel_dplink_set_level(struct gma_encoder *encoder, in cdv_intel_dplink_set_level()
1433 cdv_intel_dp_set_vswing_premph(struct gma_encoder *encoder, uint8_t signal_level) in cdv_intel_dp_set_vswing_premph()
1499 cdv_intel_dp_start_link_train(struct gma_encoder *encoder) in cdv_intel_dp_start_link_train()
1593 cdv_intel_dp_complete_link_train(struct gma_encoder *encoder) in cdv_intel_dp_complete_link_train()
1679 cdv_intel_dp_link_down(struct gma_encoder *encoder) in cdv_intel_dp_link_down()
1703 static enum drm_connector_status cdv_dp_detect(struct gma_encoder *encoder) in cdv_dp_detect()
1731 struct gma_encoder *encoder = gma_attached_encoder(connector); in cdv_intel_dp_detect()
1765 struct gma_encoder *intel_encoder = gma_attached_encoder(connector); in cdv_intel_dp_get_modes()
1821 struct gma_encoder *encoder = gma_attached_encoder(connector); in cdv_intel_dp_detect_audio()
1847 struct gma_encoder *encoder = gma_attached_encoder(connector); in cdv_intel_dp_set_property()
1900 struct gma_encoder *gma_encoder = gma_attached_encoder(connector); in cdv_intel_dp_destroy() local
1901 struct cdv_intel_dp *intel_dp = gma_encoder->dev_priv; in cdv_intel_dp_destroy()
1903 if (is_edp(gma_encoder)) { in cdv_intel_dp_destroy()
1997 struct gma_encoder *gma_encoder; in cdv_intel_dp_init() local
2005 gma_encoder = kzalloc(sizeof(struct gma_encoder), GFP_KERNEL); in cdv_intel_dp_init()
2006 if (!gma_encoder) in cdv_intel_dp_init()
2019 encoder = &gma_encoder->base; in cdv_intel_dp_init()
2025 gma_connector_attach_encoder(gma_connector, gma_encoder); in cdv_intel_dp_init()
2028 gma_encoder->type = INTEL_OUTPUT_DISPLAYPORT; in cdv_intel_dp_init()
2030 gma_encoder->type = INTEL_OUTPUT_EDP; in cdv_intel_dp_init()
2033 gma_encoder->dev_priv=intel_dp; in cdv_intel_dp_init()
2034 intel_dp->encoder = gma_encoder; in cdv_intel_dp_init()
2050 gma_encoder->ddi_select = (DP_MASK | DDI0_SELECT); in cdv_intel_dp_init()
2054 gma_encoder->ddi_select = (DP_MASK | DDI1_SELECT); in cdv_intel_dp_init()
2060 cdv_intel_dp_i2c_init(gma_connector, gma_encoder, name); in cdv_intel_dp_init()
2064 if (is_edp(gma_encoder)) { in cdv_intel_dp_init()
2118 cdv_intel_edp_panel_vdd_on(gma_encoder); in cdv_intel_dp_init()
2119 ret = cdv_intel_dp_aux_native_read(gma_encoder, DP_DPCD_REV, in cdv_intel_dp_init()
2122 cdv_intel_edp_panel_vdd_off(gma_encoder); in cdv_intel_dp_init()
2145 kfree(gma_encoder); in cdv_intel_dp_init()