Home
last modified time | relevance | path

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

/linux/sound/pci/emu10k1/
H A Dvoice.c68 struct snd_emu10k1_voice *pvoice) in voice_free() argument
70 if (pvoice->dirty) in voice_free()
71 snd_emu10k1_voice_init(emu, pvoice->number); in voice_free()
72 pvoice->interrupt = NULL; in voice_free()
73 pvoice->use = pvoice->dirty = pvoice->last = 0; in voice_free()
74 pvoice->epcm = NULL; in voice_free()
124 struct snd_emu10k1_voice *pvoice) in snd_emu10k1_voice_free() argument
129 if (snd_BUG_ON(!pvoice)) in snd_emu10k1_voice_free()
133 last = pvoice->last; in snd_emu10k1_voice_free()
134 voice_free(emu, pvoice++); in snd_emu10k1_voice_free()
H A Dirq.c44 struct snd_emu10k1_voice *pvoice; in snd_emu10k1_interrupt() local
50 pvoice = emu->voices; in snd_emu10k1_interrupt()
55 if (pvoice->use && pvoice->interrupt != NULL) { in snd_emu10k1_interrupt()
56 pvoice->interrupt(emu, pvoice); in snd_emu10k1_interrupt()
63 pvoice++; in snd_emu10k1_interrupt()
66 pvoice = emu->voices; in snd_emu10k1_interrupt()
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()
H A 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/sound/isa/gus/
H A Dgus_irq.c42 struct snd_gus_voice *pvoice; in snd_gus_interrupt() local
56 pvoice = &gus->gf1.voices[voice]; in snd_gus_interrupt()
57 if (pvoice->use) { in snd_gus_interrupt()
59 STAT_ADD(pvoice->interrupt_stat_wave); in snd_gus_interrupt()
60 pvoice->handler_wave(gus, pvoice); in snd_gus_interrupt()
63 STAT_ADD(pvoice->interrupt_stat_volume); in snd_gus_interrupt()
64 pvoice->handler_volume(gus, pvoice); in snd_gus_interrupt()
105 struct snd_gus_voice *pvoice; in snd_gus_irq_info_read() local
117 pvoice = &gus->gf1.voices[idx]; in snd_gus_irq_info_read()
120 pvoice->interrupt_stat_wave, in snd_gus_irq_info_read()
[all …]
H A Dgus_reset.c222 struct snd_gus_voice * pvoice, in snd_gf1_alloc_voice_use() argument
225 pvoice->use = 1; in snd_gf1_alloc_voice_use()
229 pvoice->pcm = 1; in snd_gf1_alloc_voice_use()
232 pvoice->synth = 1; in snd_gf1_alloc_voice_use()
233 pvoice->client = client; in snd_gf1_alloc_voice_use()
234 pvoice->port = port; in snd_gf1_alloc_voice_use()
237 pvoice->midi = 1; in snd_gf1_alloc_voice_use()
238 pvoice->client = client; in snd_gf1_alloc_voice_use()
239 pvoice->port = port; in snd_gf1_alloc_voice_use()
246 struct snd_gus_voice *pvoice; in snd_gf1_alloc_voice() local
[all …]
H A Dgus_pcm.c163 struct snd_gus_voice *pvoice) in snd_gf1_pcm_interrupt_wave() argument
171 if (!pvoice->private_data) { in snd_gf1_pcm_interrupt_wave()
173 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
176 pcmp = pvoice->private_data; in snd_gf1_pcm_interrupt_wave()
179 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
186 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
190 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
196 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave()
248 struct snd_gus_voice * pvoice) in snd_gf1_pcm_interrupt_volume() argument
252 struct gus_pcm_private *pcmp = pvoice in snd_gf1_pcm_interrupt_volume()
744 struct snd_gus_voice *pvoice; snd_gf1_pcm_volume_put() local
[all...]
/linux/sound/pci/ali5451/
H A Dali5451.c832 struct snd_ali_voice *pvoice; in snd_ali_update_ptr() local
845 pvoice = &codec->synth.voices[channel]; in snd_ali_update_ptr()
850 if (pvoice->pcm && pvoice->substream) { in snd_ali_update_ptr()
852 if (pvoice->running) { in snd_ali_update_ptr()
858 snd_pcm_period_elapsed(pvoice->substream); in snd_ali_update_ptr()
909 struct snd_ali_voice *pvoice; in snd_ali_alloc_voice() local
923 pvoice = &(codec->synth.voices[idx]); in snd_ali_alloc_voice()
924 pvoice->codec = codec; in snd_ali_alloc_voice()
925 pvoice->use = 1; in snd_ali_alloc_voice()
926 pvoice->pcm = 1; in snd_ali_alloc_voice()
[all …]
/linux/sound/pci/trident/
H A 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/sound/pci/ymfpci/
H A Dymfpci_main.c262 static int snd_ymfpci_voice_free(struct snd_ymfpci *chip, struct snd_ymfpci_voice *pvoice) in snd_ymfpci_voice_free() argument
266 if (snd_BUG_ON(!pvoice)) in snd_ymfpci_voice_free()
270 if (pvoice->number == chip->src441_used) { in snd_ymfpci_voice_free()
272 pvoice->ypcm->use_441_slot = 0; in snd_ymfpci_voice_free()
274 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = 0; in snd_ymfpci_voice_free()
275 pvoice->ypcm = NULL; in snd_ymfpci_voice_free()
276 pvoice->interrupt = NULL; in snd_ymfpci_voice_free()
/linux/include/sound/
H A Demu10k1.h1489 void (*interrupt)(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);
1904 int snd_emu10k1_voice_free(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);