/kernel/linux/linux-5.10/sound/pci/trident/ |
H A 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 in snd_trident_hw_free() local 911 struct snd_trident_voice *evoice = voice->extra; snd_trident_playback_prepare() local 1123 struct snd_trident_voice *evoice = voice ? voice->extra : NULL; snd_trident_si7018_capture_hw_free() local 1148 struct snd_trident_voice *evoice = voice->extra; snd_trident_si7018_capture_prepare() local 1219 struct snd_trident_voice *evoice = voice->extra; snd_trident_foldback_prepare() local 1362 struct snd_trident_voice *evoice = voice->extra; snd_trident_spdif_prepare() local 1503 struct snd_trident_voice *voice, *evoice; snd_trident_trigger() local [all...] |
/kernel/linux/linux-6.6/sound/pci/trident/ |
H A 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 in snd_trident_hw_free() local 911 struct snd_trident_voice *evoice = voice->extra; snd_trident_playback_prepare() local 1123 struct snd_trident_voice *evoice = voice ? voice->extra : NULL; snd_trident_si7018_capture_hw_free() local 1148 struct snd_trident_voice *evoice = voice->extra; snd_trident_si7018_capture_prepare() local 1219 struct snd_trident_voice *evoice = voice->extra; snd_trident_foldback_prepare() local 1362 struct snd_trident_voice *evoice = voice->extra; snd_trident_spdif_prepare() local 1503 struct snd_trident_voice *voice, *evoice; snd_trident_trigger() local [all...] |
/kernel/linux/linux-5.10/sound/pci/ali5451/ |
H A 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 in snd_ali_playback_hw_params() local 1168 struct snd_ali_voice *evoice = pvoice ? pvoice->extra : NULL; snd_ali_playback_hw_free() local 1182 struct snd_ali_voice *evoice = pvoice->extra; snd_ali_playback_prepare() local [all...] |
/kernel/linux/linux-6.6/sound/pci/ali5451/ |
H A D | ali5451.c | 1073 struct snd_ali_voice *pvoice, *evoice; in snd_ali_trigger() local 1094 evoice = pvoice->extra; in snd_ali_trigger() 1096 if (evoice == NULL) in snd_ali_trigger() 1099 whati |= 1 << (evoice->number & 0x1f); in snd_ali_trigger() 1100 what |= 1 << (evoice->number & 0x1f); in snd_ali_trigger() 1104 if (evoice != NULL) in snd_ali_trigger() 1105 evoice->running = 1; in snd_ali_trigger() 1108 if (evoice != NULL) in snd_ali_trigger() 1109 evoice->running = 0; in snd_ali_trigger() 1137 struct snd_ali_voice *evoice in snd_ali_playback_hw_params() local 1167 struct snd_ali_voice *evoice = pvoice ? pvoice->extra : NULL; snd_ali_playback_hw_free() local 1181 struct snd_ali_voice *evoice = pvoice->extra; snd_ali_playback_prepare() local [all...] |
/kernel/linux/linux-6.6/sound/pci/emu10k1/ |
H A D | emupcm.c | 282 struct snd_emu10k1_voice *evoice, in snd_emu10k1_pcm_init_voice() 292 voice = evoice->number; in snd_emu10k1_pcm_init_voice() 304 CCCA, emu10k1_select_interprom(evoice->epcm->pitch_target) | in snd_emu10k1_pcm_init_voice() 337 struct snd_emu10k1_voice *evoice, in snd_emu10k1_pcm_init_voices() 344 snd_emu10k1_pcm_init_voice(emu, evoice, w_16, stereo, in snd_emu10k1_pcm_init_voices() 349 snd_emu10k1_pcm_init_voice(emu, evoice + 1, w_16, true, in snd_emu10k1_pcm_init_voices() 357 struct snd_emu10k1_voice *evoice, in snd_emu10k1_pcm_init_extra_voice() 365 snd_emu10k1_pcm_init_voice(emu, evoice, w_16, false, in snd_emu10k1_pcm_init_extra_voice() 651 struct snd_emu10k1_voice *evoice, in snd_emu10k1_playback_commit_volume() 654 snd_emu10k1_ptr_write_multiple(emu, evoice in snd_emu10k1_playback_commit_volume() 281 snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool w_16, bool stereo, unsigned int start_addr, unsigned int end_addr, const unsigned char *send_routing, const unsigned char *send_amount) snd_emu10k1_pcm_init_voice() argument 336 snd_emu10k1_pcm_init_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool w_16, bool stereo, unsigned int start_addr, unsigned int end_addr, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_pcm_init_voices() argument 356 snd_emu10k1_pcm_init_extra_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool w_16, unsigned int start_addr, unsigned int end_addr) snd_emu10k1_pcm_init_extra_voice() argument 650 snd_emu10k1_playback_commit_volume(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, unsigned int vattn) snd_emu10k1_playback_commit_volume() argument 660 snd_emu10k1_playback_unmute_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo, bool master, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_playback_unmute_voice() argument 673 snd_emu10k1_playback_unmute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_playback_unmute_voices() argument 683 snd_emu10k1_playback_mute_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice) snd_emu10k1_playback_mute_voice() argument 689 snd_emu10k1_playback_mute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, bool stereo) snd_emu10k1_playback_mute_voices() argument 709 snd_emu10k1_playback_trigger_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice) snd_emu10k1_playback_trigger_voice() argument 718 snd_emu10k1_playback_stop_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice) snd_emu10k1_playback_stop_voice() argument [all...] |
/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
H A D | emupcm.c | 270 struct snd_emu10k1_voice *evoice, in snd_emu10k1_pcm_init_voice() 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 static void snd_emu10k1_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 static 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 in snd_emu10k1_playback_prepare_voice() 268 snd_emu10k1_pcm_init_voice(struct snd_emu10k1 *emu, int master, int extra, struct snd_emu10k1_voice *evoice, unsigned int start_addr, unsigned int end_addr, struct snd_emu10k1_pcm_mixer *mix) snd_emu10k1_pcm_init_voice() argument 679 snd_emu10k1_playback_trigger_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice, int master, int extra) snd_emu10k1_playback_trigger_voice() argument 704 snd_emu10k1_playback_stop_voice(struct snd_emu10k1 *emu, struct snd_emu10k1_voice *evoice) snd_emu10k1_playback_stop_voice() argument [all...] |