Searched refs:pvoice (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
D | voice.c | 122 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()
|
D | irq.c | 50 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 …]
|
D | emu10k1x.c | 774 struct emu10k1x_voice *pvoice = chip->voices; in snd_emu10k1x_interrupt() local 797 if (pvoice->use) in snd_emu10k1x_interrupt() 798 snd_emu10k1x_pcm_interrupt(chip, pvoice); in snd_emu10k1x_interrupt() 802 pvoice++; in snd_emu10k1x_interrupt()
|
/kernel/linux/linux-5.10/sound/isa/gus/ |
D | gus_irq.c | 43 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 …]
|
D | gus_reset.c | 218 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 …]
|
D | gus_pcm.c | 172 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 …]
|
/kernel/linux/linux-5.10/sound/pci/ali5451/ |
D | ali5451.c | 835 struct snd_ali_voice *pvoice; in snd_ali_update_ptr() local 848 pvoice = &codec->synth.voices[channel]; in snd_ali_update_ptr() 853 if (pvoice->pcm && pvoice->substream) { in snd_ali_update_ptr() 855 if (pvoice->running) { in snd_ali_update_ptr() 861 snd_pcm_period_elapsed(pvoice->substream); in snd_ali_update_ptr() 912 struct snd_ali_voice *pvoice; in snd_ali_alloc_voice() local 926 pvoice = &(codec->synth.voices[idx]); in snd_ali_alloc_voice() 927 pvoice->codec = codec; in snd_ali_alloc_voice() 928 pvoice->use = 1; in snd_ali_alloc_voice() 929 pvoice->pcm = 1; in snd_ali_alloc_voice() [all …]
|
/kernel/linux/linux-5.10/sound/pci/trident/ |
D | trident_main.c | 3765 struct snd_trident_voice *pvoice; in snd_trident_alloc_voice() local 3776 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice() 3777 pvoice->use = 1; in snd_trident_alloc_voice() 3778 pvoice->pcm = 1; in snd_trident_alloc_voice() 3779 pvoice->capture = 0; in snd_trident_alloc_voice() 3780 pvoice->spdif = 0; in snd_trident_alloc_voice() 3781 pvoice->memblk = NULL; in snd_trident_alloc_voice() 3782 pvoice->substream = NULL; in snd_trident_alloc_voice() 3784 return pvoice; in snd_trident_alloc_voice() 3792 pvoice = &trident->synth.voices[idx]; in snd_trident_alloc_voice() [all …]
|
/kernel/linux/linux-5.10/sound/pci/ymfpci/ |
D | ymfpci_main.c | 267 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()
|
/kernel/linux/linux-5.10/include/sound/ |
D | emu10k1.h | 1495 void (*interrupt)(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice); 1876 int snd_emu10k1_voice_free(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *pvoice);
|