Lines Matching defs:mix

912 	struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[substream->number];
934 voice->Vol = mix->vol;
935 voice->RVol = mix->rvol;
936 voice->CVol = mix->cvol;
937 voice->Pan = mix->pan;
1363 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[substream->number];
1439 voice->Vol = mix->vol;
1440 voice->RVol = mix->rvol;
1441 voice->CVol = mix->cvol;
1442 voice->Pan = mix->pan;
2622 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)];
2625 ucontrol->value.integer.value[0] = 1023 - mix->vol;
2627 ucontrol->value.integer.value[0] = 255 - (mix->vol>>2);
2636 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)];
2646 change = val != mix->vol;
2647 mix->vol = val;
2648 if (mix->voice != NULL)
2649 snd_trident_write_vol_reg(trident, mix->voice, val);
2686 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)];
2688 ucontrol->value.integer.value[0] = mix->pan;
2701 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)];
2710 change = val != mix->pan;
2711 mix->pan = val;
2712 if (mix->voice != NULL)
2713 snd_trident_write_pan_reg(trident, mix->voice, val);
2749 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)];
2751 ucontrol->value.integer.value[0] = 127 - mix->rvol;
2759 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)];
2765 change = val != mix->rvol;
2766 mix->rvol = val;
2767 if (mix->voice != NULL)
2768 snd_trident_write_rvol_reg(trident, mix->voice, val);
2807 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)];
2809 ucontrol->value.integer.value[0] = 127 - mix->cvol;
2817 struct snd_trident_pcm_mixer *mix = &trident->pcm_mixer[snd_ctl_get_ioffnum(kcontrol, &ucontrol->id)];
2823 change = val != mix->cvol;
2824 mix->cvol = val;
2825 if (mix->voice != NULL)
2826 snd_trident_write_cvol_reg(trident, mix->voice, val);