Lines Matching refs:evoice
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()
665 substream = evoice->epcm->substream; in snd_emu10k1_playback_prepare_voice()
667 voice = evoice->number; in snd_emu10k1_playback_prepare_voice()
679 …layback_trigger_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, int master, int e… in snd_emu10k1_playback_trigger_voice() argument
685 if (evoice == NULL) /* skip second voice for mono */ in snd_emu10k1_playback_trigger_voice()
687 substream = evoice->epcm->substream; in snd_emu10k1_playback_trigger_voice()
689 voice = evoice->number; in snd_emu10k1_playback_trigger_voice()
697 if (master || evoice->epcm->type == PLAYBACK_EFX) in snd_emu10k1_playback_trigger_voice()
704 …tic void snd_emu10k1_playback_stop_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice) in snd_emu10k1_playback_stop_voice() argument
708 if (evoice == NULL) in snd_emu10k1_playback_stop_voice()
710 voice = evoice->number; in snd_emu10k1_playback_stop_voice()