Home
last modified time | relevance | path

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

/linux-6.1.9/sound/pci/emu10k1/
Dvoice.c122 struct snd_emu10k1_voice *pvoice = &emu->voices[result]; in snd_emu10k1_voice_alloc() local
123 pvoice->interrupt = NULL; in snd_emu10k1_voice_alloc()
124 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = pvoice->efx = 0; in snd_emu10k1_voice_alloc()
125 pvoice->epcm = NULL; in snd_emu10k1_voice_alloc()
139 struct snd_emu10k1_voice *pvoice) in snd_emu10k1_voice_free() argument
143 if (snd_BUG_ON(!pvoice)) in snd_emu10k1_voice_free()
146 pvoice->interrupt = NULL; in snd_emu10k1_voice_free()
147 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = pvoice->efx = 0; in snd_emu10k1_voice_free()
148 pvoice->epcm = NULL; in snd_emu10k1_voice_free()
149 snd_emu10k1_voice_init(emu, pvoice->number); in snd_emu10k1_voice_free()
Dirq.c50 struct snd_emu10k1_voice *pvoice = emu->voices; in snd_emu10k1_interrupt() local
57 if (pvoice->use && pvoice->interrupt != NULL) { in snd_emu10k1_interrupt()
58 pvoice->interrupt(emu, pvoice); in snd_emu10k1_interrupt()
65 pvoice++; in snd_emu10k1_interrupt()
72 if (pvoice->use && pvoice->interrupt != NULL) { in snd_emu10k1_interrupt()
73 pvoice->interrupt(emu, pvoice); in snd_emu10k1_interrupt()
80 pvoice++; in snd_emu10k1_interrupt()
144 struct snd_emu10k1_voice *pvoice = &(emu->p16v_voices[0]); in snd_emu10k1_interrupt() local
150 if(pvoice->use) { in snd_emu10k1_interrupt()
151 snd_pcm_period_elapsed(pvoice->epcm->substream); in snd_emu10k1_interrupt()
[all …]
Demu10k1x.c755 struct emu10k1x_voice *pvoice = chip->voices; in snd_emu10k1x_interrupt() local
778 if (pvoice->use) in snd_emu10k1x_interrupt()
779 snd_emu10k1x_pcm_interrupt(chip, pvoice); in snd_emu10k1x_interrupt()
783 pvoice++; in snd_emu10k1x_interrupt()
/linux-6.1.9/sound/isa/gus/
Dgus_irq.c43 struct snd_gus_voice *pvoice; in snd_gus_interrupt() local
57 pvoice = &gus->gf1.voices[voice]; in snd_gus_interrupt()
58 if (pvoice->use) { in snd_gus_interrupt()
60 STAT_ADD(pvoice->interrupt_stat_wave); in snd_gus_interrupt()
61 pvoice->handler_wave(gus, pvoice); in snd_gus_interrupt()
64 STAT_ADD(pvoice->interrupt_stat_volume); in snd_gus_interrupt()
65 pvoice->handler_volume(gus, pvoice); in snd_gus_interrupt()
106 struct snd_gus_voice *pvoice; in snd_gus_irq_info_read() local
118 pvoice = &gus->gf1.voices[idx]; in snd_gus_irq_info_read()
121 pvoice->interrupt_stat_wave, in snd_gus_irq_info_read()
[all …]
Dgus_reset.c218 struct snd_gus_voice * pvoice, in snd_gf1_alloc_voice_use() argument
221 pvoice->use = 1; in snd_gf1_alloc_voice_use()
225 pvoice->pcm = 1; in snd_gf1_alloc_voice_use()
228 pvoice->synth = 1; in snd_gf1_alloc_voice_use()
229 pvoice->client = client; in snd_gf1_alloc_voice_use()
230 pvoice->port = port; in snd_gf1_alloc_voice_use()
233 pvoice->midi = 1; in snd_gf1_alloc_voice_use()
234 pvoice->client = client; in snd_gf1_alloc_voice_use()
235 pvoice->port = port; in snd_gf1_alloc_voice_use()
242 struct snd_gus_voice *pvoice; in snd_gf1_alloc_voice() local
[all …]
Dgus_pcm.c172 struct snd_gus_voice *pvoice) in snd_gf1_pcm_interrupt_wave() argument
180 if (!pvoice->private_data) { in snd_gf1_pcm_interrupt_wave()
182 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
185 pcmp = pvoice->private_data; in snd_gf1_pcm_interrupt_wave()
188 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
195 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
199 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
205 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
257 struct snd_gus_voice * pvoice) in snd_gf1_pcm_interrupt_volume() argument
261 struct gus_pcm_private *pcmp = pvoice->private_data; in snd_gf1_pcm_interrupt_volume()
[all …]
/linux-6.1.9/sound/pci/ali5451/
Dali5451.c834 struct snd_ali_voice *pvoice; in snd_ali_update_ptr() local
847 pvoice = &codec->synth.voices[channel]; in snd_ali_update_ptr()
852 if (pvoice->pcm && pvoice->substream) { in snd_ali_update_ptr()
854 if (pvoice->running) { in snd_ali_update_ptr()
860 snd_pcm_period_elapsed(pvoice->substream); in snd_ali_update_ptr()
911 struct snd_ali_voice *pvoice; in snd_ali_alloc_voice() local
925 pvoice = &(codec->synth.voices[idx]); in snd_ali_alloc_voice()
926 pvoice->codec = codec; in snd_ali_alloc_voice()
927 pvoice->use = 1; in snd_ali_alloc_voice()
928 pvoice->pcm = 1; in snd_ali_alloc_voice()
[all …]
/linux-6.1.9/sound/pci/trident/
Dtrident_main.c3749 struct snd_trident_voice *pvoice; in snd_trident_alloc_voice() local
3760 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice()
3761 pvoice->use = 1; in snd_trident_alloc_voice()
3762 pvoice->pcm = 1; in snd_trident_alloc_voice()
3763 pvoice->capture = 0; in snd_trident_alloc_voice()
3764 pvoice->spdif = 0; in snd_trident_alloc_voice()
3765 pvoice->memblk = NULL; in snd_trident_alloc_voice()
3766 pvoice->substream = NULL; in snd_trident_alloc_voice()
3768 return pvoice; in snd_trident_alloc_voice()
3776 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice()
[all …]
/linux-6.1.9/sound/pci/ymfpci/
Dymfpci_main.c267 static int snd_ymfpci_voice_free(struct snd_ymfpci *chip, struct snd_ymfpci_voice *pvoice) in snd_ymfpci_voice_free() argument
271 if (snd_BUG_ON(!pvoice)) in snd_ymfpci_voice_free()
275 if (pvoice->number == chip->src441_used) { in snd_ymfpci_voice_free()
277 pvoice->ypcm->use_441_slot = 0; in snd_ymfpci_voice_free()
279 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = 0; in snd_ymfpci_voice_free()
280 pvoice->ypcm = NULL; in snd_ymfpci_voice_free()
281 pvoice->interrupt = NULL; in snd_ymfpci_voice_free()
/linux-6.1.9/include/sound/
Demu10k1.h1495 void (*interrupt)(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);
1874 int snd_emu10k1_voice_free(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);