Home
last modified time | relevance | path

Searched refs:evoice (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/sound/pci/trident/
Dtrident_main.c859 struct snd_trident_voice *evoice = voice->extra; in snd_trident_allocate_evoice() local
864 if (evoice == NULL) { in snd_trident_allocate_evoice()
865 evoice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0); in snd_trident_allocate_evoice()
866 if (evoice == NULL) in snd_trident_allocate_evoice()
868 voice->extra = evoice; in snd_trident_allocate_evoice()
869 evoice->substream = substream; in snd_trident_allocate_evoice()
872 if (evoice != NULL) { in snd_trident_allocate_evoice()
873 snd_trident_free_voice(trident, evoice); in snd_trident_allocate_evoice()
874 voice->extra = evoice = NULL; in snd_trident_allocate_evoice()
920 struct snd_trident_voice *evoice = voice ? voice->extra : NULL; in snd_trident_hw_free() local
[all …]
/Linux-v4.19/sound/pci/ali5451/
Dali5451.c1088 struct snd_ali_voice *pvoice, *evoice; in snd_ali_trigger() local
1109 evoice = pvoice->extra; in snd_ali_trigger()
1111 if (evoice == NULL) in snd_ali_trigger()
1114 whati |= 1 << (evoice->number & 0x1f); in snd_ali_trigger()
1115 what |= 1 << (evoice->number & 0x1f); in snd_ali_trigger()
1119 if (evoice != NULL) in snd_ali_trigger()
1120 evoice->running = 1; in snd_ali_trigger()
1123 if (evoice != NULL) in snd_ali_trigger()
1124 evoice->running = 0; in snd_ali_trigger()
1154 struct snd_ali_voice *evoice = pvoice->extra; in snd_ali_playback_hw_params() local
[all …]
/Linux-v4.19/sound/pci/emu10k1/
Demupcm.c284 struct snd_emu10k1_voice *evoice, in snd_emu10k1_pcm_init_voice() argument
289 struct snd_pcm_substream *substream = evoice->epcm->substream; in snd_emu10k1_pcm_init_voice()
299 voice = evoice->number; in snd_emu10k1_pcm_init_voice()
332 evoice->epcm->ccca_start_addr = start_addr + ccis; in snd_emu10k1_pcm_init_voice()
644 …0k1_playback_invalidate_cache(struct snd_emu10k1 *emu, int extra, struct snd_emu10k1_voice *evoice) in snd_emu10k1_playback_invalidate_cache() argument
649 if (evoice == NULL) in snd_emu10k1_playback_invalidate_cache()
651 runtime = evoice->epcm->substream->runtime; in snd_emu10k1_playback_invalidate_cache()
652 voice = evoice->number; in snd_emu10k1_playback_invalidate_cache()
679 … void snd_emu10k1_playback_prepare_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, in snd_emu10k1_playback_prepare_voice() argument
688 if (evoice == NULL) /* skip second voice for mono */ in snd_emu10k1_playback_prepare_voice()
[all …]