Lines Matching refs:evoice
1071 struct snd_ali_voice *pvoice, *evoice; in snd_ali_trigger() local
1092 evoice = pvoice->extra; in snd_ali_trigger()
1094 if (evoice == NULL) in snd_ali_trigger()
1097 whati |= 1 << (evoice->number & 0x1f); in snd_ali_trigger()
1098 what |= 1 << (evoice->number & 0x1f); in snd_ali_trigger()
1102 if (evoice != NULL) in snd_ali_trigger()
1103 evoice->running = 1; in snd_ali_trigger()
1106 if (evoice != NULL) in snd_ali_trigger()
1107 evoice->running = 0; in snd_ali_trigger()
1135 struct snd_ali_voice *evoice = pvoice->extra; in snd_ali_playback_hw_params() local
1141 if (!evoice) { in snd_ali_playback_hw_params()
1142 evoice = snd_ali_alloc_voice(codec, in snd_ali_playback_hw_params()
1145 if (!evoice) in snd_ali_playback_hw_params()
1147 pvoice->extra = evoice; in snd_ali_playback_hw_params()
1148 evoice->substream = substream; in snd_ali_playback_hw_params()
1151 if (evoice) { in snd_ali_playback_hw_params()
1152 snd_ali_free_voice(codec, evoice); in snd_ali_playback_hw_params()
1153 pvoice->extra = evoice = NULL; in snd_ali_playback_hw_params()
1165 struct snd_ali_voice *evoice = pvoice ? pvoice->extra : NULL; in snd_ali_playback_hw_free() local
1167 if (evoice) { in snd_ali_playback_hw_free()
1168 snd_ali_free_voice(codec, evoice); in snd_ali_playback_hw_free()
1179 struct snd_ali_voice *evoice = pvoice->extra; in snd_ali_playback_prepare() local
1245 if (evoice) { in snd_ali_playback_prepare()
1246 evoice->count = pvoice->count; in snd_ali_playback_prepare()
1247 evoice->eso = pvoice->count << 1; in snd_ali_playback_prepare()
1248 ESO = evoice->eso - 1; in snd_ali_playback_prepare()
1250 evoice->number, in snd_ali_playback_prepare()