Searched refs:pvoice (Results 1 – 10 of 10) sorted by relevance
| /linux/sound/pci/emu10k1/ |
| H A D | voice.c | 68 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() 122 struct snd_emu10k1_voice *pvoice) in snd_emu10k1_voice_free() argument 126 if (snd_BUG_ON(!pvoice)) in snd_emu10k1_voice_free() 130 last = pvoice->last; in snd_emu10k1_voice_free() 131 voice_free(emu, pvoice++); in snd_emu10k1_voice_free()
|
| H A D | irq.c | 44 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 D | emu10k1x.c | 738 struct emu10k1x_voice *pvoice = chip->voices; in snd_emu10k1x_interrupt() local 761 if (pvoice->use) in snd_emu10k1x_interrupt() 762 snd_emu10k1x_pcm_interrupt(chip, pvoice); in snd_emu10k1x_interrupt() 766 pvoice++; in snd_emu10k1x_interrupt()
|
| /linux/sound/pci/ali5451/ |
| H A D | ali5451.c | 832 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 922 pvoice = &(codec->synth.voices[idx]); in snd_ali_alloc_voice() 923 pvoice->codec = codec; in snd_ali_alloc_voice() 924 pvoice->use = 1; in snd_ali_alloc_voice() 925 pvoice->pcm = 1; in snd_ali_alloc_voice() [all …]
|
| /linux/sound/isa/gus/ |
| H A D | gus_irq.c | 42 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 D | gus_reset.c | 195 struct snd_gus_voice * pvoice, in snd_gf1_alloc_voice_use() argument 198 pvoice->use = 1; in snd_gf1_alloc_voice_use() 202 pvoice->pcm = 1; in snd_gf1_alloc_voice_use() 205 pvoice->synth = 1; in snd_gf1_alloc_voice_use() 206 pvoice->client = client; in snd_gf1_alloc_voice_use() 207 pvoice->port = port; in snd_gf1_alloc_voice_use() 210 pvoice->midi = 1; in snd_gf1_alloc_voice_use() 211 pvoice->client = client; in snd_gf1_alloc_voice_use() 212 pvoice->port = port; in snd_gf1_alloc_voice_use() 219 struct snd_gus_voice *pvoice; in snd_gf1_alloc_voice() local [all …]
|
| H A D | gus_pcm.c | 159 struct snd_gus_voice *pvoice) in snd_gf1_pcm_interrupt_wave() argument 167 if (!pvoice->private_data) { in snd_gf1_pcm_interrupt_wave() 169 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave() 172 pcmp = pvoice->private_data; in snd_gf1_pcm_interrupt_wave() 175 snd_gf1_smart_stop_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave() 182 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave() 186 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave() 192 snd_gf1_select_voice(gus, pvoice->number); in snd_gf1_pcm_interrupt_wave() 244 struct snd_gus_voice * pvoice) in snd_gf1_pcm_interrupt_volume() argument 248 struct gus_pcm_private *pcmp = pvoice->private_data; in snd_gf1_pcm_interrupt_volume() [all …]
|
| /linux/sound/pci/trident/ |
| H A D | trident_main.c | 3714 struct snd_trident_voice *pvoice; in snd_trident_alloc_voice() local 3722 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice() 3723 pvoice->use = 1; in snd_trident_alloc_voice() 3724 pvoice->pcm = 1; in snd_trident_alloc_voice() 3725 pvoice->capture = 0; in snd_trident_alloc_voice() 3726 pvoice->spdif = 0; in snd_trident_alloc_voice() 3727 pvoice->memblk = NULL; in snd_trident_alloc_voice() 3728 pvoice->substream = NULL; in snd_trident_alloc_voice() 3729 return pvoice; in snd_trident_alloc_voice() 3735 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice() [all …]
|
| /linux/sound/pci/ymfpci/ |
| H A D | ymfpci_main.c | 253 static int snd_ymfpci_voice_free(struct snd_ymfpci *chip, struct snd_ymfpci_voice *pvoice) in snd_ymfpci_voice_free() argument 255 if (snd_BUG_ON(!pvoice)) in snd_ymfpci_voice_free() 259 if (pvoice->number == chip->src441_used) { in snd_ymfpci_voice_free() 261 pvoice->ypcm->use_441_slot = 0; in snd_ymfpci_voice_free() 263 pvoice->use = pvoice->pcm = pvoice->synth = pvoice->midi = 0; in snd_ymfpci_voice_free() 264 pvoice->ypcm = NULL; in snd_ymfpci_voice_free() 265 pvoice->interrupt = NULL; in snd_ymfpci_voice_free()
|
| /linux/include/sound/ |
| H A D | emu10k1.h | 1489 void (*interrupt)(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice); 1903 int snd_emu10k1_voice_free(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);
|