Searched refs:evoice (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.10/sound/pci/trident/ |
D | trident_main.c | 819 struct snd_trident_voice *evoice = voice->extra; in snd_trident_allocate_evoice() local 824 if (evoice == NULL) { in snd_trident_allocate_evoice() 825 evoice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0); in snd_trident_allocate_evoice() 826 if (evoice == NULL) in snd_trident_allocate_evoice() 828 voice->extra = evoice; in snd_trident_allocate_evoice() 829 evoice->substream = substream; in snd_trident_allocate_evoice() 832 if (evoice != NULL) { in snd_trident_allocate_evoice() 833 snd_trident_free_voice(trident, evoice); in snd_trident_allocate_evoice() 834 voice->extra = evoice = NULL; in snd_trident_allocate_evoice() 880 struct snd_trident_voice *evoice = voice ? voice->extra : NULL; in snd_trident_hw_free() local [all …]
|
/Linux-v5.10/sound/pci/ali5451/ |
D | ali5451.c | 1074 struct snd_ali_voice *pvoice, *evoice; in snd_ali_trigger() local 1095 evoice = pvoice->extra; in snd_ali_trigger() 1097 if (evoice == NULL) in snd_ali_trigger() 1100 whati |= 1 << (evoice->number & 0x1f); in snd_ali_trigger() 1101 what |= 1 << (evoice->number & 0x1f); in snd_ali_trigger() 1105 if (evoice != NULL) in snd_ali_trigger() 1106 evoice->running = 1; in snd_ali_trigger() 1109 if (evoice != NULL) in snd_ali_trigger() 1110 evoice->running = 0; in snd_ali_trigger() 1138 struct snd_ali_voice *evoice = pvoice->extra; in snd_ali_playback_hw_params() local [all …]
|
/Linux-v5.10/sound/pci/emu10k1/ |
D | emupcm.c | 270 struct snd_emu10k1_voice *evoice, in snd_emu10k1_pcm_init_voice() argument 275 struct snd_pcm_substream *substream = evoice->epcm->substream; in snd_emu10k1_pcm_init_voice() 285 voice = evoice->number; in snd_emu10k1_pcm_init_voice() 318 evoice->epcm->ccca_start_addr = start_addr + ccis; in snd_emu10k1_pcm_init_voice() 619 …0k1_playback_invalidate_cache(struct snd_emu10k1 *emu, int extra, struct snd_emu10k1_voice *evoice) in snd_emu10k1_playback_invalidate_cache() argument 624 if (evoice == NULL) in snd_emu10k1_playback_invalidate_cache() 626 runtime = evoice->epcm->substream->runtime; in snd_emu10k1_playback_invalidate_cache() 627 voice = evoice->number; in snd_emu10k1_playback_invalidate_cache() 654 … void snd_emu10k1_playback_prepare_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, in snd_emu10k1_playback_prepare_voice() argument 663 if (evoice == NULL) /* skip second voice for mono */ in snd_emu10k1_playback_prepare_voice() [all …]
|