Lines Matching defs:connector
303 /* set the active encoder to connector routing */
336 struct drm_connector *connector = radeon_get_connector_for_encoder(encoder);
337 radeon_dp_set_link_config(connector, adjusted_mode);
675 struct drm_connector *connector;
688 connector = radeon_get_connector_for_encoder(encoder);
692 if (!connector)
693 connector = radeon_get_connector_for_encoder_init(encoder);
694 radeon_connector = to_radeon_connector(connector);
696 switch (connector->connector_type) {
703 else if (drm_detect_hdmi_monitor(radeon_connector_edid(connector)) &&
722 else if (drm_detect_hdmi_monitor(radeon_connector_edid(connector)) &&
739 drm_detect_monitor_audio(radeon_connector_edid(connector)) &&
746 else if (drm_detect_hdmi_monitor(radeon_connector_edid(connector)) &&
757 drm_detect_monitor_audio(radeon_connector_edid(connector)) &&
836 struct drm_connector *connector = radeon_get_connector_for_encoder(encoder);
844 if (connector) {
845 struct radeon_connector *radeon_connector = to_radeon_connector(connector);
1006 struct drm_connector *connector;
1020 connector = radeon_get_connector_for_encoder_init(encoder);
1026 connector = radeon_get_connector_for_encoder(encoder);
1028 if (connector) {
1029 struct radeon_connector *radeon_connector = to_radeon_connector(connector);
1373 atombios_set_edp_panel_power(struct drm_connector *connector, int action)
1375 struct radeon_connector *radeon_connector = to_radeon_connector(connector);
1382 if (connector->connector_type != DRM_MODE_CONNECTOR_eDP)
1431 struct drm_connector *connector;
1440 connector = radeon_get_connector_for_encoder_init(encoder);
1442 connector = radeon_get_connector_for_encoder(encoder);
1444 if (connector) {
1445 struct radeon_connector *radeon_connector = to_radeon_connector(connector);
1656 struct drm_connector *connector = radeon_get_connector_for_encoder(encoder);
1661 if (connector) {
1662 radeon_connector = to_radeon_connector(connector);
1664 if ((radeon_connector_encoder_get_dp_bridge_encoder_id(connector) ==
1674 if (!connector)
1677 dig->panel_mode = radeon_dp_get_panel_mode(encoder, connector);
1697 if (ENCODER_MODE_IS_DP(atombios_get_encoder_mode(encoder)) && connector) {
1698 if (connector->connector_type == DRM_MODE_CONNECTOR_eDP) {
1699 atombios_set_edp_panel_power(connector,
1706 if (ENCODER_MODE_IS_DP(atombios_get_encoder_mode(encoder)) && connector) {
1708 radeon_dp_link_train(encoder, connector);
1727 if (ENCODER_MODE_IS_DP(atombios_get_encoder_mode(encoder)) && connector)
1737 connector && !travis_quirk)
1738 radeon_dp_set_rx_power_state(connector, DP_SET_POWER_D3);
1749 if (ENCODER_MODE_IS_DP(atombios_get_encoder_mode(encoder)) && connector) {
1751 radeon_dp_set_rx_power_state(connector, DP_SET_POWER_D3);
1752 if (connector->connector_type == DRM_MODE_CONNECTOR_eDP) {
1753 atombios_set_edp_panel_power(connector,
1913 struct drm_connector *connector = radeon_get_connector_for_encoder(encoder);
1915 if (connector->connector_type == DRM_MODE_CONNECTOR_LVDS)
1917 else if (connector->connector_type == DRM_MODE_CONNECTOR_VGA)
2213 struct drm_connector *connector = radeon_get_connector_for_encoder(encoder);
2264 if (connector && (radeon_audio != 0) &&
2271 atombios_dac_load_detect(struct drm_encoder *encoder, struct drm_connector *connector)
2276 struct radeon_connector *radeon_connector = to_radeon_connector(connector);
2320 radeon_atom_dac_detect(struct drm_encoder *encoder, struct drm_connector *connector)
2325 struct radeon_connector *radeon_connector = to_radeon_connector(connector);
2328 if (!atombios_dac_load_detect(encoder, connector)) {
2361 radeon_atom_dig_detect(struct drm_encoder *encoder, struct drm_connector *connector)
2366 struct radeon_connector *radeon_connector = to_radeon_connector(connector);
2423 struct drm_connector *connector = radeon_get_connector_for_encoder(encoder);
2446 if (connector) {
2447 struct radeon_connector *radeon_connector = to_radeon_connector(connector);
2454 if (connector->connector_type == DRM_MODE_CONNECTOR_eDP)
2455 atombios_set_edp_panel_power(connector,
2488 * the encoder if it's in use by another connector