Home
last modified time | relevance | path

Searched refs:pvoice (Results 1 – 9 of 9) sorted by relevance

/sound/pci/emu10k1/
Dvoice.c136 struct snd_emu10k1_voice *pvoice = &emu->voices[result]; in snd_emu10k1_voice_alloc() local
137 pvoice->interrupt = NULL; in snd_emu10k1_voice_alloc()
138 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = pvoice->efx = 0; in snd_emu10k1_voice_alloc()
139 pvoice->epcm = NULL; in snd_emu10k1_voice_alloc()
153 struct snd_emu10k1_voice *pvoice) in snd_emu10k1_voice_free() argument
157 if (snd_BUG_ON(!pvoice)) in snd_emu10k1_voice_free()
160 pvoice->interrupt = NULL; in snd_emu10k1_voice_free()
161 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = pvoice->efx = 0; in snd_emu10k1_voice_free()
162 pvoice->epcm = NULL; in snd_emu10k1_voice_free()
163 snd_emu10k1_voice_init(emu, pvoice->number); in snd_emu10k1_voice_free()
Dirq.c64 struct snd_emu10k1_voice *pvoice = emu->voices; in snd_emu10k1_interrupt() local
71 if (pvoice->use && pvoice->interrupt != NULL) { in snd_emu10k1_interrupt()
72 pvoice->interrupt(emu, pvoice); in snd_emu10k1_interrupt()
79 pvoice++; in snd_emu10k1_interrupt()
86 if (pvoice->use && pvoice->interrupt != NULL) { in snd_emu10k1_interrupt()
87 pvoice->interrupt(emu, pvoice); in snd_emu10k1_interrupt()
94 pvoice++; in snd_emu10k1_interrupt()
158 struct snd_emu10k1_voice *pvoice = &(emu->p16v_voices[0]); in snd_emu10k1_interrupt() local
164 if(pvoice->use) { in snd_emu10k1_interrupt()
165 snd_pcm_period_elapsed(pvoice->epcm->substream); in snd_emu10k1_interrupt()
[all …]
Demu10k1x.c792 struct emu10k1x_voice *pvoice = chip->voices; in snd_emu10k1x_interrupt() local
815 if (pvoice->use) in snd_emu10k1x_interrupt()
816 snd_emu10k1x_pcm_interrupt(chip, pvoice); in snd_emu10k1x_interrupt()
820 pvoice++; in snd_emu10k1x_interrupt()
/sound/isa/gus/
Dgus_irq.c58 struct snd_gus_voice *pvoice; in snd_gus_interrupt() local
72 pvoice = &gus->gf1.voices[voice]; in snd_gus_interrupt()
73 if (pvoice->use) { in snd_gus_interrupt()
75 STAT_ADD(pvoice->interrupt_stat_wave); in snd_gus_interrupt()
76 pvoice->handler_wave(gus, pvoice); in snd_gus_interrupt()
79 STAT_ADD(pvoice->interrupt_stat_volume); in snd_gus_interrupt()
80 pvoice->handler_volume(gus, pvoice); in snd_gus_interrupt()
121 struct snd_gus_voice *pvoice; in snd_gus_irq_info_read() local
133 pvoice = &gus->gf1.voices[idx]; in snd_gus_irq_info_read()
136 pvoice->interrupt_stat_wave, in snd_gus_irq_info_read()
[all …]
Dgus_reset.c235 struct snd_gus_voice * pvoice, in snd_gf1_alloc_voice_use() argument
238 pvoice->use = 1; in snd_gf1_alloc_voice_use()
242 pvoice->pcm = 1; in snd_gf1_alloc_voice_use()
245 pvoice->synth = 1; in snd_gf1_alloc_voice_use()
246 pvoice->client = client; in snd_gf1_alloc_voice_use()
247 pvoice->port = port; in snd_gf1_alloc_voice_use()
250 pvoice->midi = 1; in snd_gf1_alloc_voice_use()
251 pvoice->client = client; in snd_gf1_alloc_voice_use()
252 pvoice->port = port; in snd_gf1_alloc_voice_use()
259 struct snd_gus_voice *pvoice; in snd_gf1_alloc_voice() local
[all …]
Dgus_pcm.c187 struct snd_gus_voice *pvoice) in snd_gf1_pcm_interrupt_wave() argument
195 if (!pvoice->private_data) { in snd_gf1_pcm_interrupt_wave()
197 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
200 pcmp = pvoice->private_data; in snd_gf1_pcm_interrupt_wave()
203 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
210 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
214 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
220 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
272 struct snd_gus_voice * pvoice) in snd_gf1_pcm_interrupt_volume() argument
276 struct gus_pcm_private *pcmp = pvoice->private_data; in snd_gf1_pcm_interrupt_volume()
[all …]
/sound/pci/ali5451/
Dali5451.c849 struct snd_ali_voice *pvoice; in snd_ali_update_ptr() local
862 pvoice = &codec->synth.voices[channel]; in snd_ali_update_ptr()
867 if (pvoice->pcm && pvoice->substream) { in snd_ali_update_ptr()
869 if (pvoice->running) { in snd_ali_update_ptr()
875 snd_pcm_period_elapsed(pvoice->substream); in snd_ali_update_ptr()
926 struct snd_ali_voice *pvoice; in snd_ali_alloc_voice() local
940 pvoice = &(codec->synth.voices[idx]); in snd_ali_alloc_voice()
941 pvoice->codec = codec; in snd_ali_alloc_voice()
942 pvoice->use = 1; in snd_ali_alloc_voice()
943 pvoice->pcm = 1; in snd_ali_alloc_voice()
[all …]
/sound/pci/trident/
Dtrident_main.c3835 struct snd_trident_voice *pvoice; in snd_trident_alloc_voice() local
3846 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice()
3847 pvoice->use = 1; in snd_trident_alloc_voice()
3848 pvoice->pcm = 1; in snd_trident_alloc_voice()
3849 pvoice->capture = 0; in snd_trident_alloc_voice()
3850 pvoice->spdif = 0; in snd_trident_alloc_voice()
3851 pvoice->memblk = NULL; in snd_trident_alloc_voice()
3852 pvoice->substream = NULL; in snd_trident_alloc_voice()
3854 return pvoice; in snd_trident_alloc_voice()
3862 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice()
[all …]
/sound/pci/ymfpci/
Dymfpci_main.c281 static int snd_ymfpci_voice_free(struct snd_ymfpci *chip, struct snd_ymfpci_voice *pvoice) in snd_ymfpci_voice_free() argument
285 if (snd_BUG_ON(!pvoice)) in snd_ymfpci_voice_free()
289 if (pvoice->number == chip->src441_used) { in snd_ymfpci_voice_free()
291 pvoice->ypcm->use_441_slot = 0; in snd_ymfpci_voice_free()
293 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = 0; in snd_ymfpci_voice_free()
294 pvoice->ypcm = NULL; in snd_ymfpci_voice_free()
295 pvoice->interrupt = NULL; in snd_ymfpci_voice_free()