radeon_connector 612 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 614 drivers/gpu/drm/radeon/atombios_crtc.c radeon_connector->con_priv; radeon_connector 982 drivers/gpu/drm/radeon/atombios_crtc.c struct radeon_connector *radeon_connector = radeon_connector 985 drivers/gpu/drm/radeon/atombios_crtc.c radeon_connector->con_priv; radeon_connector 989 drivers/gpu/drm/radeon/atombios_crtc.c radeon_connector->pixelclock_for_modeset = mode->clock; radeon_connector 227 drivers/gpu/drm/radeon/atombios_dp.c void radeon_dp_aux_init(struct radeon_connector *radeon_connector) radeon_connector 229 drivers/gpu/drm/radeon/atombios_dp.c struct drm_device *dev = radeon_connector->base.dev; radeon_connector 233 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->rec.hpd = radeon_connector->hpd.hpd; radeon_connector 234 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->aux.dev = radeon_connector->base.kdev; radeon_connector 237 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_native; radeon_connector 239 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; radeon_connector 241 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->aux.transfer = radeon_dp_aux_transfer_atom; radeon_connector 244 drivers/gpu/drm/radeon/atombios_dp.c ret = drm_dp_aux_register(&radeon_connector->ddc_bus->aux); radeon_connector 246 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->has_aux = true; radeon_connector 360 drivers/gpu/drm/radeon/atombios_dp.c u8 radeon_dp_getsinktype(struct radeon_connector *radeon_connector) radeon_connector 362 drivers/gpu/drm/radeon/atombios_dp.c struct drm_device *dev = radeon_connector->base.dev; radeon_connector 366 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector->ddc_bus->rec.i2c_id, 0); radeon_connector 369 drivers/gpu/drm/radeon/atombios_dp.c static void radeon_dp_probe_oui(struct radeon_connector *radeon_connector) radeon_connector 371 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; radeon_connector 377 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_SINK_OUI, buf, 3) == 3) radeon_connector 381 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_BRANCH_OUI, buf, 3) == 3) radeon_connector 386 drivers/gpu/drm/radeon/atombios_dp.c bool radeon_dp_getdpcd(struct radeon_connector *radeon_connector) radeon_connector 388 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; radeon_connector 392 drivers/gpu/drm/radeon/atombios_dp.c ret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_DPCD_REV, msg, radeon_connector 400 drivers/gpu/drm/radeon/atombios_dp.c radeon_dp_probe_oui(radeon_connector); radeon_connector 414 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 423 drivers/gpu/drm/radeon/atombios_dp.c if (!radeon_connector->con_priv) radeon_connector 426 drivers/gpu/drm/radeon/atombios_dp.c dig_connector = radeon_connector->con_priv; radeon_connector 430 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, radeon_connector 442 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, radeon_connector 455 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 459 drivers/gpu/drm/radeon/atombios_dp.c if (!radeon_connector->con_priv) radeon_connector 461 drivers/gpu/drm/radeon/atombios_dp.c dig_connector = radeon_connector->con_priv; radeon_connector 479 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 488 drivers/gpu/drm/radeon/atombios_dp.c if (!radeon_connector->con_priv) radeon_connector 490 drivers/gpu/drm/radeon/atombios_dp.c dig_connector = radeon_connector->con_priv; radeon_connector 506 drivers/gpu/drm/radeon/atombios_dp.c bool radeon_dp_needs_link_train(struct radeon_connector *radeon_connector) radeon_connector 509 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_connector_atom_dig *dig = radeon_connector->con_priv; radeon_connector 511 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_read_link_status(&radeon_connector->ddc_bus->aux, link_status) radeon_connector 522 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 525 drivers/gpu/drm/radeon/atombios_dp.c if (!radeon_connector->con_priv) radeon_connector 528 drivers/gpu/drm/radeon/atombios_dp.c dig_connector = radeon_connector->con_priv; radeon_connector 532 drivers/gpu/drm/radeon/atombios_dp.c drm_dp_dpcd_writeb(&radeon_connector->ddc_bus->aux, radeon_connector 793 drivers/gpu/drm/radeon/atombios_dp.c struct radeon_connector *radeon_connector; radeon_connector 803 drivers/gpu/drm/radeon/atombios_dp.c radeon_connector = to_radeon_connector(connector); radeon_connector 804 drivers/gpu/drm/radeon/atombios_dp.c if (!radeon_connector->con_priv) radeon_connector 806 drivers/gpu/drm/radeon/atombios_dp.c dig_connector = radeon_connector->con_priv; radeon_connector 834 drivers/gpu/drm/radeon/atombios_dp.c if (drm_dp_dpcd_readb(&radeon_connector->ddc_bus->aux, DP_MAX_LANE_COUNT, &tmp) radeon_connector 850 drivers/gpu/drm/radeon/atombios_dp.c dp_info.aux = &radeon_connector->ddc_bus->aux; radeon_connector 684 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_connector *radeon_connector; radeon_connector 710 drivers/gpu/drm/radeon/atombios_encoders.c radeon_connector = to_radeon_connector(connector); radeon_connector 716 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->use_digital && radeon_connector 717 drivers/gpu/drm/radeon/atombios_encoders.c (radeon_connector->audio == RADEON_AUDIO_ENABLE)) radeon_connector 720 drivers/gpu/drm/radeon/atombios_encoders.c (radeon_connector->audio == RADEON_AUDIO_AUTO)) radeon_connector 722 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_connector->use_digital) radeon_connector 726 drivers/gpu/drm/radeon/atombios_encoders.c } else if (radeon_connector->use_digital) { radeon_connector 736 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->audio == RADEON_AUDIO_ENABLE) radeon_connector 739 drivers/gpu/drm/radeon/atombios_encoders.c (radeon_connector->audio == RADEON_AUDIO_AUTO)) radeon_connector 751 drivers/gpu/drm/radeon/atombios_encoders.c dig_connector = radeon_connector->con_priv; radeon_connector 760 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->audio == RADEON_AUDIO_ENABLE) radeon_connector 763 drivers/gpu/drm/radeon/atombios_encoders.c (radeon_connector->audio == RADEON_AUDIO_AUTO)) radeon_connector 861 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 863 drivers/gpu/drm/radeon/atombios_encoders.c radeon_connector->con_priv; radeon_connector 867 drivers/gpu/drm/radeon/atombios_encoders.c hpd_id = radeon_connector->hpd.hpd; radeon_connector 1045 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1047 drivers/gpu/drm/radeon/atombios_encoders.c radeon_connector->con_priv; radeon_connector 1049 drivers/gpu/drm/radeon/atombios_encoders.c hpd_id = radeon_connector->hpd.hpd; radeon_connector 1053 drivers/gpu/drm/radeon/atombios_encoders.c (radeon_connector->connector_object_id & OBJECT_ID_MASK) >> OBJECT_ID_SHIFT; radeon_connector 1391 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1392 drivers/gpu/drm/radeon/atombios_encoders.c struct drm_device *dev = radeon_connector->base.dev; radeon_connector 1422 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_hpd_sense(rdev, radeon_connector->hpd.hpd)) radeon_connector 1461 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1463 drivers/gpu/drm/radeon/atombios_encoders.c radeon_connector->con_priv; radeon_connector 1468 drivers/gpu/drm/radeon/atombios_encoders.c (radeon_connector->connector_object_id & OBJECT_ID_MASK) >> OBJECT_ID_SHIFT; radeon_connector 1673 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_connector *radeon_connector = NULL; radeon_connector 1678 drivers/gpu/drm/radeon/atombios_encoders.c radeon_connector = to_radeon_connector(connector); radeon_connector 1679 drivers/gpu/drm/radeon/atombios_encoders.c radeon_dig_connector = radeon_connector->con_priv; radeon_connector 2344 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 2366 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->devices & ATOM_DEVICE_CRT1_SUPPORT) radeon_connector 2368 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_connector->devices & ATOM_DEVICE_CRT2_SUPPORT) radeon_connector 2370 drivers/gpu/drm/radeon/atombios_encoders.c else if (radeon_connector->devices & ATOM_DEVICE_CV_SUPPORT) { radeon_connector 2374 drivers/gpu/drm/radeon/atombios_encoders.c } else if (radeon_connector->devices & ATOM_DEVICE_TV1_SUPPORT) { radeon_connector 2393 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 2407 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->devices & ATOM_DEVICE_CRT1_SUPPORT) { radeon_connector 2411 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->devices & ATOM_DEVICE_CRT2_SUPPORT) { radeon_connector 2415 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->devices & ATOM_DEVICE_CV_SUPPORT) { radeon_connector 2419 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->devices & ATOM_DEVICE_TV1_SUPPORT) { radeon_connector 2434 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 2444 drivers/gpu/drm/radeon/atombios_encoders.c if ((radeon_connector->devices & ATOM_DEVICE_CRT_SUPPORT) == 0) radeon_connector 2454 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->devices & ATOM_DEVICE_CRT1_SUPPORT) { radeon_connector 2458 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->devices & ATOM_DEVICE_CRT2_SUPPORT) { radeon_connector 2462 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->devices & ATOM_DEVICE_CV_SUPPORT) { radeon_connector 2466 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->devices & ATOM_DEVICE_TV1_SUPPORT) { radeon_connector 2515 drivers/gpu/drm/radeon/atombios_encoders.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 2518 drivers/gpu/drm/radeon/atombios_encoders.c if (radeon_connector->router.cd_valid) radeon_connector 2519 drivers/gpu/drm/radeon/atombios_encoders.c radeon_router_select_cd_port(radeon_connector); radeon_connector 8756 drivers/gpu/drm/radeon/cik.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 8758 drivers/gpu/drm/radeon/cik.c dither = radeon_connector->dither; radeon_connector 1307 drivers/gpu/drm/radeon/evergreen.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1309 drivers/gpu/drm/radeon/evergreen.c dither = radeon_connector->dither; radeon_connector 454 drivers/gpu/drm/radeon/evergreen_hdmi.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 464 drivers/gpu/drm/radeon/evergreen_hdmi.c if (!ASIC_IS_DCE6(rdev) && radeon_connector->con_priv) { radeon_connector 465 drivers/gpu/drm/radeon/evergreen_hdmi.c dig_connector = radeon_connector->con_priv; radeon_connector 600 drivers/gpu/drm/radeon/r100.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 601 drivers/gpu/drm/radeon/r100.c if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) radeon_connector 602 drivers/gpu/drm/radeon/r100.c enable |= 1 << radeon_connector->hpd.hpd; radeon_connector 603 drivers/gpu/drm/radeon/r100.c radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd); radeon_connector 623 drivers/gpu/drm/radeon/r100.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 624 drivers/gpu/drm/radeon/r100.c if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) radeon_connector 625 drivers/gpu/drm/radeon/r100.c disable |= 1 << radeon_connector->hpd.hpd; radeon_connector 308 drivers/gpu/drm/radeon/r600.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 310 drivers/gpu/drm/radeon/r600.c dither = radeon_connector->dither; radeon_connector 958 drivers/gpu/drm/radeon/r600.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 973 drivers/gpu/drm/radeon/r600.c switch (radeon_connector->hpd.hpd) { radeon_connector 997 drivers/gpu/drm/radeon/r600.c switch (radeon_connector->hpd.hpd) { radeon_connector 1011 drivers/gpu/drm/radeon/r600.c if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) radeon_connector 1012 drivers/gpu/drm/radeon/r600.c enable |= 1 << radeon_connector->hpd.hpd; radeon_connector 1013 drivers/gpu/drm/radeon/r600.c radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd); radeon_connector 1025 drivers/gpu/drm/radeon/r600.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1027 drivers/gpu/drm/radeon/r600.c switch (radeon_connector->hpd.hpd) { radeon_connector 1051 drivers/gpu/drm/radeon/r600.c switch (radeon_connector->hpd.hpd) { radeon_connector 1065 drivers/gpu/drm/radeon/r600.c if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) radeon_connector 1066 drivers/gpu/drm/radeon/r600.c disable |= 1 << radeon_connector->hpd.hpd; radeon_connector 4170 drivers/gpu/drm/radeon/radeon_atombios.c struct radeon_connector *radeon_connector = radeon_connector 4186 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_TV1_SUPPORT)) { radeon_connector 4199 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_CV_SUPPORT)) { radeon_connector 4212 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_LCD1_SUPPORT)) { radeon_connector 4226 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_CRT1_SUPPORT)) { radeon_connector 4240 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_CRT2_SUPPORT)) { radeon_connector 4254 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_DFP1_SUPPORT)) { radeon_connector 4268 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_DFP2_SUPPORT)) { radeon_connector 4282 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_DFP3_SUPPORT)) { radeon_connector 4296 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_DFP4_SUPPORT)) { radeon_connector 4310 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_DFP5_SUPPORT)) { radeon_connector 4324 drivers/gpu/drm/radeon/radeon_atombios.c (radeon_connector->devices & ATOM_DEVICE_DFP6_SUPPORT)) { radeon_connector 457 drivers/gpu/drm/radeon/radeon_audio.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 459 drivers/gpu/drm/radeon/radeon_audio.c if (radeon_dp_getsinktype(radeon_connector) == radeon_connector 3464 drivers/gpu/drm/radeon/radeon_combios.c struct radeon_connector *radeon_connector = radeon_connector 3471 drivers/gpu/drm/radeon/radeon_combios.c (radeon_connector->devices & ATOM_DEVICE_TV1_SUPPORT)) { radeon_connector 3487 drivers/gpu/drm/radeon/radeon_combios.c (radeon_connector->devices & ATOM_DEVICE_LCD1_SUPPORT)) { radeon_connector 3501 drivers/gpu/drm/radeon/radeon_combios.c (radeon_connector->devices & ATOM_DEVICE_CRT1_SUPPORT)) { radeon_connector 3515 drivers/gpu/drm/radeon/radeon_combios.c (radeon_connector->devices & ATOM_DEVICE_CRT2_SUPPORT)) { radeon_connector 3529 drivers/gpu/drm/radeon/radeon_combios.c (radeon_connector->devices & ATOM_DEVICE_DFP1_SUPPORT)) { radeon_connector 3543 drivers/gpu/drm/radeon/radeon_combios.c (radeon_connector->devices & ATOM_DEVICE_DFP2_SUPPORT)) { radeon_connector 42 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 45 drivers/gpu/drm/radeon/radeon_connectors.c ret = radeon_dp_mst_check_status(radeon_connector); radeon_connector 54 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 58 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->con_priv; radeon_connector 60 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->is_mst_connector) radeon_connector 70 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->hpd.hpd == RADEON_HPD_NONE) radeon_connector 73 drivers/gpu/drm/radeon/radeon_connectors.c radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd); radeon_connector 83 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->con_priv; radeon_connector 90 drivers/gpu/drm/radeon/radeon_connectors.c dig_connector->dp_sink_type = radeon_dp_getsinktype(radeon_connector); radeon_connector 95 drivers/gpu/drm/radeon/radeon_connectors.c radeon_hpd_sense(rdev, radeon_connector->hpd.hpd) && radeon_connector 96 drivers/gpu/drm/radeon/radeon_connectors.c radeon_dp_needs_link_train(radeon_connector)) { radeon_connector 98 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_dp_getdpcd(radeon_connector)) radeon_connector 124 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 132 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->use_digital) { radeon_connector 147 drivers/gpu/drm/radeon/radeon_connectors.c dig_connector = radeon_connector->con_priv; radeon_connector 197 drivers/gpu/drm/radeon/radeon_connectors.c mode_clock = radeon_connector->pixelclock_for_modeset; radeon_connector 284 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 287 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->edid) { radeon_connector 288 drivers/gpu/drm/radeon/radeon_connectors.c return radeon_connector->edid; radeon_connector 292 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->edid = edid; radeon_connector 294 drivers/gpu/drm/radeon/radeon_connectors.c return radeon_connector->edid; radeon_connector 301 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 303 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->edid) radeon_connector 307 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->router.ddc_valid) radeon_connector 308 drivers/gpu/drm/radeon/radeon_connectors.c radeon_router_select_ddc_port(radeon_connector); radeon_connector 312 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus->has_aux) { radeon_connector 313 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->edid = drm_get_edid(connector, radeon_connector 314 drivers/gpu/drm/radeon/radeon_connectors.c &radeon_connector->ddc_bus->aux.ddc); radeon_connector 317 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector_atom_dig *dig = radeon_connector->con_priv; radeon_connector 321 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus->has_aux) radeon_connector 322 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->edid = drm_get_edid(&radeon_connector->base, radeon_connector 323 drivers/gpu/drm/radeon/radeon_connectors.c &radeon_connector->ddc_bus->aux.ddc); radeon_connector 324 drivers/gpu/drm/radeon/radeon_connectors.c else if (radeon_connector->ddc_bus) radeon_connector 325 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->edid = drm_get_edid(&radeon_connector->base, radeon_connector 326 drivers/gpu/drm/radeon/radeon_connectors.c &radeon_connector->ddc_bus->adapter); radeon_connector 329 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus) { radeon_connector 330 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->edid = drm_get_edid_switcheroo(&radeon_connector->base, radeon_connector 331 drivers/gpu/drm/radeon/radeon_connectors.c &radeon_connector->ddc_bus->adapter); radeon_connector 332 drivers/gpu/drm/radeon/radeon_connectors.c } else if (radeon_connector->ddc_bus) { radeon_connector 333 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->edid = drm_get_edid(&radeon_connector->base, radeon_connector 334 drivers/gpu/drm/radeon/radeon_connectors.c &radeon_connector->ddc_bus->adapter); radeon_connector 337 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->edid) { radeon_connector 348 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->edid = radeon_bios_get_hardcoded_edid(rdev); radeon_connector 351 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->edid = radeon_bios_get_hardcoded_edid(rdev); radeon_connector 358 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 360 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->edid) { radeon_connector 361 drivers/gpu/drm/radeon/radeon_connectors.c kfree(radeon_connector->edid); radeon_connector 362 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->edid = NULL; radeon_connector 368 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 371 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->edid) { radeon_connector 372 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_update_edid_property(connector, radeon_connector->edid); radeon_connector 373 drivers/gpu/drm/radeon/radeon_connectors.c ret = drm_add_edid_modes(connector, radeon_connector->edid); radeon_connector 427 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_conflict; radeon_connector 582 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 590 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->audio != val) { radeon_connector 591 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->audio = val; radeon_connector 597 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 605 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->dither != val) { radeon_connector 606 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dither = val; radeon_connector 678 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = radeon_connector 682 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = false; radeon_connector 684 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 879 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 906 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->edid) radeon_connector 922 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 924 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->ddc_bus && radeon_connector->ddc_bus->has_aux) { radeon_connector 925 drivers/gpu/drm/radeon/radeon_connectors.c drm_dp_aux_unregister(&radeon_connector->ddc_bus->aux); radeon_connector 926 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus->has_aux = false; radeon_connector 932 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 935 drivers/gpu/drm/radeon/radeon_connectors.c kfree(radeon_connector->con_priv); radeon_connector 1023 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1040 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->ddc_bus) radeon_connector 1041 drivers/gpu/drm/radeon/radeon_connectors.c dret = radeon_ddc_probe(radeon_connector, false); radeon_connector 1043 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->detected_by_load = false; radeon_connector 1047 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->edid) { radeon_connector 1052 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->use_digital = radeon_connector 1053 drivers/gpu/drm/radeon/radeon_connectors.c !!(radeon_connector->edid->input & DRM_EDID_INPUT_DIGITAL); radeon_connector 1058 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->use_digital && radeon_connector->shared_ddc) { radeon_connector 1072 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->detected_by_load) radeon_connector 1077 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->dac_load_detect && encoder) { radeon_connector 1081 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->detected_by_load = true; radeon_connector 1161 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1165 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->dac_load_detect) radeon_connector 1212 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1217 drivers/gpu/drm/radeon/radeon_connectors.c && radeon_connector->hpd.hpd != RADEON_HPD_NONE) { radeon_connector 1218 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_hpd_sense(rdev, radeon_connector->hpd.hpd)) radeon_connector 1245 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1258 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->detected_hpd_without_ddc) { radeon_connector 1260 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->detected_hpd_without_ddc = false; radeon_connector 1268 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->ddc_bus) { radeon_connector 1269 drivers/gpu/drm/radeon/radeon_connectors.c dret = radeon_ddc_probe(radeon_connector, false); radeon_connector 1278 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->detected_hpd_without_ddc = true; radeon_connector 1285 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->detected_by_load = false; radeon_connector 1289 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->edid) { radeon_connector 1295 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->base.null_edid_counter) { radeon_connector 1299 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = NULL; radeon_connector 1305 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->use_digital = radeon_connector 1306 drivers/gpu/drm/radeon/radeon_connectors.c !!(radeon_connector->edid->input & DRM_EDID_INPUT_DIGITAL); radeon_connector 1311 drivers/gpu/drm/radeon/radeon_connectors.c if ((!radeon_connector->use_digital) && radeon_connector->shared_ddc) { radeon_connector 1322 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->shared_ddc && (ret == connector_status_connected)) { radeon_connector 1324 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *list_radeon_connector; radeon_connector 1331 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus->rec.i2c_id)) { radeon_connector 1335 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_hpd_sense(rdev, radeon_connector->hpd.hpd)) { radeon_connector 1346 drivers/gpu/drm/radeon/radeon_connectors.c if ((ret == connector_status_connected) && (radeon_connector->use_digital == true)) radeon_connector 1359 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->detected_by_load) radeon_connector 1365 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->dac_load_detect) { radeon_connector 1380 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->use_digital = false; radeon_connector 1383 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->detected_by_load = true; radeon_connector 1388 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->use_digital = true; radeon_connector 1392 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->use_digital = false; radeon_connector 1399 drivers/gpu/drm/radeon/radeon_connectors.c if ((ret == connector_status_connected) && (radeon_connector->use_digital == false) && radeon_connector 1414 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->use_digital = true; radeon_connector 1421 drivers/gpu/drm/radeon/radeon_connectors.c if ((radeon_audio != 0) && radeon_connector->use_digital) { radeon_connector 1444 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1449 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->use_digital == true) { radeon_connector 1471 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1473 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->use_digital = false; radeon_connector 1475 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->use_digital = true; radeon_connector 1483 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1488 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->use_digital && radeon_connector 1493 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->use_digital && (mode->clock > 165000)) { radeon_connector 1494 drivers/gpu/drm/radeon/radeon_connectors.c if ((radeon_connector->connector_object_id == CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_I) || radeon_connector 1495 drivers/gpu/drm/radeon/radeon_connectors.c (radeon_connector->connector_object_id == CONNECTOR_OBJECT_ID_DUAL_LINK_DVI_D) || radeon_connector 1496 drivers/gpu/drm/radeon/radeon_connectors.c (radeon_connector->connector_object_id == CONNECTOR_OBJECT_ID_HDMI_TYPE_B)) radeon_connector 1534 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1535 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector_atom_dig *radeon_dig_connector = radeon_connector->con_priv; radeon_connector 1658 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1660 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector_atom_dig *radeon_dig_connector = radeon_connector->con_priv; radeon_connector 1700 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_dp_getdpcd(radeon_connector)) radeon_connector 1710 drivers/gpu/drm/radeon/radeon_connectors.c radeon_dp_getdpcd(radeon_connector); radeon_connector 1716 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_ddc_probe(radeon_connector, true)) /* try DDC */ radeon_connector 1718 drivers/gpu/drm/radeon/radeon_connectors.c else if (radeon_connector->dac_load_detect) { /* try load detection */ radeon_connector 1724 drivers/gpu/drm/radeon/radeon_connectors.c radeon_dig_connector->dp_sink_type = radeon_dp_getsinktype(radeon_connector); radeon_connector 1725 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_hpd_sense(rdev, radeon_connector->hpd.hpd)) { radeon_connector 1728 drivers/gpu/drm/radeon/radeon_connectors.c radeon_dp_getdpcd(radeon_connector); radeon_connector 1729 drivers/gpu/drm/radeon/radeon_connectors.c r = radeon_dp_mst_probe(radeon_connector); radeon_connector 1735 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_dp_getdpcd(radeon_connector)) { radeon_connector 1736 drivers/gpu/drm/radeon/radeon_connectors.c r = radeon_dp_mst_probe(radeon_connector); radeon_connector 1744 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_ddc_probe(radeon_connector, false)) radeon_connector 1771 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 1772 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector_atom_dig *radeon_dig_connector = radeon_connector->con_priv; radeon_connector 1869 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector; radeon_connector 1890 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector = to_radeon_connector(connector); radeon_connector 1891 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->connector_id == connector_id) { radeon_connector 1892 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->devices |= supported_device; radeon_connector 1895 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->ddc_bus && i2c_bus->valid) { radeon_connector 1896 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->ddc_bus->rec.i2c_id == i2c_bus->i2c_id) { radeon_connector 1897 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->shared_ddc = true; radeon_connector 1900 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->router_bus && router->ddc_valid && radeon_connector 1901 drivers/gpu/drm/radeon/radeon_connectors.c (radeon_connector->router.router_id == router->router_id)) { radeon_connector 1902 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->shared_ddc = false; radeon_connector 1923 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector = kzalloc(sizeof(struct radeon_connector), GFP_KERNEL); radeon_connector 1924 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector) radeon_connector 1927 drivers/gpu/drm/radeon/radeon_connectors.c connector = &radeon_connector->base; radeon_connector 1929 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->connector_id = connector_id; radeon_connector 1930 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->devices = supported_device; radeon_connector 1931 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->shared_ddc = shared_ddc; radeon_connector 1932 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->connector_object_id = connector_object_id; radeon_connector 1933 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->hpd = *hpd; radeon_connector 1935 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->router = *router; radeon_connector 1937 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->router_bus = radeon_i2c_lookup(rdev, &router->i2c_info); radeon_connector 1938 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->router_bus) radeon_connector 1947 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->con_priv = radeon_dig_connector; radeon_connector 1949 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 1950 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->ddc_bus) radeon_connector 1959 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, radeon_connector 1961 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, radeon_connector 1965 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 1966 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 1969 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 1973 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 1982 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, radeon_connector 1984 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, radeon_connector 1986 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 1989 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 1992 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 1996 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2000 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2005 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2008 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->audio = RADEON_AUDIO_AUTO; radeon_connector 2011 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2022 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 2023 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2030 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, radeon_connector 2032 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, radeon_connector 2034 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2045 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_vga_connector_funcs, connector_type); radeon_connector 2046 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_vga_connector_helper_funcs); radeon_connector 2048 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2049 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->ddc_bus) radeon_connector 2052 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 2053 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2057 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2061 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2065 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->hpd.hpd = RADEON_HPD_NONE; radeon_connector 2070 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_vga_connector_funcs, connector_type); radeon_connector 2071 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_vga_connector_helper_funcs); radeon_connector 2073 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2074 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->ddc_bus) radeon_connector 2077 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 2078 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2082 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2086 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2090 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->hpd.hpd = RADEON_HPD_NONE; radeon_connector 2100 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->con_priv = radeon_dig_connector; radeon_connector 2101 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_dvi_connector_funcs, connector_type); radeon_connector 2102 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_dvi_connector_helper_funcs); radeon_connector 2104 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2105 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->ddc_bus) radeon_connector 2109 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2113 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2116 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2119 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2122 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2125 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2130 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2133 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->audio = RADEON_AUDIO_AUTO; radeon_connector 2136 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 2137 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2142 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2157 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->con_priv = radeon_dig_connector; radeon_connector 2158 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_dvi_connector_funcs, connector_type); radeon_connector 2159 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_dvi_connector_helper_funcs); radeon_connector 2161 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2162 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->ddc_bus) radeon_connector 2165 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2169 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2172 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2175 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2178 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2181 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2186 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2189 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->audio = RADEON_AUDIO_AUTO; radeon_connector 2192 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2207 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->con_priv = radeon_dig_connector; radeon_connector 2208 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_dp_connector_funcs, connector_type); radeon_connector 2209 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_dp_connector_helper_funcs); radeon_connector 2211 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2212 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->ddc_bus) radeon_connector 2218 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2222 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2225 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2228 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2231 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2234 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2239 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2242 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->audio = RADEON_AUDIO_AUTO; radeon_connector 2245 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2257 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->con_priv = radeon_dig_connector; radeon_connector 2258 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_edp_connector_funcs, connector_type); radeon_connector 2259 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_dp_connector_helper_funcs); radeon_connector 2261 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2262 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->ddc_bus) radeon_connector 2267 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2277 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_tv_connector_funcs, connector_type); radeon_connector 2278 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_tv_connector_helper_funcs); radeon_connector 2279 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 2280 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2283 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2287 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->hpd.hpd = RADEON_HPD_NONE; radeon_connector 2296 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->con_priv = radeon_dig_connector; radeon_connector 2297 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_lvds_connector_funcs, connector_type); radeon_connector 2298 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_lvds_connector_helper_funcs); radeon_connector 2300 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2301 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->ddc_bus) radeon_connector 2304 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2314 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->hpd.hpd == RADEON_HPD_NONE) { radeon_connector 2326 drivers/gpu/drm/radeon/radeon_connectors.c radeon_dp_aux_init(radeon_connector); radeon_connector 2346 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector; radeon_connector 2361 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector = to_radeon_connector(connector); radeon_connector 2362 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->connector_id == connector_id) { radeon_connector 2363 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->devices |= supported_device; radeon_connector 2368 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector = kzalloc(sizeof(struct radeon_connector), GFP_KERNEL); radeon_connector 2369 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector) radeon_connector 2372 drivers/gpu/drm/radeon/radeon_connectors.c connector = &radeon_connector->base; radeon_connector 2374 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->connector_id = connector_id; radeon_connector 2375 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->devices = supported_device; radeon_connector 2376 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->connector_object_id = connector_object_id; radeon_connector 2377 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->hpd = *hpd; radeon_connector 2381 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_vga_connector_funcs, connector_type); radeon_connector 2382 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_vga_connector_helper_funcs); radeon_connector 2384 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2385 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->ddc_bus) radeon_connector 2388 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 2389 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2393 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->hpd.hpd = RADEON_HPD_NONE; radeon_connector 2398 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_vga_connector_funcs, connector_type); radeon_connector 2399 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_vga_connector_helper_funcs); radeon_connector 2401 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2402 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->ddc_bus) radeon_connector 2405 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 2406 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2410 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->hpd.hpd = RADEON_HPD_NONE; radeon_connector 2416 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_dvi_connector_funcs, connector_type); radeon_connector 2417 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_dvi_connector_helper_funcs); radeon_connector 2419 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2420 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->ddc_bus) radeon_connector 2424 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 2425 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2439 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_tv_connector_funcs, connector_type); radeon_connector 2440 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_tv_connector_helper_funcs); radeon_connector 2441 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = true; radeon_connector 2448 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect = false; radeon_connector 2449 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2451 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->dac_load_detect); radeon_connector 2452 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2456 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->hpd.hpd = RADEON_HPD_NONE; radeon_connector 2461 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_init(dev, &radeon_connector->base, &radeon_lvds_connector_funcs, connector_type); radeon_connector 2462 drivers/gpu/drm/radeon/radeon_connectors.c drm_connector_helper_add(&radeon_connector->base, &radeon_lvds_connector_helper_funcs); radeon_connector 2464 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector->ddc_bus = radeon_i2c_lookup(rdev, i2c_bus); radeon_connector 2465 drivers/gpu/drm/radeon/radeon_connectors.c if (!radeon_connector->ddc_bus) radeon_connector 2468 drivers/gpu/drm/radeon/radeon_connectors.c drm_object_attach_property(&radeon_connector->base.base, radeon_connector 2477 drivers/gpu/drm/radeon/radeon_connectors.c if (radeon_connector->hpd.hpd == RADEON_HPD_NONE) { radeon_connector 2493 drivers/gpu/drm/radeon/radeon_connectors.c struct radeon_connector *radeon_connector; radeon_connector 2504 drivers/gpu/drm/radeon/radeon_connectors.c radeon_connector = to_radeon_connector(connector); radeon_connector 2509 drivers/gpu/drm/radeon/radeon_connectors.c ret = radeon_dp_mst_init(radeon_connector); radeon_connector 771 drivers/gpu/drm/radeon/radeon_display.c struct radeon_connector *radeon_connector; radeon_connector 779 drivers/gpu/drm/radeon/radeon_display.c radeon_connector = to_radeon_connector(connector); radeon_connector 782 drivers/gpu/drm/radeon/radeon_display.c if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) radeon_connector 783 drivers/gpu/drm/radeon/radeon_display.c DRM_INFO(" %s\n", hpd_names[radeon_connector->hpd.hpd]); radeon_connector 784 drivers/gpu/drm/radeon/radeon_display.c if (radeon_connector->ddc_bus) { radeon_connector 786 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->ddc_bus->rec.mask_clk_reg, radeon_connector 787 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->ddc_bus->rec.mask_data_reg, radeon_connector 788 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->ddc_bus->rec.a_clk_reg, radeon_connector 789 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->ddc_bus->rec.a_data_reg, radeon_connector 790 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->ddc_bus->rec.en_clk_reg, radeon_connector 791 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->ddc_bus->rec.en_data_reg, radeon_connector 792 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->ddc_bus->rec.y_clk_reg, radeon_connector 793 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->ddc_bus->rec.y_data_reg); radeon_connector 794 drivers/gpu/drm/radeon/radeon_display.c if (radeon_connector->router.ddc_valid) radeon_connector 796 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->router.ddc_mux_control_pin, radeon_connector 797 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->router.ddc_mux_state); radeon_connector 798 drivers/gpu/drm/radeon/radeon_display.c if (radeon_connector->router.cd_valid) radeon_connector 800 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->router.cd_mux_control_pin, radeon_connector 801 drivers/gpu/drm/radeon/radeon_display.c radeon_connector->router.cd_mux_state); radeon_connector 814 drivers/gpu/drm/radeon/radeon_display.c devices = radeon_encoder->devices & radeon_connector->devices; radeon_connector 1692 drivers/gpu/drm/radeon/radeon_display.c struct radeon_connector *radeon_connector; radeon_connector 1705 drivers/gpu/drm/radeon/radeon_display.c radeon_connector = to_radeon_connector(connector); radeon_connector 13 drivers/gpu/drm/radeon/radeon_dp_mst.c static struct radeon_encoder *radeon_dp_create_fake_mst_encoder(struct radeon_connector *connector); radeon_connector 113 drivers/gpu/drm/radeon/radeon_dp_mst.c static int radeon_dp_mst_update_stream_attribs(struct radeon_connector *mst_conn, radeon_connector 120 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector; radeon_connector 128 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector = to_radeon_connector(connector); radeon_connector 129 drivers/gpu/drm/radeon/radeon_dp_mst.c if (!radeon_connector->is_mst_connector) radeon_connector 132 drivers/gpu/drm/radeon/radeon_dp_mst.c if (radeon_connector->mst_port != mst_conn) radeon_connector 135 drivers/gpu/drm/radeon/radeon_dp_mst.c subenc = radeon_connector->mst_encoder; radeon_connector 191 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 192 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *master = radeon_connector->mst_port; radeon_connector 196 drivers/gpu/drm/radeon/radeon_dp_mst.c edid = drm_dp_mst_get_edid(connector, &master->mst_mgr, radeon_connector->port); radeon_connector 197 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->edid = edid; radeon_connector 199 drivers/gpu/drm/radeon/radeon_dp_mst.c if (radeon_connector->edid) { radeon_connector 200 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_connector_update_edid_property(&radeon_connector->base, radeon_connector->edid); radeon_connector 201 drivers/gpu/drm/radeon/radeon_dp_mst.c ret = drm_add_edid_modes(&radeon_connector->base, radeon_connector->edid); radeon_connector 204 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_connector_update_edid_property(&radeon_connector->base, NULL); radeon_connector 231 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 233 drivers/gpu/drm/radeon/radeon_dp_mst.c return &radeon_connector->mst_encoder->base; radeon_connector 245 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 246 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *master = radeon_connector->mst_port; radeon_connector 248 drivers/gpu/drm/radeon/radeon_dp_mst.c return drm_dp_mst_detect_port(connector, &master->mst_mgr, radeon_connector->port); radeon_connector 254 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 255 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_encoder *radeon_encoder = radeon_connector->mst_encoder; radeon_connector 260 drivers/gpu/drm/radeon/radeon_dp_mst.c kfree(radeon_connector); radeon_connector 274 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *master = container_of(mgr, struct radeon_connector, mst_mgr); radeon_connector 276 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector; radeon_connector 279 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector = kzalloc(sizeof(*radeon_connector), GFP_KERNEL); radeon_connector 280 drivers/gpu/drm/radeon/radeon_dp_mst.c if (!radeon_connector) radeon_connector 283 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->is_mst_connector = true; radeon_connector 284 drivers/gpu/drm/radeon/radeon_dp_mst.c connector = &radeon_connector->base; radeon_connector 285 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->port = port; radeon_connector 286 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->mst_port = master; radeon_connector 291 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->mst_encoder = radeon_dp_create_fake_mst_encoder(master); radeon_connector 313 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *master = container_of(mgr, struct radeon_connector, mst_mgr); radeon_connector 332 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector *radeon_mst_find_connector(struct drm_encoder *encoder) radeon_connector 338 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 341 drivers/gpu/drm/radeon/radeon_dp_mst.c if (!radeon_connector->is_mst_connector) radeon_connector 346 drivers/gpu/drm/radeon/radeon_dp_mst.c return radeon_connector; radeon_connector 358 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector = radeon_mst_find_connector(&radeon_encoder->base); radeon_connector 362 drivers/gpu/drm/radeon/radeon_dp_mst.c if (radeon_connector) { radeon_connector 363 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->pixelclock_for_modeset = mode->clock; radeon_connector 364 drivers/gpu/drm/radeon/radeon_dp_mst.c if (radeon_connector->base.display_info.bpc) radeon_connector 365 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_crtc->bpc = radeon_connector->base.display_info.bpc; radeon_connector 386 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector; radeon_connector 396 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector = radeon_mst_find_connector(encoder); radeon_connector 397 drivers/gpu/drm/radeon/radeon_dp_mst.c if (!radeon_connector) radeon_connector 442 drivers/gpu/drm/radeon/radeon_dp_mst.c slots = drm_dp_find_vcpi_slots(&radeon_connector->mst_port->mst_mgr, radeon_connector 444 drivers/gpu/drm/radeon/radeon_dp_mst.c ret = drm_dp_mst_allocate_vcpi(&radeon_connector->mst_port->mst_mgr, radeon_connector 445 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->port, radeon_connector 447 drivers/gpu/drm/radeon/radeon_dp_mst.c ret = drm_dp_update_payload_part1(&radeon_connector->mst_port->mst_mgr); radeon_connector 450 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->mst_port->hpd.hpd, true); radeon_connector 453 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_update_stream_attribs(radeon_connector->mst_port, primary); radeon_connector 456 drivers/gpu/drm/radeon/radeon_dp_mst.c fixed_pbn_per_slot = drm_int2fixp(radeon_connector->mst_port->mst_mgr.pbn_div); radeon_connector 462 drivers/gpu/drm/radeon/radeon_dp_mst.c ret = drm_dp_check_act_status(&radeon_connector->mst_port->mst_mgr); radeon_connector 464 drivers/gpu/drm/radeon/radeon_dp_mst.c ret = drm_dp_update_payload_part2(&radeon_connector->mst_port->mst_mgr); radeon_connector 475 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_dp_mst_reset_vcpi_slots(&radeon_connector->mst_port->mst_mgr, mst_enc->port); radeon_connector 476 drivers/gpu/drm/radeon/radeon_dp_mst.c ret = drm_dp_update_payload_part1(&radeon_connector->mst_port->mst_mgr); radeon_connector 478 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_dp_check_act_status(&radeon_connector->mst_port->mst_mgr); radeon_connector 480 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_dp_update_payload_part2(&radeon_connector->mst_port->mst_mgr); radeon_connector 482 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_dp_mst_deallocate_vcpi(&radeon_connector->mst_port->mst_mgr, mst_enc->port); radeon_connector 485 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_update_stream_attribs(radeon_connector->mst_port, primary); radeon_connector 488 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->mst_port->hpd.hpd, false); radeon_connector 536 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector; radeon_connector 541 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector = radeon_mst_find_connector(encoder); radeon_connector 542 drivers/gpu/drm/radeon/radeon_dp_mst.c if (!radeon_connector) { radeon_connector 556 drivers/gpu/drm/radeon/radeon_dp_mst.c mst_enc->port = radeon_connector->port; radeon_connector 601 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_create_fake_mst_encoder(struct radeon_connector *connector) radeon_connector 650 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_init(struct radeon_connector *radeon_connector) radeon_connector 652 drivers/gpu/drm/radeon/radeon_dp_mst.c struct drm_device *dev = radeon_connector->base.dev; radeon_connector 654 drivers/gpu/drm/radeon/radeon_dp_mst.c if (!radeon_connector->ddc_bus->has_aux) radeon_connector 657 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->mst_mgr.cbs = &mst_cbs; radeon_connector 658 drivers/gpu/drm/radeon/radeon_dp_mst.c return drm_dp_mst_topology_mgr_init(&radeon_connector->mst_mgr, dev, radeon_connector 659 drivers/gpu/drm/radeon/radeon_dp_mst.c &radeon_connector->ddc_bus->aux, 16, 6, radeon_connector 660 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->base.base.id); radeon_connector 664 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_probe(struct radeon_connector *radeon_connector) radeon_connector 666 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; radeon_connector 667 drivers/gpu/drm/radeon/radeon_dp_mst.c struct drm_device *dev = radeon_connector->base.dev; radeon_connector 681 drivers/gpu/drm/radeon/radeon_dp_mst.c ret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, DP_MSTM_CAP, msg, radeon_connector 693 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_dp_mst_topology_mgr_set_mst(&radeon_connector->mst_mgr, radeon_connector 699 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_dp_mst_check_status(struct radeon_connector *radeon_connector) radeon_connector 701 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector_atom_dig *dig_connector = radeon_connector->con_priv; radeon_connector 710 drivers/gpu/drm/radeon/radeon_dp_mst.c dret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, radeon_connector 715 drivers/gpu/drm/radeon/radeon_dp_mst.c ret = drm_dp_mst_hpd_irq(&radeon_connector->mst_mgr, esi, &handled); radeon_connector 720 drivers/gpu/drm/radeon/radeon_dp_mst.c wret = drm_dp_dpcd_write(&radeon_connector->ddc_bus->aux, radeon_connector 726 drivers/gpu/drm/radeon/radeon_dp_mst.c dret = drm_dp_dpcd_read(&radeon_connector->ddc_bus->aux, radeon_connector 739 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_dp_mst_topology_mgr_set_mst(&radeon_connector->mst_mgr, radeon_connector 754 drivers/gpu/drm/radeon/radeon_dp_mst.c struct radeon_connector *radeon_connector; radeon_connector 763 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector = to_radeon_connector(connector); radeon_connector 764 drivers/gpu/drm/radeon/radeon_dp_mst.c dig_connector = radeon_connector->con_priv; radeon_connector 765 drivers/gpu/drm/radeon/radeon_dp_mst.c if (radeon_connector->is_mst_connector) radeon_connector 769 drivers/gpu/drm/radeon/radeon_dp_mst.c drm_dp_mst_dump_topology(m, &radeon_connector->mst_mgr); radeon_connector 771 drivers/gpu/drm/radeon/radeon_dp_mst.c for (i = 0; i < radeon_connector->enabled_attribs; i++) radeon_connector 773 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->cur_stream_attribs[i].fe, radeon_connector 774 drivers/gpu/drm/radeon/radeon_dp_mst.c radeon_connector->cur_stream_attribs[i].slots); radeon_connector 207 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_connector *radeon_connector; radeon_connector 213 drivers/gpu/drm/radeon/radeon_encoders.c radeon_connector = to_radeon_connector(connector); radeon_connector 216 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_encoder->devices & radeon_connector->devices) { radeon_connector 233 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 234 drivers/gpu/drm/radeon/radeon_encoders.c radeon_encoder->active_device = radeon_encoder->devices & radeon_connector->devices; radeon_connector 237 drivers/gpu/drm/radeon/radeon_encoders.c radeon_connector->devices, encoder->encoder_type); radeon_connector 248 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_connector *radeon_connector; radeon_connector 251 drivers/gpu/drm/radeon/radeon_encoders.c radeon_connector = to_radeon_connector(connector); radeon_connector 255 drivers/gpu/drm/radeon/radeon_encoders.c if (!radeon_connector->is_mst_connector) radeon_connector 259 drivers/gpu/drm/radeon/radeon_encoders.c if (mst_enc->connector == radeon_connector->mst_port) radeon_connector 261 drivers/gpu/drm/radeon/radeon_encoders.c } else if (radeon_encoder->active_device & radeon_connector->devices) radeon_connector 273 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_connector *radeon_connector; radeon_connector 276 drivers/gpu/drm/radeon/radeon_encoders.c radeon_connector = to_radeon_connector(connector); radeon_connector 277 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_encoder->devices & radeon_connector->devices) radeon_connector 375 drivers/gpu/drm/radeon/radeon_encoders.c struct radeon_connector *radeon_connector; radeon_connector 384 drivers/gpu/drm/radeon/radeon_encoders.c radeon_connector = to_radeon_connector(connector); radeon_connector 389 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_connector->use_digital) { radeon_connector 407 drivers/gpu/drm/radeon/radeon_encoders.c if (radeon_connector->is_mst_connector) radeon_connector 410 drivers/gpu/drm/radeon/radeon_encoders.c dig_connector = radeon_connector->con_priv; radeon_connector 45 drivers/gpu/drm/radeon/radeon_i2c.c bool radeon_ddc_probe(struct radeon_connector *radeon_connector, bool use_aux) radeon_connector 66 drivers/gpu/drm/radeon/radeon_i2c.c if (radeon_connector->router.ddc_valid) radeon_connector 67 drivers/gpu/drm/radeon/radeon_i2c.c radeon_router_select_ddc_port(radeon_connector); radeon_connector 70 drivers/gpu/drm/radeon/radeon_i2c.c ret = i2c_transfer(&radeon_connector->ddc_bus->aux.ddc, msgs, 2); radeon_connector 72 drivers/gpu/drm/radeon/radeon_i2c.c ret = i2c_transfer(&radeon_connector->ddc_bus->adapter, msgs, 2); radeon_connector 1105 drivers/gpu/drm/radeon/radeon_i2c.c void radeon_router_select_ddc_port(struct radeon_connector *radeon_connector) radeon_connector 1109 drivers/gpu/drm/radeon/radeon_i2c.c if (!radeon_connector->router.ddc_valid) radeon_connector 1112 drivers/gpu/drm/radeon/radeon_i2c.c if (!radeon_connector->router_bus) radeon_connector 1115 drivers/gpu/drm/radeon/radeon_i2c.c radeon_i2c_get_byte(radeon_connector->router_bus, radeon_connector 1116 drivers/gpu/drm/radeon/radeon_i2c.c radeon_connector->router.i2c_addr, radeon_connector 1118 drivers/gpu/drm/radeon/radeon_i2c.c val &= ~radeon_connector->router.ddc_mux_control_pin; radeon_connector 1119 drivers/gpu/drm/radeon/radeon_i2c.c radeon_i2c_put_byte(radeon_connector->router_bus, radeon_connector 1120 drivers/gpu/drm/radeon/radeon_i2c.c radeon_connector->router.i2c_addr, radeon_connector 1122 drivers/gpu/drm/radeon/radeon_i2c.c radeon_i2c_get_byte(radeon_connector->router_bus, radeon_connector 1123 drivers/gpu/drm/radeon/radeon_i2c.c radeon_connector->router.i2c_addr, radeon_connector 1125 drivers/gpu/drm/radeon/radeon_i2c.c val &= ~radeon_connector->router.ddc_mux_control_pin; radeon_connector 1126 drivers/gpu/drm/radeon/radeon_i2c.c val |= radeon_connector->router.ddc_mux_state; radeon_connector 1127 drivers/gpu/drm/radeon/radeon_i2c.c radeon_i2c_put_byte(radeon_connector->router_bus, radeon_connector 1128 drivers/gpu/drm/radeon/radeon_i2c.c radeon_connector->router.i2c_addr, radeon_connector 1133 drivers/gpu/drm/radeon/radeon_i2c.c void radeon_router_select_cd_port(struct radeon_connector *radeon_connector) radeon_connector 1137 drivers/gpu/drm/radeon/radeon_i2c.c if (!radeon_connector->router.cd_valid) radeon_connector 1140 drivers/gpu/drm/radeon/radeon_i2c.c if (!radeon_connector->router_bus) radeon_connector 1143 drivers/gpu/drm/radeon/radeon_i2c.c radeon_i2c_get_byte(radeon_connector->router_bus, radeon_connector 1144 drivers/gpu/drm/radeon/radeon_i2c.c radeon_connector->router.i2c_addr, radeon_connector 1146 drivers/gpu/drm/radeon/radeon_i2c.c val &= ~radeon_connector->router.cd_mux_control_pin; radeon_connector 1147 drivers/gpu/drm/radeon/radeon_i2c.c radeon_i2c_put_byte(radeon_connector->router_bus, radeon_connector 1148 drivers/gpu/drm/radeon/radeon_i2c.c radeon_connector->router.i2c_addr, radeon_connector 1150 drivers/gpu/drm/radeon/radeon_i2c.c radeon_i2c_get_byte(radeon_connector->router_bus, radeon_connector 1151 drivers/gpu/drm/radeon/radeon_i2c.c radeon_connector->router.i2c_addr, radeon_connector 1153 drivers/gpu/drm/radeon/radeon_i2c.c val &= ~radeon_connector->router.cd_mux_control_pin; radeon_connector 1154 drivers/gpu/drm/radeon/radeon_i2c.c val |= radeon_connector->router.cd_mux_state; radeon_connector 1155 drivers/gpu/drm/radeon/radeon_i2c.c radeon_i2c_put_byte(radeon_connector->router_bus, radeon_connector 1156 drivers/gpu/drm/radeon/radeon_i2c.c radeon_connector->router.i2c_addr, radeon_connector 47 drivers/gpu/drm/radeon/radeon_mode.h #define to_radeon_connector(x) container_of(x, struct radeon_connector, base) radeon_connector 454 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_connector *connector; radeon_connector 567 drivers/gpu/drm/radeon/radeon_mode.h struct radeon_connector *mst_port; radeon_connector 754 drivers/gpu/drm/radeon/radeon_mode.h extern bool radeon_dp_needs_link_train(struct radeon_connector *radeon_connector); radeon_connector 755 drivers/gpu/drm/radeon/radeon_mode.h extern u8 radeon_dp_getsinktype(struct radeon_connector *radeon_connector); radeon_connector 756 drivers/gpu/drm/radeon/radeon_mode.h extern bool radeon_dp_getdpcd(struct radeon_connector *radeon_connector); radeon_connector 761 drivers/gpu/drm/radeon/radeon_mode.h extern void radeon_dp_aux_init(struct radeon_connector *radeon_connector); radeon_connector 802 drivers/gpu/drm/radeon/radeon_mode.h extern void radeon_router_select_ddc_port(struct radeon_connector *radeon_connector); radeon_connector 803 drivers/gpu/drm/radeon/radeon_mode.h extern void radeon_router_select_cd_port(struct radeon_connector *radeon_connector); radeon_connector 804 drivers/gpu/drm/radeon/radeon_mode.h extern bool radeon_ddc_probe(struct radeon_connector *radeon_connector, bool use_aux); radeon_connector 992 drivers/gpu/drm/radeon/radeon_mode.h int radeon_dp_mst_init(struct radeon_connector *radeon_connector); radeon_connector 993 drivers/gpu/drm/radeon/radeon_mode.h int radeon_dp_mst_probe(struct radeon_connector *radeon_connector); radeon_connector 994 drivers/gpu/drm/radeon/radeon_mode.h int radeon_dp_mst_check_status(struct radeon_connector *radeon_connector); radeon_connector 169 drivers/gpu/drm/radeon/rs600.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 171 drivers/gpu/drm/radeon/rs600.c dither = radeon_connector->dither; radeon_connector 410 drivers/gpu/drm/radeon/rs600.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 411 drivers/gpu/drm/radeon/rs600.c switch (radeon_connector->hpd.hpd) { radeon_connector 423 drivers/gpu/drm/radeon/rs600.c if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) radeon_connector 424 drivers/gpu/drm/radeon/rs600.c enable |= 1 << radeon_connector->hpd.hpd; radeon_connector 425 drivers/gpu/drm/radeon/rs600.c radeon_hpd_set_polarity(rdev, radeon_connector->hpd.hpd); radeon_connector 437 drivers/gpu/drm/radeon/rs600.c struct radeon_connector *radeon_connector = to_radeon_connector(connector); radeon_connector 438 drivers/gpu/drm/radeon/rs600.c switch (radeon_connector->hpd.hpd) { radeon_connector 450 drivers/gpu/drm/radeon/rs600.c if (radeon_connector->hpd.hpd != RADEON_HPD_NONE) radeon_connector 451 drivers/gpu/drm/radeon/rs600.c disable |= 1 << radeon_connector->hpd.hpd;