Lines Matching refs:tmp
34 u32 tmp; in dce3_2_afmt_hdmi_write_speaker_allocation() local
37 tmp = RREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER); in dce3_2_afmt_hdmi_write_speaker_allocation()
38 tmp &= ~(DP_CONNECTION | SPEAKER_ALLOCATION_MASK); in dce3_2_afmt_hdmi_write_speaker_allocation()
40 tmp |= HDMI_CONNECTION; in dce3_2_afmt_hdmi_write_speaker_allocation()
42 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce3_2_afmt_hdmi_write_speaker_allocation()
44 tmp |= SPEAKER_ALLOCATION(5); /* stereo */ in dce3_2_afmt_hdmi_write_speaker_allocation()
45 WREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER, tmp); in dce3_2_afmt_hdmi_write_speaker_allocation()
52 u32 tmp; in dce3_2_afmt_dp_write_speaker_allocation() local
55 tmp = RREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER); in dce3_2_afmt_dp_write_speaker_allocation()
56 tmp &= ~(HDMI_CONNECTION | SPEAKER_ALLOCATION_MASK); in dce3_2_afmt_dp_write_speaker_allocation()
58 tmp |= DP_CONNECTION; in dce3_2_afmt_dp_write_speaker_allocation()
60 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce3_2_afmt_dp_write_speaker_allocation()
62 tmp |= SPEAKER_ALLOCATION(5); /* stereo */ in dce3_2_afmt_dp_write_speaker_allocation()
63 WREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER, tmp); in dce3_2_afmt_dp_write_speaker_allocation()