Lines Matching refs:dig_connector
367 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_probe_oui() local
370 if (!(dig_connector->dpcd[DP_DOWN_STREAM_PORT_COUNT] & DP_OUI_SUPPORT)) in radeon_dp_probe_oui()
384 struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; in radeon_dp_getdpcd() local
391 memcpy(dig_connector->dpcd, msg, DP_DPCD_SIZE); in radeon_dp_getdpcd()
393 DRM_DEBUG_KMS("DPCD: %*ph\n", (int)sizeof(dig_connector->dpcd), in radeon_dp_getdpcd()
394 dig_connector->dpcd); in radeon_dp_getdpcd()
401 dig_connector->dpcd[0] = 0; in radeon_dp_getdpcd()
449 struct radeon_connector_atom_dig *dig_connector; in radeon_dp_set_link_config() local
454 dig_connector = radeon_connector->con_priv; in radeon_dp_set_link_config()
456 if ((dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_DISPLAYPORT) || in radeon_dp_set_link_config()
457 (dig_connector->dp_sink_type == CONNECTOR_OBJECT_ID_eDP)) { in radeon_dp_set_link_config()
458 ret = radeon_dp_get_dp_link_config(connector, dig_connector->dpcd, in radeon_dp_set_link_config()
460 &dig_connector->dp_lane_count, in radeon_dp_set_link_config()
461 &dig_connector->dp_clock); in radeon_dp_set_link_config()
463 dig_connector->dp_clock = 0; in radeon_dp_set_link_config()
464 dig_connector->dp_lane_count = 0; in radeon_dp_set_link_config()
473 struct radeon_connector_atom_dig *dig_connector; in radeon_dp_mode_valid_helper() local
483 dig_connector = radeon_connector->con_priv; in radeon_dp_mode_valid_helper()
485 ret = radeon_dp_get_dp_link_config(connector, dig_connector->dpcd, in radeon_dp_mode_valid_helper()
516 struct radeon_connector_atom_dig *dig_connector; in radeon_dp_set_rx_power_state() local
521 dig_connector = radeon_connector->con_priv; in radeon_dp_set_rx_power_state()
524 if (dig_connector->dpcd[0] >= 0x11) { in radeon_dp_set_rx_power_state()
787 struct radeon_connector_atom_dig *dig_connector; in radeon_dp_link_train() local
799 dig_connector = radeon_connector->con_priv; in radeon_dp_link_train()
801 if ((dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_DISPLAYPORT) && in radeon_dp_link_train()
802 (dig_connector->dp_sink_type != CONNECTOR_OBJECT_ID_eDP)) in radeon_dp_link_train()
836 memcpy(dp_info.dpcd, dig_connector->dpcd, DP_RECEIVER_CAP_SIZE); in radeon_dp_link_train()
840 dp_info.dp_lane_count = dig_connector->dp_lane_count; in radeon_dp_link_train()
841 dp_info.dp_clock = dig_connector->dp_clock; in radeon_dp_link_train()