Lines Matching refs:tmp
41 u32 tmp = RREG32(AZ_HOT_PLUG_CONTROL); in dce4_audio_enable() local
47 tmp |= AUDIO_ENABLED; in dce4_audio_enable()
49 tmp |= PIN0_AUDIO_ENABLED; in dce4_audio_enable()
51 tmp |= PIN1_AUDIO_ENABLED; in dce4_audio_enable()
53 tmp |= PIN2_AUDIO_ENABLED; in dce4_audio_enable()
55 tmp |= PIN3_AUDIO_ENABLED; in dce4_audio_enable()
57 tmp &= ~(AUDIO_ENABLED | in dce4_audio_enable()
64 WREG32(AZ_HOT_PLUG_CONTROL, tmp); in dce4_audio_enable()
101 u32 tmp = 0; in dce4_afmt_write_latency_fields() local
105 tmp = VIDEO_LIPSYNC(connector->video_latency[1]) | in dce4_afmt_write_latency_fields()
108 tmp = VIDEO_LIPSYNC(255) | AUDIO_LIPSYNC(255); in dce4_afmt_write_latency_fields()
111 tmp = VIDEO_LIPSYNC(connector->video_latency[0]) | in dce4_afmt_write_latency_fields()
114 tmp = VIDEO_LIPSYNC(255) | AUDIO_LIPSYNC(255); in dce4_afmt_write_latency_fields()
116 WREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_RESPONSE_LIPSYNC, tmp); in dce4_afmt_write_latency_fields()
123 u32 tmp; in dce4_afmt_hdmi_write_speaker_allocation() local
126 tmp = RREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER); in dce4_afmt_hdmi_write_speaker_allocation()
127 tmp &= ~(DP_CONNECTION | SPEAKER_ALLOCATION_MASK); in dce4_afmt_hdmi_write_speaker_allocation()
129 tmp |= HDMI_CONNECTION; in dce4_afmt_hdmi_write_speaker_allocation()
131 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_hdmi_write_speaker_allocation()
133 tmp |= SPEAKER_ALLOCATION(5); /* stereo */ in dce4_afmt_hdmi_write_speaker_allocation()
134 WREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER, tmp); in dce4_afmt_hdmi_write_speaker_allocation()
141 u32 tmp; in dce4_afmt_dp_write_speaker_allocation() local
144 tmp = RREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER); in dce4_afmt_dp_write_speaker_allocation()
145 tmp &= ~(HDMI_CONNECTION | SPEAKER_ALLOCATION_MASK); in dce4_afmt_dp_write_speaker_allocation()
147 tmp |= DP_CONNECTION; in dce4_afmt_dp_write_speaker_allocation()
149 tmp |= SPEAKER_ALLOCATION(sadb[0]); in dce4_afmt_dp_write_speaker_allocation()
151 tmp |= SPEAKER_ALLOCATION(5); /* stereo */ in dce4_afmt_dp_write_speaker_allocation()
152 WREG32_ENDPOINT(0, AZ_F0_CODEC_PIN0_CONTROL_CHANNEL_SPEAKER, tmp); in dce4_afmt_dp_write_speaker_allocation()