Home
last modified time | relevance | path

Searched refs:pvoice (Results 1 – 9 of 9) 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()
[all...]
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 in snd_emu10k1_interrupt()
[all...]
H A Demu10k1x.c756 struct emu10k1x_voice *pvoice = chip->voices; in snd_emu10k1x_interrupt() local
779 if (pvoice->use) in snd_emu10k1x_interrupt()
780 snd_emu10k1x_pcm_interrupt(chip, pvoice); in snd_emu10k1x_interrupt()
784 pvoice++; in snd_emu10k1x_interrupt()
/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 in snd_ali_alloc_voice()
937 snd_ali_free_voice(struct snd_ali * codec,struct snd_ali_voice * pvoice) snd_ali_free_voice() argument
1071 struct snd_ali_voice *pvoice, *evoice; snd_ali_trigger() local
1134 struct snd_ali_voice *pvoice = runtime->private_data; snd_ali_playback_hw_params() local
1164 struct snd_ali_voice *pvoice = runtime->private_data; snd_ali_playback_hw_free() local
1178 struct snd_ali_voice *pvoice = runtime->private_data; snd_ali_playback_prepare() local
1271 struct snd_ali_voice *pvoice = runtime->private_data; snd_ali_prepare() local
1360 struct snd_ali_voice *pvoice = runtime->private_data; snd_ali_playback_pointer() local
1382 struct snd_ali_voice *pvoice = runtime->private_data; snd_ali_pointer() local
1448 struct snd_ali_voice *pvoice = runtime->private_data; snd_ali_pcm_free_substream() local
1459 struct snd_ali_voice *pvoice; snd_ali_open() local
1495 struct snd_ali_voice *pvoice = substream->runtime->private_data; snd_ali_close() local
[all...]
/linux/sound/isa/gus/
H A Dgus_reset.c214 struct snd_gus_voice * pvoice, in snd_gf1_alloc_voice_use() argument
217 pvoice->use = 1; in snd_gf1_alloc_voice_use()
221 pvoice->pcm = 1; in snd_gf1_alloc_voice_use()
224 pvoice->synth = 1; in snd_gf1_alloc_voice_use()
225 pvoice->client = client; in snd_gf1_alloc_voice_use()
226 pvoice->port = port; in snd_gf1_alloc_voice_use()
229 pvoice->midi = 1; in snd_gf1_alloc_voice_use()
230 pvoice->client = client; in snd_gf1_alloc_voice_use()
231 pvoice->port = port; in snd_gf1_alloc_voice_use()
238 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/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 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 in snd_ymfpci_voice_free()
[all...]
/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);