Lines Matching refs:synth
176 synth :1, member
227 struct snd_alidev synth; member
518 if (codec->synth.chcnt >= ALI_CHANNELS){ in snd_ali_alloc_pcm_channel()
524 if (!(codec->synth.chmap & (1 << idx))) { in snd_ali_alloc_pcm_channel()
525 codec->synth.chmap |= 1 << idx; in snd_ali_alloc_pcm_channel()
526 codec->synth.chcnt++; in snd_ali_alloc_pcm_channel()
591 if (!(codec->synth.chmap & (1 << idx))) { in snd_ali_free_channel_pcm()
597 codec->synth.chmap &= ~(1 << idx); in snd_ali_free_channel_pcm()
598 codec->synth.chcnt--; in snd_ali_free_channel_pcm()
847 pvoice = &codec->synth.voices[channel]; in snd_ali_update_ptr()
866 } else if (codec->synth.voices[channel].synth) { in snd_ali_update_ptr()
868 } else if (codec->synth.voices[channel].midi) { in snd_ali_update_ptr()
925 pvoice = &(codec->synth.voices[idx]); in snd_ali_alloc_voice()
955 pvoice->use = pvoice->pcm = pvoice->synth = 0; in snd_ali_free_voice()
2071 codec->synth.chmap = 0; in snd_ali_create()
2072 codec->synth.chcnt = 0; in snd_ali_create()
2074 codec->synth.synthcount = 0; in snd_ali_create()
2107 codec->synth.voices[i].number = i; in snd_ali_create()