Lines Matching refs:mute
48 int mute; member
388 (!!(pcm512x->mute & 0x5) << PCM512x_RQML_SHIFT) in pcm512x_update_mute()
389 | (!!(pcm512x->mute & 0x3) << PCM512x_RQMR_SHIFT)); in pcm512x_update_mute()
399 ucontrol->value.integer.value[0] = !(pcm512x->mute & 0x4); in pcm512x_digital_playback_switch_get()
400 ucontrol->value.integer.value[1] = !(pcm512x->mute & 0x2); in pcm512x_digital_playback_switch_get()
415 if ((pcm512x->mute & 0x4) == (ucontrol->value.integer.value[0] << 2)) { in pcm512x_digital_playback_switch_put()
416 pcm512x->mute ^= 0x4; in pcm512x_digital_playback_switch_put()
419 if ((pcm512x->mute & 0x2) == (ucontrol->value.integer.value[1] << 1)) { in pcm512x_digital_playback_switch_put()
420 pcm512x->mute ^= 0x2; in pcm512x_digital_playback_switch_put()
1433 static int pcm512x_mute(struct snd_soc_dai *dai, int mute, int direction) in pcm512x_mute() argument
1442 if (mute) { in pcm512x_mute()
1443 pcm512x->mute |= 0x1; in pcm512x_mute()
1458 pcm512x->mute &= ~0x1; in pcm512x_mute()
1470 == ((~pcm512x->mute >> 1) & 0x3), in pcm512x_mute()