intel_dig_port 1200 drivers/gpu/drm/i915/display/intel_ddi.c struct intel_digital_port *intel_dig_port = intel_dig_port 1203 drivers/gpu/drm/i915/display/intel_ddi.c intel_dp->DP = intel_dig_port->saved_port_bits | intel_dig_port 2200 drivers/gpu/drm/i915/display/intel_ddi.c struct intel_digital_port *intel_dig_port = enc_to_dig_port(&encoder->base); intel_dig_port 2237 drivers/gpu/drm/i915/display/intel_ddi.c if (port == PORT_A && intel_dig_port->max_lanes == 4) intel_dig_port 3060 drivers/gpu/drm/i915/display/intel_ddi.c static void icl_program_mg_dp_mode(struct intel_digital_port *intel_dig_port) intel_dig_port 3062 drivers/gpu/drm/i915/display/intel_ddi.c struct drm_i915_private *dev_priv = to_i915(intel_dig_port->base.base.dev); intel_dig_port 3063 drivers/gpu/drm/i915/display/intel_ddi.c enum port port = intel_dig_port->base.port; intel_dig_port 3066 drivers/gpu/drm/i915/display/intel_ddi.c if (intel_dig_port->tc_mode == TC_PORT_TBT_ALT) intel_dig_port 3072 drivers/gpu/drm/i915/display/intel_ddi.c switch (intel_dig_port->tc_mode) { intel_dig_port 3077 drivers/gpu/drm/i915/display/intel_ddi.c lane_mask = intel_tc_port_get_lane_mask(intel_dig_port); intel_dig_port 3114 drivers/gpu/drm/i915/display/intel_ddi.c MISSING_CASE(intel_dig_port->tc_mode); intel_dig_port 3239 drivers/gpu/drm/i915/display/intel_ddi.c struct intel_digital_port *intel_dig_port = enc_to_dig_port(&encoder->base); intel_dig_port 3240 drivers/gpu/drm/i915/display/intel_ddi.c struct intel_hdmi *intel_hdmi = &intel_dig_port->hdmi; intel_dig_port 3271 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->set_infoframes(encoder, intel_dig_port 3761 drivers/gpu/drm/i915/display/intel_ddi.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 3763 drivers/gpu/drm/i915/display/intel_ddi.c to_i915(intel_dig_port->base.base.dev); intel_dig_port 3764 drivers/gpu/drm/i915/display/intel_ddi.c enum port port = intel_dig_port->base.port; intel_dig_port 4024 drivers/gpu/drm/i915/display/intel_ddi.c intel_ddi_init_dp_connector(struct intel_digital_port *intel_dig_port) intel_dig_port 4027 drivers/gpu/drm/i915/display/intel_ddi.c enum port port = intel_dig_port->base.port; intel_dig_port 4033 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->dp.output_reg = DDI_BUF_CTL(port); intel_dig_port 4034 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->dp.prepare_link_retrain = intel_dig_port 4037 drivers/gpu/drm/i915/display/intel_ddi.c if (!intel_dp_init_connector(intel_dig_port, connector)) { intel_dig_port 4200 drivers/gpu/drm/i915/display/intel_ddi.c intel_ddi_init_hdmi_connector(struct intel_digital_port *intel_dig_port) intel_dig_port 4203 drivers/gpu/drm/i915/display/intel_ddi.c enum port port = intel_dig_port->base.port; intel_dig_port 4209 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->hdmi.hdmi_reg = DDI_BUF_CTL(port); intel_dig_port 4210 drivers/gpu/drm/i915/display/intel_ddi.c intel_hdmi_init_connector(intel_dig_port, connector); intel_dig_port 4279 drivers/gpu/drm/i915/display/intel_ddi.c struct intel_digital_port *intel_dig_port; intel_dig_port 4307 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port = kzalloc(sizeof(*intel_dig_port), GFP_KERNEL); intel_dig_port 4308 drivers/gpu/drm/i915/display/intel_ddi.c if (!intel_dig_port) intel_dig_port 4311 drivers/gpu/drm/i915/display/intel_ddi.c intel_encoder = &intel_dig_port->base; intel_dig_port 4339 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->saved_port_bits = I915_READ(DDI_BUF_CTL(port)) & intel_dig_port 4342 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->saved_port_bits = I915_READ(DDI_BUF_CTL(port)) & intel_dig_port 4344 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->dp.output_reg = INVALID_MMIO_REG; intel_dig_port 4345 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->max_lanes = intel_ddi_max_lanes(intel_dig_port); intel_dig_port 4346 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->aux_ch = intel_bios_port_aux_ch(dev_priv, port); intel_dig_port 4352 drivers/gpu/drm/i915/display/intel_ddi.c intel_tc_port_init(intel_dig_port, is_legacy); intel_dig_port 4360 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->ddi_io_power_domain = intel_dig_port 4364 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->ddi_io_power_domain = intel_dig_port 4368 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->ddi_io_power_domain = intel_dig_port 4372 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->ddi_io_power_domain = intel_dig_port 4376 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->ddi_io_power_domain = intel_dig_port 4380 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->ddi_io_power_domain = intel_dig_port 4384 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->ddi_io_power_domain = intel_dig_port 4388 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->ddi_io_power_domain = intel_dig_port 4392 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->ddi_io_power_domain = intel_dig_port 4400 drivers/gpu/drm/i915/display/intel_ddi.c if (!intel_ddi_init_dp_connector(intel_dig_port)) intel_dig_port 4403 drivers/gpu/drm/i915/display/intel_ddi.c intel_dig_port->hpd_pulse = intel_dp_hpd_pulse; intel_dig_port 4409 drivers/gpu/drm/i915/display/intel_ddi.c if (!intel_ddi_init_hdmi_connector(intel_dig_port)) intel_dig_port 4414 drivers/gpu/drm/i915/display/intel_ddi.c if (lspcon_init(intel_dig_port)) intel_dig_port 4427 drivers/gpu/drm/i915/display/intel_ddi.c intel_infoframe_init(intel_dig_port); intel_dig_port 4433 drivers/gpu/drm/i915/display/intel_ddi.c kfree(intel_dig_port); intel_dig_port 269 drivers/gpu/drm/i915/display/intel_display_types.h int (*write_an_aksv)(struct intel_digital_port *intel_dig_port, u8 *an); intel_dig_port 272 drivers/gpu/drm/i915/display/intel_display_types.h int (*read_bksv)(struct intel_digital_port *intel_dig_port, u8 *bksv); intel_dig_port 280 drivers/gpu/drm/i915/display/intel_display_types.h int (*read_bstatus)(struct intel_digital_port *intel_dig_port, intel_dig_port 284 drivers/gpu/drm/i915/display/intel_display_types.h int (*repeater_present)(struct intel_digital_port *intel_dig_port, intel_dig_port 288 drivers/gpu/drm/i915/display/intel_display_types.h int (*read_ri_prime)(struct intel_digital_port *intel_dig_port, u8 *ri); intel_dig_port 291 drivers/gpu/drm/i915/display/intel_display_types.h int (*read_ksv_ready)(struct intel_digital_port *intel_dig_port, intel_dig_port 295 drivers/gpu/drm/i915/display/intel_display_types.h int (*read_ksv_fifo)(struct intel_digital_port *intel_dig_port, intel_dig_port 299 drivers/gpu/drm/i915/display/intel_display_types.h int (*read_v_prime_part)(struct intel_digital_port *intel_dig_port, intel_dig_port 303 drivers/gpu/drm/i915/display/intel_display_types.h int (*toggle_signalling)(struct intel_digital_port *intel_dig_port, intel_dig_port 307 drivers/gpu/drm/i915/display/intel_display_types.h bool (*check_link)(struct intel_digital_port *intel_dig_port); intel_dig_port 310 drivers/gpu/drm/i915/display/intel_display_types.h int (*hdcp_capable)(struct intel_digital_port *intel_dig_port, intel_dig_port 317 drivers/gpu/drm/i915/display/intel_display_types.h int (*hdcp_2_2_capable)(struct intel_digital_port *intel_dig_port, intel_dig_port 321 drivers/gpu/drm/i915/display/intel_display_types.h int (*write_2_2_msg)(struct intel_digital_port *intel_dig_port, intel_dig_port 325 drivers/gpu/drm/i915/display/intel_display_types.h int (*read_2_2_msg)(struct intel_digital_port *intel_dig_port, intel_dig_port 333 drivers/gpu/drm/i915/display/intel_display_types.h int (*config_stream_type)(struct intel_digital_port *intel_dig_port, intel_dig_port 337 drivers/gpu/drm/i915/display/intel_display_types.h int (*check_2_2_link)(struct intel_digital_port *intel_dig_port); intel_dig_port 149 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 151 drivers/gpu/drm/i915/display/intel_dp.c return intel_dig_port->base.type == INTEL_OUTPUT_EDP; intel_dig_port 219 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 220 drivers/gpu/drm/i915/display/intel_dp.c int source_max = intel_dig_port->max_lanes; intel_dig_port 222 drivers/gpu/drm/i915/display/intel_dp.c int fia_max = intel_tc_port_fia_max_lane_count(intel_dig_port); intel_dig_port 254 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 255 drivers/gpu/drm/i915/display/intel_dp.c struct intel_encoder *encoder = &intel_dig_port->base; intel_dig_port 727 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 736 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe), port_name(intel_dig_port->base.port))) intel_dig_port 740 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe), port_name(intel_dig_port->base.port)); intel_dig_port 832 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 860 drivers/gpu/drm/i915/display/intel_dp.c port_name(intel_dig_port->base.port)); intel_dig_port 948 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 949 drivers/gpu/drm/i915/display/intel_dp.c enum port port = intel_dig_port->base.port; intel_dig_port 1228 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 1230 drivers/gpu/drm/i915/display/intel_dp.c to_i915(intel_dig_port->base.base.dev); intel_dig_port 1258 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 1260 drivers/gpu/drm/i915/display/intel_dp.c to_i915(intel_dig_port->base.base.dev); intel_dig_port 1261 drivers/gpu/drm/i915/display/intel_dp.c enum phy phy = intel_port_to_phy(i915, intel_dig_port->base.port); intel_dig_port 1275 drivers/gpu/drm/i915/display/intel_dp.c intel_dig_port->tc_mode == TC_PORT_TBT_ALT) intel_dig_port 1287 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 1289 drivers/gpu/drm/i915/display/intel_dp.c to_i915(intel_dig_port->base.base.dev); intel_dig_port 1291 drivers/gpu/drm/i915/display/intel_dp.c enum phy phy = intel_port_to_phy(i915, intel_dig_port->base.port); intel_dig_port 1296 drivers/gpu/drm/i915/display/intel_dp.c intel_aux_power_domain(intel_dig_port); intel_dig_port 1309 drivers/gpu/drm/i915/display/intel_dp.c intel_tc_port_lock(intel_dig_port); intel_dig_port 1464 drivers/gpu/drm/i915/display/intel_dp.c intel_tc_port_unlock(intel_dig_port); intel_dig_port 2551 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 2568 drivers/gpu/drm/i915/display/intel_dp.c intel_aux_power_domain(intel_dig_port)); intel_dig_port 2571 drivers/gpu/drm/i915/display/intel_dp.c port_name(intel_dig_port->base.port)); intel_dig_port 2591 drivers/gpu/drm/i915/display/intel_dp.c port_name(intel_dig_port->base.port)); intel_dig_port 2623 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = intel_dig_port 2636 drivers/gpu/drm/i915/display/intel_dp.c port_name(intel_dig_port->base.port)); intel_dig_port 2655 drivers/gpu/drm/i915/display/intel_dp.c intel_aux_power_domain(intel_dig_port)); intel_dig_port 3309 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 3310 drivers/gpu/drm/i915/display/intel_dp.c enum port port = intel_dig_port->base.port; intel_dig_port 3487 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 3488 drivers/gpu/drm/i915/display/intel_dp.c struct drm_i915_private *dev_priv = to_i915(intel_dig_port->base.base.dev); intel_dig_port 3509 drivers/gpu/drm/i915/display/intel_dp.c pipe_name(pipe), port_name(intel_dig_port->base.port)); intel_dig_port 3978 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 3979 drivers/gpu/drm/i915/display/intel_dp.c enum port port = intel_dig_port->base.port; intel_dig_port 4022 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 4024 drivers/gpu/drm/i915/display/intel_dp.c to_i915(intel_dig_port->base.base.dev); intel_dig_port 4035 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 4036 drivers/gpu/drm/i915/display/intel_dp.c enum port port = intel_dig_port->base.port; intel_dig_port 4425 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 4498 drivers/gpu/drm/i915/display/intel_dp.c intel_dig_port->write_infoframe(&intel_dig_port->base, intel_dig_port 5226 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port) intel_dig_port 5228 drivers/gpu/drm/i915/display/intel_dp.c enum port port = intel_dig_port->base.port; intel_dig_port 5541 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port = enc_to_dig_port(encoder); intel_dig_port 5542 drivers/gpu/drm/i915/display/intel_dp.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 5544 drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mst_encoder_cleanup(intel_dig_port); intel_dig_port 5603 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp_write_an_aksv(struct intel_digital_port *intel_dig_port, intel_dig_port 5606 drivers/gpu/drm/i915/display/intel_dp.c struct intel_dp *intel_dp = enc_to_intel_dp(&intel_dig_port->base.base); intel_dig_port 5617 drivers/gpu/drm/i915/display/intel_dp.c dpcd_ret = drm_dp_dpcd_write(&intel_dig_port->dp.aux, DP_AUX_HDCP_AN, intel_dig_port 5653 drivers/gpu/drm/i915/display/intel_dp.c static int intel_dp_hdcp_read_bksv(struct intel_digital_port *intel_dig_port, intel_dig_port 5657 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BKSV, bksv, intel_dig_port 5666 drivers/gpu/drm/i915/display/intel_dp.c static int intel_dp_hdcp_read_bstatus(struct intel_digital_port *intel_dig_port, intel_dig_port 5675 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BINFO, intel_dig_port 5685 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp_read_bcaps(struct intel_digital_port *intel_dig_port, intel_dig_port 5690 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BCAPS, intel_dig_port 5701 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp_repeater_present(struct intel_digital_port *intel_dig_port, intel_dig_port 5707 drivers/gpu/drm/i915/display/intel_dp.c ret = intel_dp_hdcp_read_bcaps(intel_dig_port, &bcaps); intel_dig_port 5716 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp_read_ri_prime(struct intel_digital_port *intel_dig_port, intel_dig_port 5720 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_RI_PRIME, intel_dig_port 5730 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp_read_ksv_ready(struct intel_digital_port *intel_dig_port, intel_dig_port 5735 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BSTATUS, intel_dig_port 5746 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp_read_ksv_fifo(struct intel_digital_port *intel_dig_port, intel_dig_port 5755 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, intel_dig_port 5769 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp_read_v_prime_part(struct intel_digital_port *intel_dig_port, intel_dig_port 5777 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, intel_dig_port 5788 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp_toggle_signalling(struct intel_digital_port *intel_dig_port, intel_dig_port 5796 drivers/gpu/drm/i915/display/intel_dp.c bool intel_dp_hdcp_check_link(struct intel_digital_port *intel_dig_port) intel_dig_port 5801 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, DP_AUX_HDCP_BSTATUS, intel_dig_port 5812 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp_capable(struct intel_digital_port *intel_dig_port, intel_dig_port 5818 drivers/gpu/drm/i915/display/intel_dp.c ret = intel_dp_hdcp_read_bcaps(intel_dig_port, &bcaps); intel_dig_port 5876 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp2_read_rx_status(struct intel_digital_port *intel_dig_port, intel_dig_port 5881 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, intel_dig_port 5893 drivers/gpu/drm/i915/display/intel_dp.c int hdcp2_detect_msg_availability(struct intel_digital_port *intel_dig_port, intel_dig_port 5900 drivers/gpu/drm/i915/display/intel_dp.c ret = intel_dp_hdcp2_read_rx_status(intel_dig_port, &rx_status); intel_dig_port 5926 drivers/gpu/drm/i915/display/intel_dp.c intel_dp_hdcp2_wait_for_msg(struct intel_digital_port *intel_dig_port, intel_dig_port 5929 drivers/gpu/drm/i915/display/intel_dp.c struct intel_dp *dp = &intel_dig_port->dp; intel_dig_port 5953 drivers/gpu/drm/i915/display/intel_dp.c ret = hdcp2_detect_msg_availability(intel_dig_port, intel_dig_port 5978 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp2_write_msg(struct intel_digital_port *intel_dig_port, intel_dig_port 5981 drivers/gpu/drm/i915/display/intel_dp.c struct intel_dp *dp = &intel_dig_port->dp; intel_dig_port 6004 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_write(&intel_dig_port->dp.aux, intel_dig_port 6018 drivers/gpu/drm/i915/display/intel_dp.c ssize_t get_receiver_id_list_size(struct intel_digital_port *intel_dig_port) intel_dig_port 6024 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, intel_dig_port 6044 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp2_read_msg(struct intel_digital_port *intel_dig_port, intel_dig_port 6057 drivers/gpu/drm/i915/display/intel_dp.c ret = intel_dp_hdcp2_wait_for_msg(intel_dig_port, hdcp2_msg_data); intel_dig_port 6062 drivers/gpu/drm/i915/display/intel_dp.c ret = get_receiver_id_list_size(intel_dig_port); intel_dig_port 6077 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, offset, intel_dig_port 6095 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp2_config_stream_type(struct intel_digital_port *intel_dig_port, intel_dig_port 6113 drivers/gpu/drm/i915/display/intel_dp.c return intel_dp_hdcp2_write_msg(intel_dig_port, &stream_type_msg, intel_dig_port 6118 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp2_check_link(struct intel_digital_port *intel_dig_port) intel_dig_port 6123 drivers/gpu/drm/i915/display/intel_dp.c ret = intel_dp_hdcp2_read_rx_status(intel_dig_port, &rx_status); intel_dig_port 6138 drivers/gpu/drm/i915/display/intel_dp.c int intel_dp_hdcp2_capable(struct intel_digital_port *intel_dig_port, intel_dig_port 6145 drivers/gpu/drm/i915/display/intel_dp.c ret = drm_dp_dpcd_read(&intel_dig_port->dp.aux, intel_dig_port 6272 drivers/gpu/drm/i915/display/intel_dp.c intel_dp_hpd_pulse(struct intel_digital_port *intel_dig_port, bool long_hpd) intel_dig_port 6274 drivers/gpu/drm/i915/display/intel_dp.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 6276 drivers/gpu/drm/i915/display/intel_dp.c if (long_hpd && intel_dig_port->base.type == INTEL_OUTPUT_EDP) { intel_dig_port 6284 drivers/gpu/drm/i915/display/intel_dp.c port_name(intel_dig_port->base.port)); intel_dig_port 6289 drivers/gpu/drm/i915/display/intel_dp.c port_name(intel_dig_port->base.port), intel_dig_port 7136 drivers/gpu/drm/i915/display/intel_dp.c intel_dp_init_connector(struct intel_digital_port *intel_dig_port, intel_dig_port 7140 drivers/gpu/drm/i915/display/intel_dp.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 7141 drivers/gpu/drm/i915/display/intel_dp.c struct intel_encoder *intel_encoder = &intel_dig_port->base; intel_dig_port 7152 drivers/gpu/drm/i915/display/intel_dp.c if (WARN(intel_dig_port->max_lanes < 1, intel_dig_port 7154 drivers/gpu/drm/i915/display/intel_dp.c intel_dig_port->max_lanes, port_name(port))) intel_dig_port 7221 drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mst_encoder_init(intel_dig_port, intel_dig_port 7226 drivers/gpu/drm/i915/display/intel_dp.c intel_dp_mst_encoder_cleanup(intel_dig_port); intel_dig_port 7259 drivers/gpu/drm/i915/display/intel_dp.c struct intel_digital_port *intel_dig_port; intel_dig_port 7264 drivers/gpu/drm/i915/display/intel_dp.c intel_dig_port = kzalloc(sizeof(*intel_dig_port), GFP_KERNEL); intel_dig_port 7265 drivers/gpu/drm/i915/display/intel_dp.c if (!intel_dig_port) intel_dig_port 7272 drivers/gpu/drm/i915/display/intel_dp.c intel_encoder = &intel_dig_port->base; intel_dig_port 7306 drivers/gpu/drm/i915/display/intel_dp.c intel_dig_port->dp.output_reg = output_reg; intel_dig_port 7307 drivers/gpu/drm/i915/display/intel_dp.c intel_dig_port->max_lanes = 4; intel_dig_port 7322 drivers/gpu/drm/i915/display/intel_dp.c intel_dig_port->hpd_pulse = intel_dp_hpd_pulse; intel_dig_port 7325 drivers/gpu/drm/i915/display/intel_dp.c intel_infoframe_init(intel_dig_port); intel_dig_port 7327 drivers/gpu/drm/i915/display/intel_dp.c intel_dig_port->aux_ch = intel_bios_port_aux_ch(dev_priv, port); intel_dig_port 7328 drivers/gpu/drm/i915/display/intel_dp.c if (!intel_dp_init_connector(intel_dig_port, intel_connector)) intel_dig_port 7338 drivers/gpu/drm/i915/display/intel_dp.c kfree(intel_dig_port); intel_dig_port 43 drivers/gpu/drm/i915/display/intel_dp.h bool intel_dp_init_connector(struct intel_digital_port *intel_dig_port, intel_dig_port 64 drivers/gpu/drm/i915/display/intel_dp.h enum irqreturn intel_dp_hpd_pulse(struct intel_digital_port *intel_dig_port, intel_dig_port 206 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; intel_dig_port 207 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 230 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; intel_dig_port 231 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 256 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dig_port->base.post_disable(&intel_dig_port->base, intel_dig_port 268 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; intel_dig_port 269 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 272 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dig_port->base.pre_pll_enable(&intel_dig_port->base, intel_dig_port 281 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; intel_dig_port 282 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 285 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dig_port->base.post_pll_disable(&intel_dig_port->base, intel_dig_port 295 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; intel_dig_port 296 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 298 drivers/gpu/drm/i915/display/intel_dp_mst.c enum port port = intel_dig_port->base.port; intel_dig_port 318 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dig_port->base.pre_enable(&intel_dig_port->base, intel_dig_port 342 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; intel_dig_port 343 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 345 drivers/gpu/drm/i915/display/intel_dp_mst.c enum port port = intel_dig_port->base.port; intel_dig_port 374 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = intel_mst->primary; intel_dig_port 376 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_ddi_get_config(&intel_dig_port->base, pipe_config); intel_dig_port 502 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 503 drivers/gpu/drm/i915/display/intel_dp_mst.c struct drm_device *dev = intel_dig_port->base.base.dev; intel_dig_port 597 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp_create_fake_mst_encoder(struct intel_digital_port *intel_dig_port, enum pipe pipe) intel_dig_port 601 drivers/gpu/drm/i915/display/intel_dp_mst.c struct drm_device *dev = intel_dig_port->base.base.dev; intel_dig_port 610 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_mst->primary = intel_dig_port; intel_dig_port 616 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_encoder->power_domain = intel_dig_port->base.power_domain; intel_dig_port 617 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_encoder->port = intel_dig_port->base.port; intel_dig_port 636 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp_create_fake_mst_encoders(struct intel_digital_port *intel_dig_port) intel_dig_port 638 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 639 drivers/gpu/drm/i915/display/intel_dp_mst.c struct drm_i915_private *dev_priv = to_i915(intel_dig_port->base.base.dev); intel_dig_port 643 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp->mst_encoders[pipe] = intel_dp_create_fake_mst_encoder(intel_dig_port, pipe); intel_dig_port 648 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp_mst_encoder_active_links(struct intel_digital_port *intel_dig_port) intel_dig_port 650 drivers/gpu/drm/i915/display/intel_dp_mst.c return intel_dig_port->dp.active_mst_links; intel_dig_port 654 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp_mst_encoder_init(struct intel_digital_port *intel_dig_port, int conn_base_id) intel_dig_port 656 drivers/gpu/drm/i915/display/intel_dp_mst.c struct drm_i915_private *i915 = to_i915(intel_dig_port->base.base.dev); intel_dig_port 657 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 658 drivers/gpu/drm/i915/display/intel_dp_mst.c enum port port = intel_dig_port->base.port; intel_dig_port 673 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp_create_fake_mst_encoders(intel_dig_port); intel_dig_port 685 drivers/gpu/drm/i915/display/intel_dp_mst.c intel_dp_mst_encoder_cleanup(struct intel_digital_port *intel_dig_port) intel_dig_port 687 drivers/gpu/drm/i915/display/intel_dp_mst.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 11 drivers/gpu/drm/i915/display/intel_dp_mst.h int intel_dp_mst_encoder_init(struct intel_digital_port *intel_dig_port, int conn_id); intel_dig_port 12 drivers/gpu/drm/i915/display/intel_dp_mst.h void intel_dp_mst_encoder_cleanup(struct intel_digital_port *intel_dig_port); intel_dig_port 13 drivers/gpu/drm/i915/display/intel_dp_mst.h int intel_dp_mst_encoder_active_links(struct intel_digital_port *intel_dig_port); intel_dig_port 40 drivers/gpu/drm/i915/display/intel_hdcp.c int intel_hdcp_read_valid_bksv(struct intel_digital_port *intel_dig_port, intel_dig_port 47 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_bksv(intel_dig_port, bksv); intel_dig_port 64 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 73 drivers/gpu/drm/i915/display/intel_hdcp.c shim->hdcp_capable(intel_dig_port, &capable); intel_dig_port 75 drivers/gpu/drm/i915/display/intel_hdcp.c if (!intel_hdcp_read_valid_bksv(intel_dig_port, shim, bksv)) intel_dig_port 86 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 103 drivers/gpu/drm/i915/display/intel_hdcp.c hdcp->shim->hdcp_2_2_capable(intel_dig_port, &capable); intel_dig_port 128 drivers/gpu/drm/i915/display/intel_hdcp.c static int intel_hdcp_poll_ksv_fifo(struct intel_digital_port *intel_dig_port, intel_dig_port 135 drivers/gpu/drm/i915/display/intel_hdcp.c ret = __wait_for(read_ret = shim->read_ksv_ready(intel_dig_port, intel_dig_port 256 drivers/gpu/drm/i915/display/intel_hdcp.c u32 intel_hdcp_get_repeater_ctl(struct intel_digital_port *intel_dig_port) intel_dig_port 258 drivers/gpu/drm/i915/display/intel_hdcp.c enum port port = intel_dig_port->base.port; intel_dig_port 278 drivers/gpu/drm/i915/display/intel_hdcp.c int intel_hdcp_validate_v_prime(struct intel_digital_port *intel_dig_port, intel_dig_port 286 drivers/gpu/drm/i915/display/intel_hdcp.c dev_priv = intel_dig_port->base.base.dev->dev_private; intel_dig_port 290 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_v_prime_part(intel_dig_port, i, &vprime); intel_dig_port 309 drivers/gpu/drm/i915/display/intel_hdcp.c rep_ctl = intel_hdcp_get_repeater_ctl(intel_dig_port); intel_dig_port 495 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 501 drivers/gpu/drm/i915/display/intel_hdcp.c ret = intel_hdcp_poll_ksv_fifo(intel_dig_port, shim); intel_dig_port 507 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_bstatus(intel_dig_port, bstatus); intel_dig_port 536 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_ksv_fifo(intel_dig_port, num_downstream, ksv_fifo); intel_dig_port 551 drivers/gpu/drm/i915/display/intel_hdcp.c ret = intel_hdcp_validate_v_prime(intel_dig_port, shim, intel_dig_port 574 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 596 drivers/gpu/drm/i915/display/intel_hdcp.c dev_priv = intel_dig_port->base.base.dev->dev_private; intel_dig_port 598 drivers/gpu/drm/i915/display/intel_hdcp.c port = intel_dig_port->base.port; intel_dig_port 607 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->hdcp_capable(intel_dig_port, &hdcp_capable); intel_dig_port 630 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->write_an_aksv(intel_dig_port, an.shim); intel_dig_port 638 drivers/gpu/drm/i915/display/intel_hdcp.c ret = intel_hdcp_read_valid_bksv(intel_dig_port, shim, bksv.shim); intel_dig_port 650 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->repeater_present(intel_dig_port, &repeater_present); intel_dig_port 655 drivers/gpu/drm/i915/display/intel_hdcp.c intel_hdcp_get_repeater_ctl(intel_dig_port)); intel_dig_port 657 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->toggle_signalling(intel_dig_port, true); intel_dig_port 689 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_ri_prime(intel_dig_port, ri.shim); intel_dig_port 730 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 731 drivers/gpu/drm/i915/display/intel_hdcp.c enum port port = intel_dig_port->base.port; intel_dig_port 745 drivers/gpu/drm/i915/display/intel_hdcp.c ret = hdcp->shim->toggle_signalling(intel_dig_port, false); intel_dig_port 809 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 810 drivers/gpu/drm/i915/display/intel_hdcp.c enum port port = intel_dig_port->base.port; intel_dig_port 832 drivers/gpu/drm/i915/display/intel_hdcp.c if (hdcp->shim->check_link(intel_dig_port)) { intel_dig_port 1177 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 1199 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->write_2_2_msg(intel_dig_port, &msgs.ake_init, intel_dig_port 1204 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_2_2_msg(intel_dig_port, HDCP_2_2_AKE_SEND_CERT, intel_dig_port 1232 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->write_2_2_msg(intel_dig_port, &msgs.no_stored_km, size); intel_dig_port 1236 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_2_2_msg(intel_dig_port, HDCP_2_2_AKE_SEND_HPRIME, intel_dig_port 1247 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_2_2_msg(intel_dig_port, intel_dig_port 1265 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 1279 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->write_2_2_msg(intel_dig_port, &msgs.lc_init, intel_dig_port 1284 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_2_2_msg(intel_dig_port, intel_dig_port 1301 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 1310 drivers/gpu/drm/i915/display/intel_hdcp.c ret = hdcp->shim->write_2_2_msg(intel_dig_port, &send_eks, intel_dig_port 1321 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 1342 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->write_2_2_msg(intel_dig_port, &msgs.stream_manage, intel_dig_port 1347 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_2_2_msg(intel_dig_port, HDCP_2_2_REP_STREAM_READY, intel_dig_port 1372 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 1384 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->read_2_2_msg(intel_dig_port, HDCP_2_2_REP_SEND_RECVID_LIST, intel_dig_port 1422 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->write_2_2_msg(intel_dig_port, &msgs.rep_ack, intel_dig_port 1443 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 1467 drivers/gpu/drm/i915/display/intel_hdcp.c ret = shim->config_stream_type(intel_dig_port, intel_dig_port 1492 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 1501 drivers/gpu/drm/i915/display/intel_hdcp.c ret = hdcp->shim->toggle_signalling(intel_dig_port, true); intel_dig_port 1525 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 1543 drivers/gpu/drm/i915/display/intel_hdcp.c ret = hdcp->shim->toggle_signalling(intel_dig_port, false); intel_dig_port 1631 drivers/gpu/drm/i915/display/intel_hdcp.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 1655 drivers/gpu/drm/i915/display/intel_hdcp.c ret = hdcp->shim->check_2_2_link(intel_dig_port); intel_dig_port 90 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *intel_dig_port = intel_dig_port 92 drivers/gpu/drm/i915/display/intel_hdmi.c return &intel_dig_port->hdmi; intel_dig_port 641 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *intel_dig_port = enc_to_dig_port(&encoder->base); intel_dig_port 662 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->write_infoframe(encoder, crtc_state, type, buffer, len); intel_dig_port 670 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *intel_dig_port = enc_to_dig_port(&encoder->base); intel_dig_port 678 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->read_infoframe(encoder, crtc_state, intel_dig_port 841 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *intel_dig_port = enc_to_dig_port(&encoder->base); intel_dig_port 842 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_hdmi *intel_hdmi = &intel_dig_port->hdmi; intel_dig_port 1024 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *intel_dig_port = enc_to_dig_port(&encoder->base); intel_dig_port 1025 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_hdmi *intel_hdmi = &intel_dig_port->hdmi; intel_dig_port 1242 drivers/gpu/drm/i915/display/intel_hdmi.c static int intel_hdmi_hdcp_read(struct intel_digital_port *intel_dig_port, intel_dig_port 1245 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_hdmi *hdmi = &intel_dig_port->hdmi; intel_dig_port 1247 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->base.base.dev->dev_private; intel_dig_port 1272 drivers/gpu/drm/i915/display/intel_hdmi.c static int intel_hdmi_hdcp_write(struct intel_digital_port *intel_dig_port, intel_dig_port 1275 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_hdmi *hdmi = &intel_dig_port->hdmi; intel_dig_port 1277 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->base.base.dev->dev_private; intel_dig_port 1307 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp_write_an_aksv(struct intel_digital_port *intel_dig_port, intel_dig_port 1310 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_hdmi *hdmi = &intel_dig_port->hdmi; intel_dig_port 1312 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->base.base.dev->dev_private; intel_dig_port 1317 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_write(intel_dig_port, DRM_HDCP_DDC_AN, an, intel_dig_port 1332 drivers/gpu/drm/i915/display/intel_hdmi.c static int intel_hdmi_hdcp_read_bksv(struct intel_digital_port *intel_dig_port, intel_dig_port 1336 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_read(intel_dig_port, DRM_HDCP_DDC_BKSV, bksv, intel_dig_port 1344 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp_read_bstatus(struct intel_digital_port *intel_dig_port, intel_dig_port 1348 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_read(intel_dig_port, DRM_HDCP_DDC_BSTATUS, intel_dig_port 1356 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp_repeater_present(struct intel_digital_port *intel_dig_port, intel_dig_port 1362 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_read(intel_dig_port, DRM_HDCP_DDC_BCAPS, &val, 1); intel_dig_port 1372 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp_read_ri_prime(struct intel_digital_port *intel_dig_port, intel_dig_port 1376 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_read(intel_dig_port, DRM_HDCP_DDC_RI_PRIME, intel_dig_port 1384 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp_read_ksv_ready(struct intel_digital_port *intel_dig_port, intel_dig_port 1390 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_read(intel_dig_port, DRM_HDCP_DDC_BCAPS, &val, 1); intel_dig_port 1400 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp_read_ksv_fifo(struct intel_digital_port *intel_dig_port, intel_dig_port 1404 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_read(intel_dig_port, DRM_HDCP_DDC_KSV_FIFO, intel_dig_port 1414 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp_read_v_prime_part(struct intel_digital_port *intel_dig_port, intel_dig_port 1422 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_read(intel_dig_port, DRM_HDCP_DDC_V_PRIME(i), intel_dig_port 1432 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *intel_dig_port = conn_to_dig_port(connector); intel_dig_port 1446 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_ddi_toggle_hdcp_signalling(&intel_dig_port->base, false); intel_dig_port 1451 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_ddi_toggle_hdcp_signalling(&intel_dig_port->base, true); intel_dig_port 1461 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp_toggle_signalling(struct intel_digital_port *intel_dig_port, intel_dig_port 1464 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_hdmi *hdmi = &intel_dig_port->hdmi; intel_dig_port 1472 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_ddi_toggle_hdcp_signalling(&intel_dig_port->base, enable); intel_dig_port 1490 drivers/gpu/drm/i915/display/intel_hdmi.c bool intel_hdmi_hdcp_check_link(struct intel_digital_port *intel_dig_port) intel_dig_port 1493 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->base.base.dev->dev_private; intel_dig_port 1494 drivers/gpu/drm/i915/display/intel_hdmi.c enum port port = intel_dig_port->base.port; intel_dig_port 1501 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_read_ri_prime(intel_dig_port, ri.shim); intel_dig_port 1541 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp2_read_rx_status(struct intel_digital_port *intel_dig_port, intel_dig_port 1544 drivers/gpu/drm/i915/display/intel_hdmi.c return intel_hdmi_hdcp_read(intel_dig_port, intel_dig_port 1591 drivers/gpu/drm/i915/display/intel_hdmi.c intel_hdmi_hdcp2_wait_for_msg(struct intel_digital_port *intel_dig_port, intel_dig_port 1602 drivers/gpu/drm/i915/display/intel_hdmi.c ret = __wait_for(ret = hdcp2_detect_msg_availability(intel_dig_port, intel_dig_port 1615 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp2_write_msg(struct intel_digital_port *intel_dig_port, intel_dig_port 1621 drivers/gpu/drm/i915/display/intel_hdmi.c return intel_hdmi_hdcp_write(intel_dig_port, offset, buf, size); intel_dig_port 1625 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp2_read_msg(struct intel_digital_port *intel_dig_port, intel_dig_port 1628 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_hdmi *hdmi = &intel_dig_port->hdmi; intel_dig_port 1633 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp2_wait_for_msg(intel_dig_port, msg_id, intel_dig_port 1649 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_read(intel_dig_port, offset, buf, ret); intel_dig_port 1657 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp2_check_link(struct intel_digital_port *intel_dig_port) intel_dig_port 1662 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp2_read_rx_status(intel_dig_port, rx_status); intel_dig_port 1679 drivers/gpu/drm/i915/display/intel_hdmi.c int intel_hdmi_hdcp2_capable(struct intel_digital_port *intel_dig_port, intel_dig_port 1686 drivers/gpu/drm/i915/display/intel_hdmi.c ret = intel_hdmi_hdcp_read(intel_dig_port, HDCP_2_2_HDMI_REG_VER_OFFSET, intel_dig_port 1995 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *intel_dig_port = intel_dig_port 2039 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->set_infoframes(encoder, intel_dig_port 2606 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *intel_dig_port = intel_dig_port 2611 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->set_infoframes(encoder, intel_dig_port 2800 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *intel_dig_port = intel_dig_port 2812 drivers/gpu/drm/i915/display/intel_hdmi.c if (!intel_dig_port->lspcon.active) intel_dig_port 3027 drivers/gpu/drm/i915/display/intel_hdmi.c void intel_infoframe_init(struct intel_digital_port *intel_dig_port) intel_dig_port 3030 drivers/gpu/drm/i915/display/intel_hdmi.c to_i915(intel_dig_port->base.base.dev); intel_dig_port 3033 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->write_infoframe = vlv_write_infoframe; intel_dig_port 3034 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->read_infoframe = vlv_read_infoframe; intel_dig_port 3035 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->set_infoframes = vlv_set_infoframes; intel_dig_port 3036 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->infoframes_enabled = vlv_infoframes_enabled; intel_dig_port 3038 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->write_infoframe = g4x_write_infoframe; intel_dig_port 3039 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->read_infoframe = g4x_read_infoframe; intel_dig_port 3040 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->set_infoframes = g4x_set_infoframes; intel_dig_port 3041 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->infoframes_enabled = g4x_infoframes_enabled; intel_dig_port 3043 drivers/gpu/drm/i915/display/intel_hdmi.c if (intel_dig_port->lspcon.active) { intel_dig_port 3044 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->write_infoframe = lspcon_write_infoframe; intel_dig_port 3045 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->read_infoframe = lspcon_read_infoframe; intel_dig_port 3046 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->set_infoframes = lspcon_set_infoframes; intel_dig_port 3047 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->infoframes_enabled = lspcon_infoframes_enabled; intel_dig_port 3049 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->write_infoframe = hsw_write_infoframe; intel_dig_port 3050 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->read_infoframe = hsw_read_infoframe; intel_dig_port 3051 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->set_infoframes = hsw_set_infoframes; intel_dig_port 3052 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->infoframes_enabled = hsw_infoframes_enabled; intel_dig_port 3055 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->write_infoframe = ibx_write_infoframe; intel_dig_port 3056 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->read_infoframe = ibx_read_infoframe; intel_dig_port 3057 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->set_infoframes = ibx_set_infoframes; intel_dig_port 3058 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->infoframes_enabled = ibx_infoframes_enabled; intel_dig_port 3060 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->write_infoframe = cpt_write_infoframe; intel_dig_port 3061 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->read_infoframe = cpt_read_infoframe; intel_dig_port 3062 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->set_infoframes = cpt_set_infoframes; intel_dig_port 3063 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->infoframes_enabled = cpt_infoframes_enabled; intel_dig_port 3067 drivers/gpu/drm/i915/display/intel_hdmi.c void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port, intel_dig_port 3071 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_hdmi *intel_hdmi = &intel_dig_port->hdmi; intel_dig_port 3072 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_encoder *intel_encoder = &intel_dig_port->base; intel_dig_port 3080 drivers/gpu/drm/i915/display/intel_hdmi.c if (WARN(intel_dig_port->max_lanes < 4, intel_dig_port 3082 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->max_lanes, port_name(port))) intel_dig_port 3163 drivers/gpu/drm/i915/display/intel_hdmi.c struct intel_digital_port *intel_dig_port; intel_dig_port 3167 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port = kzalloc(sizeof(*intel_dig_port), GFP_KERNEL); intel_dig_port 3168 drivers/gpu/drm/i915/display/intel_hdmi.c if (!intel_dig_port) intel_dig_port 3173 drivers/gpu/drm/i915/display/intel_hdmi.c kfree(intel_dig_port); intel_dig_port 3177 drivers/gpu/drm/i915/display/intel_hdmi.c intel_encoder = &intel_dig_port->base; intel_dig_port 3234 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->hdmi.hdmi_reg = hdmi_reg; intel_dig_port 3235 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->dp.output_reg = INVALID_MMIO_REG; intel_dig_port 3236 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->max_lanes = 4; intel_dig_port 3238 drivers/gpu/drm/i915/display/intel_hdmi.c intel_infoframe_init(intel_dig_port); intel_dig_port 3240 drivers/gpu/drm/i915/display/intel_hdmi.c intel_dig_port->aux_ch = intel_bios_port_aux_ch(dev_priv, port); intel_dig_port 3241 drivers/gpu/drm/i915/display/intel_hdmi.c intel_hdmi_init_connector(intel_dig_port, intel_connector); intel_dig_port 29 drivers/gpu/drm/i915/display/intel_hdmi.h void intel_hdmi_init_connector(struct intel_digital_port *intel_dig_port, intel_dig_port 40 drivers/gpu/drm/i915/display/intel_hdmi.h void intel_infoframe_init(struct intel_digital_port *intel_dig_port); intel_dig_port 553 drivers/gpu/drm/i915/display/intel_lspcon.c bool lspcon_init(struct intel_digital_port *intel_dig_port) intel_dig_port 555 drivers/gpu/drm/i915/display/intel_lspcon.c struct intel_dp *dp = &intel_dig_port->dp; intel_dig_port 556 drivers/gpu/drm/i915/display/intel_lspcon.c struct intel_lspcon *lspcon = &intel_dig_port->lspcon; intel_dig_port 557 drivers/gpu/drm/i915/display/intel_lspcon.c struct drm_device *dev = intel_dig_port->base.base.dev; intel_dig_port 18 drivers/gpu/drm/i915/display/intel_lspcon.h bool lspcon_init(struct intel_digital_port *intel_dig_port); intel_dig_port 344 drivers/gpu/drm/i915/display/intel_psr.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 369 drivers/gpu/drm/i915/display/intel_psr.c intel_dig_port->write_infoframe(&intel_dig_port->base, intel_dig_port 887 drivers/gpu/drm/i915/display/intel_vdsc.c struct intel_digital_port *intel_dig_port = dp_to_dig_port(intel_dp); intel_dig_port 897 drivers/gpu/drm/i915/display/intel_vdsc.c intel_dig_port->write_infoframe(encoder, crtc_state, intel_dig_port 2531 drivers/gpu/drm/i915/i915_debugfs.c struct intel_digital_port *intel_dig_port = intel_mst->primary; intel_dig_port 2532 drivers/gpu/drm/i915/i915_debugfs.c struct intel_dp *intel_dp = &intel_dig_port->dp; intel_dig_port 3096 drivers/gpu/drm/i915/i915_debugfs.c struct intel_digital_port *intel_dig_port; intel_dig_port 3109 drivers/gpu/drm/i915/i915_debugfs.c intel_dig_port = enc_to_dig_port(&intel_encoder->base); intel_dig_port 3110 drivers/gpu/drm/i915/i915_debugfs.c if (!intel_dig_port->dp.can_mst) intel_dig_port 3114 drivers/gpu/drm/i915/i915_debugfs.c port_name(intel_dig_port->base.port)); intel_dig_port 3115 drivers/gpu/drm/i915/i915_debugfs.c drm_dp_mst_dump_topology(m, &intel_dig_port->dp.mst_mgr);