Home
last modified time | relevance | path

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

/linux-3.4.99/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.c63 struct snd_emu10k1_voice *pvoice = emu->voices; in snd_emu10k1_interrupt() local
70 if (pvoice->use && pvoice->interrupt != NULL) { in snd_emu10k1_interrupt()
71 pvoice->interrupt(emu, pvoice); in snd_emu10k1_interrupt()
78 pvoice++; in snd_emu10k1_interrupt()
85 if (pvoice->use && pvoice->interrupt != NULL) { in snd_emu10k1_interrupt()
86 pvoice->interrupt(emu, pvoice); in snd_emu10k1_interrupt()
93 pvoice++; in snd_emu10k1_interrupt()
157 struct snd_emu10k1_voice *pvoice = &(emu->p16v_voices[0]); in snd_emu10k1_interrupt() local
163 if(pvoice->use) { in snd_emu10k1_interrupt()
164 snd_pcm_period_elapsed(pvoice->epcm->substream); in snd_emu10k1_interrupt()
[all …]
Demu10k1x.c787 struct emu10k1x_voice *pvoice = chip->voices; in snd_emu10k1x_interrupt() local
810 if (pvoice->use) in snd_emu10k1x_interrupt()
811 snd_emu10k1x_pcm_interrupt(chip, pvoice); in snd_emu10k1x_interrupt()
815 pvoice++; in snd_emu10k1x_interrupt()
/linux-3.4.99/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 …]
/linux-3.4.99/sound/pci/ali5451/
Dali5451.c857 struct snd_ali_voice *pvoice; in snd_ali_update_ptr() local
874 pvoice = &codec->synth.voices[channel]; in snd_ali_update_ptr()
875 runtime = pvoice->substream->runtime; in snd_ali_update_ptr()
880 if (pvoice->pcm && pvoice->substream) { in snd_ali_update_ptr()
883 outb((u8)(pvoice->number), ALI_REG(codec, ALI_GC_CIR)); in snd_ali_update_ptr()
887 if (pvoice->running) { in snd_ali_update_ptr()
891 snd_pcm_period_elapsed(pvoice->substream); in snd_ali_update_ptr()
942 struct snd_ali_voice *pvoice; in snd_ali_alloc_voice() local
956 pvoice = &(codec->synth.voices[idx]); in snd_ali_alloc_voice()
957 pvoice->codec = codec; in snd_ali_alloc_voice()
[all …]
/linux-3.4.99/sound/pci/trident/
Dtrident_main.c3828 struct snd_trident_voice *pvoice; in snd_trident_alloc_voice() local
3839 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice()
3840 pvoice->use = 1; in snd_trident_alloc_voice()
3841 pvoice->pcm = 1; in snd_trident_alloc_voice()
3842 pvoice->capture = 0; in snd_trident_alloc_voice()
3843 pvoice->spdif = 0; in snd_trident_alloc_voice()
3844 pvoice->memblk = NULL; in snd_trident_alloc_voice()
3845 pvoice->substream = NULL; in snd_trident_alloc_voice()
3847 return pvoice; in snd_trident_alloc_voice()
3855 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice()
[all …]
/linux-3.4.99/sound/pci/ymfpci/
Dymfpci_main.c280 static int snd_ymfpci_voice_free(struct snd_ymfpci *chip, struct snd_ymfpci_voice *pvoice) in snd_ymfpci_voice_free() argument
284 if (snd_BUG_ON(!pvoice)) in snd_ymfpci_voice_free()
288 if (pvoice->number == chip->src441_used) { in snd_ymfpci_voice_free()
290 pvoice->ypcm->use_441_slot = 0; in snd_ymfpci_voice_free()
292 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = 0; in snd_ymfpci_voice_free()
293 pvoice->ypcm = NULL; in snd_ymfpci_voice_free()
294 pvoice->interrupt = NULL; in snd_ymfpci_voice_free()
/linux-3.4.99/include/sound/
Demu10k1.h1511 void (*interrupt)(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);
1884 int snd_emu10k1_voice_free(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);