Home
last modified time | relevance | path

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

/linux-2.6.39/sound/pci/trident/
Dtrident_main.c858 struct snd_trident_voice *evoice = voice->extra; in snd_trident_allocate_evoice() local
863 if (evoice == NULL) { in snd_trident_allocate_evoice()
864 evoice = snd_trident_alloc_voice(trident, SNDRV_TRIDENT_VOICE_TYPE_PCM, 0, 0); in snd_trident_allocate_evoice()
865 if (evoice == NULL) in snd_trident_allocate_evoice()
867 voice->extra = evoice; in snd_trident_allocate_evoice()
868 evoice->substream = substream; in snd_trident_allocate_evoice()
871 if (evoice != NULL) { in snd_trident_allocate_evoice()
872 snd_trident_free_voice(trident, evoice); in snd_trident_allocate_evoice()
873 voice->extra = evoice = NULL; in snd_trident_allocate_evoice()
919 struct snd_trident_voice *evoice = voice ? voice->extra : NULL; in snd_trident_hw_free() local
[all …]
/linux-2.6.39/sound/pci/ali5451/
Dali5451.c1104 struct snd_ali_voice *pvoice, *evoice; in snd_ali_trigger() local
1125 evoice = pvoice->extra; in snd_ali_trigger()
1127 if (evoice == NULL) in snd_ali_trigger()
1130 whati |= 1 << (evoice->number & 0x1f); in snd_ali_trigger()
1131 what |= 1 << (evoice->number & 0x1f); in snd_ali_trigger()
1135 if (evoice != NULL) in snd_ali_trigger()
1136 evoice->running = 1; in snd_ali_trigger()
1139 if (evoice != NULL) in snd_ali_trigger()
1140 evoice->running = 0; in snd_ali_trigger()
1170 struct snd_ali_voice *evoice = pvoice->extra; in snd_ali_playback_hw_params() local
[all …]
/linux-2.6.39/sound/pci/emu10k1/
Demupcm.c283 struct snd_emu10k1_voice *evoice, in snd_emu10k1_pcm_init_voice() argument
288 struct snd_pcm_substream *substream = evoice->epcm->substream; in snd_emu10k1_pcm_init_voice()
298 voice = evoice->number; in snd_emu10k1_pcm_init_voice()
332 evoice->epcm->ccca_start_addr = start_addr + ccis; in snd_emu10k1_pcm_init_voice()
636 …0k1_playback_invalidate_cache(struct snd_emu10k1 *emu, int extra, struct snd_emu10k1_voice *evoice) in snd_emu10k1_playback_invalidate_cache() argument
641 if (evoice == NULL) in snd_emu10k1_playback_invalidate_cache()
643 runtime = evoice->epcm->substream->runtime; in snd_emu10k1_playback_invalidate_cache()
644 voice = evoice->number; in snd_emu10k1_playback_invalidate_cache()
671 … void snd_emu10k1_playback_prepare_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, in snd_emu10k1_playback_prepare_voice() argument
680 if (evoice == NULL) /* skip second voice for mono */ in snd_emu10k1_playback_prepare_voice()
[all …]