Lines Matching refs:amdgpu_connector

337 		struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector);  in dce_v10_0_hpd_init()  local
339 if (amdgpu_connector->hpd.hpd >= adev->mode_info.num_hpd) in dce_v10_0_hpd_init()
349 tmp = RREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); in dce_v10_0_hpd_init()
351 WREG32(mmDC_HPD_INT_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); in dce_v10_0_hpd_init()
355 tmp = RREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); in dce_v10_0_hpd_init()
357 WREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); in dce_v10_0_hpd_init()
359 tmp = RREG32(mmDC_HPD_TOGGLE_FILT_CNTL + hpd_offsets[amdgpu_connector->hpd.hpd]); in dce_v10_0_hpd_init()
366 WREG32(mmDC_HPD_TOGGLE_FILT_CNTL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); in dce_v10_0_hpd_init()
368 dce_v10_0_hpd_int_ack(adev, amdgpu_connector->hpd.hpd); in dce_v10_0_hpd_init()
369 dce_v10_0_hpd_set_polarity(adev, amdgpu_connector->hpd.hpd); in dce_v10_0_hpd_init()
371 amdgpu_connector->hpd.hpd); in dce_v10_0_hpd_init()
393 struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector); in dce_v10_0_hpd_fini() local
395 if (amdgpu_connector->hpd.hpd >= adev->mode_info.num_hpd) in dce_v10_0_hpd_fini()
398 tmp = RREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd]); in dce_v10_0_hpd_fini()
400 WREG32(mmDC_HPD_CONTROL + hpd_offsets[amdgpu_connector->hpd.hpd], tmp); in dce_v10_0_hpd_fini()
403 amdgpu_connector->hpd.hpd); in dce_v10_0_hpd_fini()
516 struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector); in dce_v10_0_program_fmt() local
518 dither = amdgpu_connector->dither; in dce_v10_0_program_fmt()
1234 struct amdgpu_connector *amdgpu_connector = NULL; in dce_v10_0_audio_write_latency_fields() local
1244 amdgpu_connector = to_amdgpu_connector(connector); in dce_v10_0_audio_write_latency_fields()
1250 if (!amdgpu_connector) { in dce_v10_0_audio_write_latency_fields()
1280 struct amdgpu_connector *amdgpu_connector = NULL; in dce_v10_0_audio_write_speaker_allocation() local
1291 amdgpu_connector = to_amdgpu_connector(connector); in dce_v10_0_audio_write_speaker_allocation()
1297 if (!amdgpu_connector) { in dce_v10_0_audio_write_speaker_allocation()
1302 sad_count = drm_edid_to_speaker_allocation(amdgpu_connector->edid, &sadb); in dce_v10_0_audio_write_speaker_allocation()
1336 struct amdgpu_connector *amdgpu_connector = NULL; in dce_v10_0_audio_write_sad_regs() local
1361 amdgpu_connector = to_amdgpu_connector(connector); in dce_v10_0_audio_write_sad_regs()
1367 if (!amdgpu_connector) { in dce_v10_0_audio_write_sad_regs()
1372 sad_count = drm_edid_to_sad(amdgpu_connector->edid, &sads); in dce_v10_0_audio_write_sad_regs()
3384 struct amdgpu_connector *amdgpu_connector = to_amdgpu_connector(connector); in dce_v10_0_encoder_prepare() local
3387 if (amdgpu_connector->router.cd_valid) in dce_v10_0_encoder_prepare()
3388 amdgpu_i2c_router_select_cd_port(amdgpu_connector); in dce_v10_0_encoder_prepare()