/kernel/linux/linux-5.10/sound/pci/emu10k1/ |
H A D | emupcm.c | 26 struct snd_emu10k1_pcm *epcm; in snd_emu10k1_pcm_interrupt() local 28 if ((epcm = voice->epcm) == NULL) in snd_emu10k1_pcm_interrupt() 30 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt() 35 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt() 36 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt() 37 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt() 39 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1_pcm_interrupt() 82 struct snd_emu10k1_pcm *epcm in snd_emu10k1_efx_playback_pointer() local 95 snd_emu10k1_pcm_channel_alloc(struct snd_emu10k1_pcm * epcm, int voices) snd_emu10k1_pcm_channel_alloc() argument 398 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_hw_params() local 433 struct snd_emu10k1_pcm *epcm; snd_emu10k1_playback_hw_free() local 463 struct snd_emu10k1_pcm *epcm; snd_emu10k1_efx_playback_hw_free() local 492 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_prepare() local 520 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_efx_playback_prepare() local 576 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_capture_prepare() local 720 snd_emu10k1_playback_mangle_extra(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, struct snd_pcm_substream *substream, struct snd_pcm_runtime *runtime) snd_emu10k1_playback_mangle_extra() argument 742 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_trigger() local 791 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_capture_trigger() local 859 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_pointer() local 893 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_efx_playback_trigger() local 942 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_capture_pointer() local 1080 struct snd_emu10k1_pcm *epcm; snd_emu10k1_efx_playback_open() local 1113 struct snd_emu10k1_pcm *epcm; snd_emu10k1_playback_open() local 1170 struct snd_emu10k1_pcm *epcm; snd_emu10k1_capture_open() local 1205 struct snd_emu10k1_pcm *epcm; snd_emu10k1_capture_mic_open() local 1243 struct snd_emu10k1_pcm *epcm; snd_emu10k1_capture_efx_open() local [all...] |
H A D | emu10k1x.c | 189 struct emu10k1x_pcm *epcm; member 351 struct emu10k1x_pcm *epcm; in snd_emu10k1x_pcm_interrupt() local 353 if ((epcm = voice->epcm) == NULL) in snd_emu10k1x_pcm_interrupt() 355 if (epcm->substream == NULL) in snd_emu10k1x_pcm_interrupt() 360 epcm->substream->ops->pointer(epcm->substream), in snd_emu10k1x_pcm_interrupt() 361 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1x_pcm_interrupt() 362 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1x_pcm_interrupt() 364 snd_pcm_period_elapsed(epcm in snd_emu10k1x_pcm_interrupt() 371 struct emu10k1x_pcm *epcm; snd_emu10k1x_playback_open() local 406 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_hw_params() local 421 struct emu10k1x_pcm *epcm; snd_emu10k1x_pcm_hw_free() local 442 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_prepare() local 472 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_trigger() local 509 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_pointer() local 550 struct emu10k1x_pcm *epcm; snd_emu10k1x_pcm_open_capture() local 585 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_hw_params_capture() local 603 struct emu10k1x_pcm *epcm; snd_emu10k1x_pcm_hw_free_capture() local 638 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_trigger_capture() local 667 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_pointer_capture() local [all...] |
H A D | p16v.c | 154 struct snd_emu10k1_pcm *epcm = runtime->private_data; in snd_p16v_pcm_free_substream() local 156 kfree(epcm); in snd_p16v_pcm_free_substream() 164 struct snd_emu10k1_pcm *epcm; in snd_p16v_pcm_open_playback_channel() local 168 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL); in snd_p16v_pcm_open_playback_channel() 169 /* dev_dbg(emu->card->dev, "epcm kcalloc: %p\n", epcm); */ in snd_p16v_pcm_open_playback_channel() 171 if (epcm == NULL) in snd_p16v_pcm_open_playback_channel() 173 epcm->emu = emu; in snd_p16v_pcm_open_playback_channel() 174 epcm in snd_p16v_pcm_open_playback_channel() 212 struct snd_emu10k1_pcm *epcm; snd_p16v_pcm_open_capture_channel() local 418 struct snd_emu10k1_pcm *epcm; snd_p16v_pcm_trigger_playback() local 472 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_p16v_pcm_trigger_capture() local 502 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_p16v_pcm_pointer_playback() local 527 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_p16v_pcm_pointer_capture() local [all...] |
H A D | emumixer.c | 1267 if (change && mix->epcm) { in snd_emu10k1_send_routing_put() 1268 if (mix->epcm->voices[0] && mix->epcm->voices[1]) { in snd_emu10k1_send_routing_put() 1269 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1271 update_emu10k1_fxrt(emu, mix->epcm->voices[1]->number, in snd_emu10k1_send_routing_put() 1273 } else if (mix->epcm->voices[0]) { in snd_emu10k1_send_routing_put() 1274 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1338 if (change && mix->epcm) { in snd_emu10k1_send_volume_put() 1339 if (mix->epcm->voices[0] && mix->epcm in snd_emu10k1_send_volume_put() [all...] |
H A D | voice.c | 125 pvoice->epcm = NULL; in snd_emu10k1_voice_alloc() 148 pvoice->epcm = NULL; in snd_emu10k1_voice_free()
|
H A D | irq.c | 151 snd_pcm_period_elapsed(pvoice->epcm->substream); in snd_emu10k1_interrupt() 163 snd_pcm_period_elapsed(cvoice->epcm->substream); in snd_emu10k1_interrupt()
|
/kernel/linux/linux-6.6/sound/pci/emu10k1/ |
H A D | emupcm.c | 23 struct snd_emu10k1_pcm *epcm; in snd_emu10k1_pcm_interrupt() local 25 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt() 26 if (!epcm) in snd_emu10k1_pcm_interrupt() 28 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt() 33 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt() 34 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt() 35 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt() 37 snd_pcm_period_elapsed(epcm in snd_emu10k1_pcm_interrupt() 76 snd_emu10k1_pcm_free_voices(struct snd_emu10k1_pcm *epcm) snd_emu10k1_pcm_free_voices() argument 86 snd_emu10k1_pcm_channel_alloc(struct snd_emu10k1_pcm *epcm, int type, int count, int channels) snd_emu10k1_pcm_channel_alloc() argument 375 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_hw_params() local 421 struct snd_emu10k1_pcm *epcm; snd_emu10k1_playback_hw_free() local 444 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_prepare() local 474 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_efx_playback_prepare() local 523 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_capture_prepare() local 602 snd_emu10k1_playback_prepare_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, bool w_16, bool stereo, int channels) snd_emu10k1_playback_prepare_voices() argument 727 snd_emu10k1_playback_set_running(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm) snd_emu10k1_playback_set_running() argument 734 snd_emu10k1_playback_set_stopped(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm) snd_emu10k1_playback_set_stopped() argument 746 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_trigger() local 791 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_capture_trigger() local 863 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_playback_pointer() local 894 snd_emu10k1_efx_playback_voice_mask(struct snd_emu10k1_pcm *epcm, int channels) snd_emu10k1_efx_playback_voice_mask() argument 906 snd_emu10k1_efx_playback_freeze_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, int channels) snd_emu10k1_efx_playback_freeze_voices() argument 917 snd_emu10k1_efx_playback_unmute_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, int channels) snd_emu10k1_efx_playback_unmute_voices() argument 926 snd_emu10k1_efx_playback_stop_voices(struct snd_emu10k1 *emu, struct snd_emu10k1_pcm *epcm, int channels) snd_emu10k1_efx_playback_stop_voices() argument 943 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_efx_playback_trigger() local 1009 struct snd_emu10k1_pcm *epcm = runtime->private_data; snd_emu10k1_capture_pointer() local 1160 struct snd_emu10k1_pcm *epcm; snd_emu10k1_efx_playback_open() local 1199 struct snd_emu10k1_pcm *epcm; snd_emu10k1_playback_open() local 1253 struct snd_emu10k1_pcm *epcm; snd_emu10k1_capture_open() local 1289 struct snd_emu10k1_pcm *epcm; snd_emu10k1_capture_mic_open() local 1327 struct snd_emu10k1_pcm *epcm; snd_emu10k1_capture_efx_open() local [all...] |
H A D | emu10k1x.c | 188 struct emu10k1x_pcm *epcm; member 349 struct emu10k1x_pcm *epcm; in snd_emu10k1x_pcm_interrupt() local 351 epcm = voice->epcm; in snd_emu10k1x_pcm_interrupt() 352 if (!epcm) in snd_emu10k1x_pcm_interrupt() 354 if (epcm->substream == NULL) in snd_emu10k1x_pcm_interrupt() 359 epcm->substream->ops->pointer(epcm->substream), in snd_emu10k1x_pcm_interrupt() 360 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1x_pcm_interrupt() 361 snd_pcm_lib_buffer_bytes(epcm in snd_emu10k1x_pcm_interrupt() 370 struct emu10k1x_pcm *epcm; snd_emu10k1x_playback_open() local 406 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_hw_params() local 421 struct emu10k1x_pcm *epcm; snd_emu10k1x_pcm_hw_free() local 442 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_prepare() local 472 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_trigger() local 509 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_pointer() local 550 struct emu10k1x_pcm *epcm; snd_emu10k1x_pcm_open_capture() local 587 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_hw_params_capture() local 605 struct emu10k1x_pcm *epcm; snd_emu10k1x_pcm_hw_free_capture() local 640 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_trigger_capture() local 669 struct emu10k1x_pcm *epcm = runtime->private_data; snd_emu10k1x_pcm_pointer_capture() local [all...] |
H A D | voice.c | 25 struct snd_emu10k1_pcm *epcm, struct snd_emu10k1_voice **rvoice) in voice_alloc() 53 voice->epcm = epcm; in voice_alloc() 74 pvoice->epcm = NULL; in voice_free() 78 struct snd_emu10k1_pcm *epcm, struct snd_emu10k1_voice **rvoice) in snd_emu10k1_voice_alloc() 92 result = voice_alloc(emu, type, count, epcm, &rvoice[got]); in snd_emu10k1_voice_alloc() 24 voice_alloc(struct snd_emu10k1 *emu, int type, int number, struct snd_emu10k1_pcm *epcm, struct snd_emu10k1_voice **rvoice) voice_alloc() argument 77 snd_emu10k1_voice_alloc(struct snd_emu10k1 *emu, int type, int count, int channels, struct snd_emu10k1_pcm *epcm, struct snd_emu10k1_voice **rvoice) snd_emu10k1_voice_alloc() argument
|
H A D | emumixer.c | 1514 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_send_routing_put() 1515 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_send_routing_put() 1516 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1518 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number + 1, in snd_emu10k1_send_routing_put() 1521 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1581 if (change && mix->epcm && mix->epcm->voices[0]) { in snd_emu10k1_send_volume_put() 1582 if (!mix->epcm->voices[0]->last) { in snd_emu10k1_send_volume_put() 1583 update_emu10k1_send_volume(emu, mix->epcm in snd_emu10k1_send_volume_put() [all...] |
/kernel/linux/linux-5.10/sound/pci/ca0106/ |
H A D | ca0106_main.c | 552 struct snd_ca0106_pcm *epcm; in snd_ca0106_pcm_open_playback_channel() local 556 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL); in snd_ca0106_pcm_open_playback_channel() 558 if (epcm == NULL) in snd_ca0106_pcm_open_playback_channel() 560 epcm->emu = chip; in snd_ca0106_pcm_open_playback_channel() 561 epcm->substream = substream; in snd_ca0106_pcm_open_playback_channel() 562 epcm->channel_id=channel_id; in snd_ca0106_pcm_open_playback_channel() 564 runtime->private_data = epcm; in snd_ca0106_pcm_open_playback_channel() 578 channel->epcm = epcm; in snd_ca0106_pcm_open_playback_channel() 602 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_close_playback() local 645 struct snd_ca0106_pcm *epcm; snd_ca0106_pcm_open_capture_channel() local 685 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_close_capture() local 716 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_prepare_playback() local 829 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_prepare_capture() local 921 struct snd_ca0106_pcm *epcm; snd_ca0106_pcm_trigger_playback() local 988 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_trigger_capture() local 1016 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_pointer_playback() local 1046 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_pointer_capture() local [all...] |
H A D | ca0106.h | 639 struct snd_ca0106_pcm *epcm; member
|
/kernel/linux/linux-6.6/sound/pci/ca0106/ |
H A D | ca0106_main.c | 551 struct snd_ca0106_pcm *epcm; in snd_ca0106_pcm_open_playback_channel() local 555 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL); in snd_ca0106_pcm_open_playback_channel() 557 if (epcm == NULL) in snd_ca0106_pcm_open_playback_channel() 559 epcm->emu = chip; in snd_ca0106_pcm_open_playback_channel() 560 epcm->substream = substream; in snd_ca0106_pcm_open_playback_channel() 561 epcm->channel_id=channel_id; in snd_ca0106_pcm_open_playback_channel() 563 runtime->private_data = epcm; in snd_ca0106_pcm_open_playback_channel() 577 channel->epcm = epcm; in snd_ca0106_pcm_open_playback_channel() 603 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_close_playback() local 646 struct snd_ca0106_pcm *epcm; snd_ca0106_pcm_open_capture_channel() local 688 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_close_capture() local 719 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_prepare_playback() local 832 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_prepare_capture() local 924 struct snd_ca0106_pcm *epcm; snd_ca0106_pcm_trigger_playback() local 991 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_trigger_capture() local 1019 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_pointer_playback() local 1049 struct snd_ca0106_pcm *epcm = runtime->private_data; snd_ca0106_pcm_pointer_capture() local [all...] |
H A D | ca0106.h | 639 struct snd_ca0106_pcm *epcm; member
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | emu10k1.h | 1483 struct snd_emu10k1_pcm *epcm; member 1525 struct snd_emu10k1_pcm *epcm; member 1891 struct snd_emu10k1_pcm *epcm, struct snd_emu10k1_voice **rvoice);
|
/kernel/linux/linux-5.10/include/sound/ |
H A D | emu10k1.h | 1497 struct snd_emu10k1_pcm *epcm; member 1535 struct snd_emu10k1_pcm *epcm; member
|