Home
last modified time | relevance | path

Searched refs:intel_encoder (Results 1 – 25 of 75) sorted by relevance

123

/drivers/gpu/drm/i915/display/
Dintel_ddi.h19 struct intel_encoder;
23 i915_reg_t dp_tp_ctl_reg(struct intel_encoder *encoder,
25 i915_reg_t dp_tp_status_reg(struct intel_encoder *encoder,
28 struct intel_encoder *intel_encoder,
31 void intel_ddi_enable_clock(struct intel_encoder *encoder,
33 void intel_ddi_get_clock(struct intel_encoder *encoder,
36 void hsw_ddi_enable_clock(struct intel_encoder *encoder,
38 void hsw_ddi_disable_clock(struct intel_encoder *encoder);
39 bool hsw_ddi_is_clock_enabled(struct intel_encoder *encoder);
40 void hsw_ddi_get_config(struct intel_encoder *encoder,
[all …]
Dg4x_hdmi.c20 static void intel_hdmi_prepare(struct intel_encoder *encoder, in intel_hdmi_prepare()
59 static bool intel_hdmi_get_hw_state(struct intel_encoder *encoder, in intel_hdmi_get_hw_state()
79 static void intel_hdmi_get_config(struct intel_encoder *encoder, in intel_hdmi_get_config()
145 static void intel_enable_hdmi_audio(struct intel_encoder *encoder, in intel_enable_hdmi_audio()
159 struct intel_encoder *encoder, in g4x_enable_hdmi()
182 struct intel_encoder *encoder, in ibx_enable_hdmi()
234 struct intel_encoder *encoder, in cpt_enable_hdmi()
288 struct intel_encoder *encoder, in vlv_enable_hdmi()
295 struct intel_encoder *encoder, in intel_disable_hdmi()
354 struct intel_encoder *encoder, in g4x_disable_hdmi()
[all …]
Dintel_dpio_phy.h16 struct intel_encoder;
30 void bxt_ddi_phy_set_lane_optim_mask(struct intel_encoder *encoder,
32 u8 bxt_ddi_phy_get_lane_lat_optim_mask(struct intel_encoder *encoder);
34 void chv_set_phy_signal_level(struct intel_encoder *encoder,
38 void chv_data_lane_soft_reset(struct intel_encoder *encoder,
41 void chv_phy_pre_pll_enable(struct intel_encoder *encoder,
43 void chv_phy_pre_encoder_enable(struct intel_encoder *encoder,
45 void chv_phy_release_cl2_override(struct intel_encoder *encoder);
46 void chv_phy_post_pll_disable(struct intel_encoder *encoder,
49 void vlv_set_phy_signal_level(struct intel_encoder *encoder,
[all …]
Dintel_dp.h26 struct intel_encoder;
46 int intel_dp_retrain_link(struct intel_encoder *encoder,
54 void intel_dp_encoder_suspend(struct intel_encoder *intel_encoder);
55 void intel_dp_encoder_shutdown(struct intel_encoder *intel_encoder);
57 int intel_dp_compute_config(struct intel_encoder *encoder,
88 void intel_write_dp_vsc_sdp(struct intel_encoder *encoder,
91 void intel_dp_set_infoframes(struct intel_encoder *encoder, bool enable,
94 void intel_read_dp_sdp(struct intel_encoder *encoder,
97 bool intel_digital_port_connected(struct intel_encoder *encoder);
107 struct intel_encoder *encoder,
[all …]
Dg4x_dp.c70 void g4x_dp_set_clock(struct intel_encoder *encoder, in g4x_dp_set_clock()
102 static void intel_dp_prepare(struct intel_encoder *encoder, in intel_dp_prepare()
314 static bool intel_dp_get_hw_state(struct intel_encoder *encoder, in intel_dp_get_hw_state()
335 static void intel_dp_get_config(struct intel_encoder *encoder, in intel_dp_get_config()
422 intel_dp_link_down(struct intel_encoder *encoder, in intel_dp_link_down()
495 struct intel_encoder *encoder, in intel_disable_dp()
518 struct intel_encoder *encoder, in g4x_disable_dp()
526 struct intel_encoder *encoder, in vlv_disable_dp()
534 struct intel_encoder *encoder, in g4x_post_disable_dp()
555 struct intel_encoder *encoder, in vlv_post_disable_dp()
[all …]
Dintel_lvds.c67 struct intel_encoder base;
100 static bool intel_lvds_get_hw_state(struct intel_encoder *encoder, in intel_lvds_get_hw_state()
120 static void intel_lvds_get_config(struct intel_encoder *encoder, in intel_lvds_get_config()
226 struct intel_encoder *encoder, in intel_pre_enable_lvds()
308 struct intel_encoder *encoder, in intel_enable_lvds()
331 struct intel_encoder *encoder, in intel_disable_lvds()
350 struct intel_encoder *encoder, in gmch_disable_lvds()
361 struct intel_encoder *encoder, in pch_disable_lvds()
369 struct intel_encoder *encoder, in pch_post_disable_lvds()
376 static void intel_lvds_shutdown(struct intel_encoder *encoder) in intel_lvds_shutdown()
[all …]
Dintel_dvo.c115 struct intel_encoder base;
124 static struct intel_dvo *enc_to_dvo(struct intel_encoder *encoder) in enc_to_dvo()
149 static bool intel_dvo_get_hw_state(struct intel_encoder *encoder, in intel_dvo_get_hw_state()
163 static void intel_dvo_get_config(struct intel_encoder *encoder, in intel_dvo_get_config()
188 struct intel_encoder *encoder, in intel_disable_dvo()
203 struct intel_encoder *encoder, in intel_enable_dvo()
252 static int intel_dvo_compute_config(struct intel_encoder *encoder, in intel_dvo_compute_config()
279 struct intel_encoder *encoder, in intel_dvo_pre_enable()
392 intel_dvo_get_current_mode(struct intel_encoder *encoder) in intel_dvo_get_current_mode()
418 struct intel_encoder *intel_encoder; in intel_dvo_init() local
[all …]
Dintel_dsi.h43 struct intel_encoder base;
149 static inline struct intel_dsi *enc_to_intel_dsi(struct intel_encoder *encoder) in enc_to_intel_dsi()
164 static inline u16 intel_dsi_encoder_ports(struct intel_encoder *encoder) in intel_dsi_encoder_ports()
191 int vlv_dsi_pll_compute(struct intel_encoder *encoder,
193 void vlv_dsi_pll_enable(struct intel_encoder *encoder,
195 void vlv_dsi_pll_disable(struct intel_encoder *encoder);
196 u32 vlv_dsi_get_pclk(struct intel_encoder *encoder,
198 void vlv_dsi_reset_clocks(struct intel_encoder *encoder, enum port port);
201 int bxt_dsi_pll_compute(struct intel_encoder *encoder,
203 void bxt_dsi_pll_enable(struct intel_encoder *encoder,
[all …]
Dintel_display_types.h163 struct intel_encoder { struct
170 enum intel_hotplug_state (*hotplug)(struct intel_encoder *encoder, argument
172 enum intel_output_type (*compute_output_type)(struct intel_encoder *, argument
175 int (*compute_config)(struct intel_encoder *, argument
178 int (*compute_config_late)(struct intel_encoder *, argument
182 struct intel_encoder *, argument
185 struct intel_encoder *, argument
189 struct intel_encoder *, argument
193 struct intel_encoder *, argument
197 struct intel_encoder *, argument
[all …]
Dintel_lspcon.h15 struct intel_encoder;
22 void lspcon_write_infoframe(struct intel_encoder *encoder,
26 void lspcon_read_infoframe(struct intel_encoder *encoder,
30 void lspcon_set_infoframes(struct intel_encoder *encoder,
34 u32 lspcon_infoframes_enabled(struct intel_encoder *encoder,
36 u32 intel_lspcon_infoframes_enabled(struct intel_encoder *encoder,
38 void hsw_write_infoframe(struct intel_encoder *encoder,
42 void hsw_read_infoframe(struct intel_encoder *encoder,
Dintel_snps_phy.h12 struct intel_encoder;
22 struct intel_encoder *encoder);
23 void intel_mpllb_enable(struct intel_encoder *encoder,
25 void intel_mpllb_disable(struct intel_encoder *encoder);
26 void intel_mpllb_readout_hw_state(struct intel_encoder *encoder,
28 int intel_mpllb_calc_port_clock(struct intel_encoder *encoder,
32 void intel_snps_phy_ddi_vswing_sequence(struct intel_encoder *encoder,
Dintel_dp_mst.c47 static int intel_dp_mst_compute_link_config(struct intel_encoder *encoder, in intel_dp_mst_compute_link_config()
102 static int intel_dp_mst_compute_config(struct intel_encoder *encoder, in intel_dp_mst_compute_config()
206 static int intel_dp_mst_compute_config_late(struct intel_encoder *encoder, in intel_dp_mst_compute_config_late()
328 static void clear_act_sent(struct intel_encoder *encoder, in clear_act_sent()
337 static void wait_for_act_sent(struct intel_encoder *encoder, in wait_for_act_sent()
352 struct intel_encoder *encoder, in intel_mst_pre_disable_dp()
362 struct intel_encoder *encoder, in intel_mst_disable_dp()
388 struct intel_encoder *encoder, in intel_mst_post_disable_dp()
468 struct intel_encoder *encoder, in intel_mst_pre_pll_enable_dp()
482 struct intel_encoder *encoder, in intel_mst_pre_enable_dp()
[all …]
Dintel_hdmi.h19 struct intel_encoder;
28 int intel_hdmi_compute_config(struct intel_encoder *encoder,
31 void intel_hdmi_encoder_shutdown(struct intel_encoder *encoder);
32 bool intel_hdmi_handle_sink_scrambling(struct intel_encoder *encoder,
38 u32 intel_hdmi_infoframes_enabled(struct intel_encoder *encoder,
41 void intel_hdmi_read_gcp_infoframe(struct intel_encoder *encoder,
43 void intel_read_infoframe(struct intel_encoder *encoder,
Dintel_ddi_buf_trans.c999 hsw_get_buf_trans(struct intel_encoder *encoder, in hsw_get_buf_trans()
1012 bdw_get_buf_trans(struct intel_encoder *encoder, in bdw_get_buf_trans()
1039 _skl_get_buf_trans_dp(struct intel_encoder *encoder, in _skl_get_buf_trans_dp()
1049 skl_y_get_buf_trans(struct intel_encoder *encoder, in skl_y_get_buf_trans()
1065 skl_u_get_buf_trans(struct intel_encoder *encoder, in skl_u_get_buf_trans()
1081 skl_get_buf_trans(struct intel_encoder *encoder, in skl_get_buf_trans()
1097 kbl_y_get_buf_trans(struct intel_encoder *encoder, in kbl_y_get_buf_trans()
1113 kbl_u_get_buf_trans(struct intel_encoder *encoder, in kbl_u_get_buf_trans()
1129 kbl_get_buf_trans(struct intel_encoder *encoder, in kbl_get_buf_trans()
1145 bxt_get_buf_trans(struct intel_encoder *encoder, in bxt_get_buf_trans()
[all …]
Dintel_ddi.c76 static int intel_ddi_hdmi_level(struct intel_encoder *encoder, in intel_ddi_hdmi_level()
100 void hsw_prepare_dp_ddi_buffers(struct intel_encoder *encoder, in hsw_prepare_dp_ddi_buffers()
131 static void hsw_prepare_hdmi_ddi_buffers(struct intel_encoder *encoder, in hsw_prepare_hdmi_ddi_buffers()
213 static u32 icl_pll_to_ddi_clk_sel(struct intel_encoder *encoder, in icl_pll_to_ddi_clk_sel()
277 static void intel_ddi_init_dp_buf_reg(struct intel_encoder *encoder, in intel_ddi_init_dp_buf_reg()
418 intel_ddi_transcoder_func_reg_val_get(struct intel_encoder *encoder, in intel_ddi_transcoder_func_reg_val_get()
523 void intel_ddi_enable_transcoder_func(struct intel_encoder *encoder, in intel_ddi_enable_transcoder_func()
556 intel_ddi_config_transcoder_func(struct intel_encoder *encoder, in intel_ddi_config_transcoder_func()
610 int intel_ddi_toggle_hdcp_bits(struct intel_encoder *intel_encoder, in intel_ddi_toggle_hdcp_bits() argument
614 struct drm_device *dev = intel_encoder->base.dev; in intel_ddi_toggle_hdcp_bits()
[all …]
Dvlv_dsi.c266 static int intel_dsi_compute_config(struct intel_encoder *encoder, in intel_dsi_compute_config()
328 static bool glk_dsi_enable_io(struct intel_encoder *encoder) in glk_dsi_enable_io()
377 static void glk_dsi_device_ready(struct intel_encoder *encoder) in glk_dsi_device_ready()
451 static void bxt_dsi_device_ready(struct intel_encoder *encoder) in bxt_dsi_device_ready()
479 static void vlv_dsi_device_ready(struct intel_encoder *encoder) in vlv_dsi_device_ready()
522 static void intel_dsi_device_ready(struct intel_encoder *encoder) in intel_dsi_device_ready()
534 static void glk_dsi_enter_low_power_mode(struct intel_encoder *encoder) in glk_dsi_enter_low_power_mode()
565 static void glk_dsi_disable_mipi_io(struct intel_encoder *encoder) in glk_dsi_disable_mipi_io()
592 static void glk_dsi_clear_device_ready(struct intel_encoder *encoder) in glk_dsi_clear_device_ready()
598 static void vlv_dsi_clear_device_ready(struct intel_encoder *encoder) in vlv_dsi_clear_device_ready()
[all …]
Dintel_crt.c58 struct intel_encoder base;
66 static struct intel_crt *intel_encoder_to_crt(struct intel_encoder *encoder) in intel_encoder_to_crt()
92 static bool intel_crt_get_hw_state(struct intel_encoder *encoder, in intel_crt_get_hw_state()
112 static unsigned int intel_crt_get_flags(struct intel_encoder *encoder) in intel_crt_get_flags()
133 static void intel_crt_get_config(struct intel_encoder *encoder, in intel_crt_get_config()
143 static void hsw_crt_get_config(struct intel_encoder *encoder, in hsw_crt_get_config()
161 static void intel_crt_set_dpms(struct intel_encoder *encoder, in intel_crt_set_dpms()
211 struct intel_encoder *encoder, in intel_disable_crt()
219 struct intel_encoder *encoder, in pch_disable_crt()
226 struct intel_encoder *encoder, in pch_post_disable_crt()
[all …]
Dintel_display.h53 struct intel_encoder;
412 #define for_each_intel_encoder(dev, intel_encoder) \ argument
413 list_for_each_entry(intel_encoder, \
417 #define for_each_intel_encoder_mask(dev, intel_encoder, encoder_mask) \ argument
418 list_for_each_entry(intel_encoder, \
422 drm_encoder_mask(&intel_encoder->base))
424 #define for_each_intel_encoder_mask_with_psr(dev, intel_encoder, encoder_mask) \ argument
425 list_for_each_entry((intel_encoder), &(dev)->mode_config.encoder_list, base.head) \
426 for_each_if(((encoder_mask) & drm_encoder_mask(&(intel_encoder)->base)) && \
427 intel_encoder_can_psr(intel_encoder))
[all …]
Dintel_opregion.h32 struct intel_encoder;
69 int intel_opregion_notify_encoder(struct intel_encoder *intel_encoder,
104 intel_opregion_notify_encoder(struct intel_encoder *intel_encoder, bool enable) in intel_opregion_notify_encoder() argument
Dicl_dsi.c82 static void wait_for_cmds_dispatched_to_panel(struct intel_encoder *encoder) in wait_for_cmds_dispatched_to_panel()
239 static void dsi_program_swing_and_deemphasis(struct intel_encoder *encoder) in dsi_program_swing_and_deemphasis()
305 static void configure_dual_link_mode(struct intel_encoder *encoder, in configure_dual_link_mode()
358 static int afe_clk(struct intel_encoder *encoder, in afe_clk()
372 static void gen11_dsi_program_esc_clk_div(struct intel_encoder *encoder, in gen11_dsi_program_esc_clk_div()
429 static void gen11_dsi_enable_io_power(struct intel_encoder *encoder) in gen11_dsi_enable_io_power()
445 static void gen11_dsi_power_up_lanes(struct intel_encoder *encoder) in gen11_dsi_power_up_lanes()
456 static void gen11_dsi_config_phy_lanes_sequence(struct intel_encoder *encoder) in gen11_dsi_config_phy_lanes_sequence()
511 static void gen11_dsi_voltage_swing_program_seq(struct intel_encoder *encoder) in gen11_dsi_voltage_swing_program_seq()
563 static void gen11_dsi_enable_ddi_buffer(struct intel_encoder *encoder) in gen11_dsi_enable_ddi_buffer()
[all …]
Dintel_hdmi.c194 static void g4x_write_infoframe(struct intel_encoder *encoder, in g4x_write_infoframe()
230 static void g4x_read_infoframe(struct intel_encoder *encoder, in g4x_read_infoframe()
250 static u32 g4x_infoframes_enabled(struct intel_encoder *encoder, in g4x_infoframes_enabled()
266 static void ibx_write_infoframe(struct intel_encoder *encoder, in ibx_write_infoframe()
305 static void ibx_read_infoframe(struct intel_encoder *encoder, in ibx_read_infoframe()
326 static u32 ibx_infoframes_enabled(struct intel_encoder *encoder, in ibx_infoframes_enabled()
345 static void cpt_write_infoframe(struct intel_encoder *encoder, in cpt_write_infoframe()
387 static void cpt_read_infoframe(struct intel_encoder *encoder, in cpt_read_infoframe()
408 static u32 cpt_infoframes_enabled(struct intel_encoder *encoder, in cpt_infoframes_enabled()
423 static void vlv_write_infoframe(struct intel_encoder *encoder, in vlv_write_infoframe()
[all …]
Dintel_bios.h38 struct intel_encoder;
248 bool intel_bios_get_dsc_params(struct intel_encoder *encoder,
251 int intel_bios_max_tmds_clock(struct intel_encoder *encoder);
252 int intel_bios_hdmi_level_shift(struct intel_encoder *encoder);
253 int intel_bios_dp_max_link_rate(struct intel_encoder *encoder);
254 int intel_bios_alternate_ddc_pin(struct intel_encoder *encoder);
Dintel_audio.c323 static void g4x_audio_codec_disable(struct intel_encoder *encoder, in g4x_audio_codec_disable()
344 static void g4x_audio_codec_enable(struct intel_encoder *encoder, in g4x_audio_codec_enable()
387 hsw_dp_audio_config_update(struct intel_encoder *encoder, in hsw_dp_audio_config_update()
435 hsw_hdmi_audio_config_update(struct intel_encoder *encoder, in hsw_hdmi_audio_config_update()
477 hsw_audio_config_update(struct intel_encoder *encoder, in hsw_audio_config_update()
486 static void hsw_audio_codec_disable(struct intel_encoder *encoder, in hsw_audio_codec_disable()
518 static unsigned int calc_hblank_early_prog(struct intel_encoder *encoder, in calc_hblank_early_prog()
581 static void enable_audio_dsc_wa(struct intel_encoder *encoder, in enable_audio_dsc_wa()
629 static void hsw_audio_codec_enable(struct intel_encoder *encoder, in hsw_audio_codec_enable()
685 static void ilk_audio_codec_disable(struct intel_encoder *encoder, in ilk_audio_codec_disable()
[all …]
Dintel_audio.h12 struct intel_encoder;
15 void intel_audio_codec_enable(struct intel_encoder *encoder,
18 void intel_audio_codec_disable(struct intel_encoder *encoder,
/drivers/gpu/drm/gma500/
Dcdv_intel_dp.c380 static void cdv_intel_edp_panel_vdd_on(struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_vdd_on() argument
382 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_vdd_on()
383 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; 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() argument
402 struct drm_device *dev = intel_encoder->base.dev; 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() argument
417 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_on()
418 struct cdv_intel_dp *intel_dp = intel_encoder->dev_priv; in cdv_intel_edp_panel_on()
442 static void cdv_intel_edp_panel_off (struct gma_encoder *intel_encoder) in cdv_intel_edp_panel_off() argument
444 struct drm_device *dev = intel_encoder->base.dev; in cdv_intel_edp_panel_off()
[all …]

123