Lines Matching refs:pcm_mixer
329 volume = cpu_to_le32(chip->pcm_mixer[subs].left << 15); in snd_ymfpci_pcm_interrupt()
335 volume = cpu_to_le32(chip->pcm_mixer[subs].right << 15); in snd_ymfpci_pcm_interrupt()
401 kctl = chip->pcm_mixer[substream->number].ctl; in snd_ymfpci_playback_trigger()
509 vol_left = cpu_to_le32(ypcm->chip->pcm_mixer in snd_ymfpci_pcm_init_voice()
511 vol_right = cpu_to_le32(ypcm->chip->pcm_mixer in snd_ymfpci_pcm_init_voice()
678 kctl = chip->pcm_mixer[substream->number].ctl; in snd_ymfpci_playback_prepare()
1723 ucontrol->value.integer.value[0] = chip->pcm_mixer[subs].left; in snd_ymfpci_pcm_vol_get()
1724 ucontrol->value.integer.value[1] = chip->pcm_mixer[subs].right; in snd_ymfpci_pcm_vol_get()
1736 if (ucontrol->value.integer.value[0] != chip->pcm_mixer[subs].left || in snd_ymfpci_pcm_vol_put()
1737 ucontrol->value.integer.value[1] != chip->pcm_mixer[subs].right) { in snd_ymfpci_pcm_vol_put()
1738 chip->pcm_mixer[subs].left = ucontrol->value.integer.value[0]; in snd_ymfpci_pcm_vol_put()
1739 chip->pcm_mixer[subs].right = ucontrol->value.integer.value[1]; in snd_ymfpci_pcm_vol_put()
1740 if (chip->pcm_mixer[subs].left > 0x8000) in snd_ymfpci_pcm_vol_put()
1741 chip->pcm_mixer[subs].left = 0x8000; in snd_ymfpci_pcm_vol_put()
1742 if (chip->pcm_mixer[subs].right > 0x8000) in snd_ymfpci_pcm_vol_put()
1743 chip->pcm_mixer[subs].right = 0x8000; in snd_ymfpci_pcm_vol_put()
1875 chip->pcm_mixer[idx].left = 0x8000; in snd_ymfpci_mixer()
1876 chip->pcm_mixer[idx].right = 0x8000; in snd_ymfpci_mixer()
1877 chip->pcm_mixer[idx].ctl = kctl; in snd_ymfpci_mixer()