Lines Matching refs:synth
191 synth :1, member
242 struct snd_alidev synth; member
533 if (codec->synth.chcnt >= ALI_CHANNELS){ in snd_ali_alloc_pcm_channel()
539 if (!(codec->synth.chmap & (1 << idx))) { in snd_ali_alloc_pcm_channel()
540 codec->synth.chmap |= 1 << idx; in snd_ali_alloc_pcm_channel()
541 codec->synth.chcnt++; in snd_ali_alloc_pcm_channel()
606 if (!(codec->synth.chmap & (1 << idx))) { in snd_ali_free_channel_pcm()
612 codec->synth.chmap &= ~(1 << idx); in snd_ali_free_channel_pcm()
613 codec->synth.chcnt--; in snd_ali_free_channel_pcm()
862 pvoice = &codec->synth.voices[channel]; in snd_ali_update_ptr()
881 } else if (codec->synth.voices[channel].synth) { in snd_ali_update_ptr()
883 } else if (codec->synth.voices[channel].midi) { in snd_ali_update_ptr()
940 pvoice = &(codec->synth.voices[idx]); in snd_ali_alloc_voice()
970 pvoice->use = pvoice->pcm = pvoice->synth = 0; in snd_ali_free_voice()
2151 codec->synth.chmap = 0; in snd_ali_create()
2152 codec->synth.chcnt = 0; in snd_ali_create()
2154 codec->synth.synthcount = 0; in snd_ali_create()
2196 codec->synth.voices[i].number = i; in snd_ali_create()