Lines Matching refs:pin
67 offset = rdev->audio.pin[i].offset; in dce6_afmt_get_connected_pins()
71 rdev->audio.pin[i].connected = false; in dce6_afmt_get_connected_pins()
73 rdev->audio.pin[i].connected = true; in dce6_afmt_get_connected_pins()
84 if (rdev->audio.pin[i].connected) in dce6_audio_get_pin()
85 return &rdev->audio.pin[i]; in dce6_audio_get_pin()
97 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_select_pin()
101 AFMT_AUDIO_SRC_SELECT(dig->pin->id)); in dce6_afmt_select_pin()
113 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_write_latency_fields()
129 WREG32_ENDPOINT(dig->pin->offset, in dce6_afmt_write_latency_fields()
141 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_hdmi_write_speaker_allocation()
145 tmp = RREG32_ENDPOINT(dig->pin->offset, in dce6_afmt_hdmi_write_speaker_allocation()
154 WREG32_ENDPOINT(dig->pin->offset, in dce6_afmt_hdmi_write_speaker_allocation()
166 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_dp_write_speaker_allocation()
170 tmp = RREG32_ENDPOINT(dig->pin->offset, in dce6_afmt_dp_write_speaker_allocation()
179 WREG32_ENDPOINT(dig->pin->offset, in dce6_afmt_dp_write_speaker_allocation()
205 if (!dig || !dig->afmt || !dig->pin) in dce6_afmt_write_sad_regs()
234 WREG32_ENDPOINT(dig->pin->offset, eld_reg_to_type[i][0], value); in dce6_afmt_write_sad_regs()
239 struct r600_audio_pin *pin, in dce6_audio_enable() argument
242 if (!pin) in dce6_audio_enable()
245 WREG32_ENDPOINT(pin->offset, AZ_F0_CODEC_PIN_CONTROL_HOT_PLUG_CONTROL, in dce6_audio_enable()