Lines Matching refs:pcm_mixer
328 volume = cpu_to_le32(chip->pcm_mixer[subs].left << 15); in snd_ymfpci_pcm_interrupt()
334 volume = cpu_to_le32(chip->pcm_mixer[subs].right << 15); in snd_ymfpci_pcm_interrupt()
400 kctl = chip->pcm_mixer[substream->number].ctl; in snd_ymfpci_playback_trigger()
508 vol_left = cpu_to_le32(ypcm->chip->pcm_mixer in snd_ymfpci_pcm_init_voice()
510 vol_right = cpu_to_le32(ypcm->chip->pcm_mixer in snd_ymfpci_pcm_init_voice()
676 kctl = chip->pcm_mixer[substream->number].ctl; in snd_ymfpci_playback_prepare()
1714 ucontrol->value.integer.value[0] = chip->pcm_mixer[subs].left; in snd_ymfpci_pcm_vol_get()
1715 ucontrol->value.integer.value[1] = chip->pcm_mixer[subs].right; in snd_ymfpci_pcm_vol_get()
1727 if (ucontrol->value.integer.value[0] != chip->pcm_mixer[subs].left || in snd_ymfpci_pcm_vol_put()
1728 ucontrol->value.integer.value[1] != chip->pcm_mixer[subs].right) { in snd_ymfpci_pcm_vol_put()
1729 chip->pcm_mixer[subs].left = ucontrol->value.integer.value[0]; in snd_ymfpci_pcm_vol_put()
1730 chip->pcm_mixer[subs].right = ucontrol->value.integer.value[1]; in snd_ymfpci_pcm_vol_put()
1731 if (chip->pcm_mixer[subs].left > 0x8000) in snd_ymfpci_pcm_vol_put()
1732 chip->pcm_mixer[subs].left = 0x8000; in snd_ymfpci_pcm_vol_put()
1733 if (chip->pcm_mixer[subs].right > 0x8000) in snd_ymfpci_pcm_vol_put()
1734 chip->pcm_mixer[subs].right = 0x8000; in snd_ymfpci_pcm_vol_put()
1852 chip->pcm_mixer[idx].left = 0x8000; in snd_ymfpci_mixer()
1853 chip->pcm_mixer[idx].right = 0x8000; in snd_ymfpci_mixer()
1854 chip->pcm_mixer[idx].ctl = kctl; in snd_ymfpci_mixer()