Lines Matching refs:dig
82 struct radeon_encoder_atom_dig *dig; in dce6_audio_get_pin() local
96 dig = radeon_encoder->enc_priv; in dce6_audio_get_pin()
97 if (dig->pin == pin) in dce6_audio_get_pin()
115 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_select_pin() local
117 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_select_pin()
120 WREG32(AFMT_AUDIO_SRC_CONTROL + dig->afmt->offset, in dce6_afmt_select_pin()
121 AFMT_AUDIO_SRC_SELECT(dig->pin->id)); in dce6_afmt_select_pin()
130 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_write_latency_fields() local
133 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_write_latency_fields()
149 WREG32_ENDPOINT(dig->pin->offset, in dce6_afmt_write_latency_fields()
158 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_hdmi_write_speaker_allocation() local
161 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_hdmi_write_speaker_allocation()
165 tmp = RREG32_ENDPOINT(dig->pin->offset, in dce6_afmt_hdmi_write_speaker_allocation()
174 WREG32_ENDPOINT(dig->pin->offset, in dce6_afmt_hdmi_write_speaker_allocation()
183 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_dp_write_speaker_allocation() local
186 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_dp_write_speaker_allocation()
190 tmp = RREG32_ENDPOINT(dig->pin->offset, in dce6_afmt_dp_write_speaker_allocation()
199 WREG32_ENDPOINT(dig->pin->offset, in dce6_afmt_dp_write_speaker_allocation()
208 struct radeon_encoder_atom_dig *dig = radeon_encoder->enc_priv; in dce6_afmt_write_sad_regs() local
225 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_write_sad_regs()
254 WREG32_ENDPOINT(dig->pin->offset, eld_reg_to_type[i][0], value); in dce6_afmt_write_sad_regs()