Searched refs:epcm (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/sound/pci/emu10k1/ |
D | emupcm.c | 26 struct snd_emu10k1_pcm *epcm; in snd_emu10k1_pcm_interrupt() local 28 epcm = voice->epcm; in snd_emu10k1_pcm_interrupt() 29 if (!epcm) in snd_emu10k1_pcm_interrupt() 31 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt() 36 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt() 37 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt() 38 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt() 40 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1_pcm_interrupt() 83 struct snd_emu10k1_pcm *epcm = runtime->private_data; in snd_emu10k1_efx_playback_pointer() local 86 if (!epcm->running) in snd_emu10k1_efx_playback_pointer() [all …]
|
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->substream)); in snd_emu10k1x_pcm_interrupt() 363 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1x_pcm_interrupt() 370 struct emu10k1x_pcm *epcm; in snd_emu10k1x_playback_open() local [all …]
|
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() 171 if (epcm == NULL) in snd_p16v_pcm_open_playback_channel() 173 epcm->emu = emu; in snd_p16v_pcm_open_playback_channel() 174 epcm->substream = substream; in snd_p16v_pcm_open_playback_channel() 179 runtime->private_data = epcm; in snd_p16v_pcm_open_playback_channel() 196 channel->epcm = epcm; in snd_p16v_pcm_open_playback_channel() 213 struct snd_emu10k1_pcm *epcm; in snd_p16v_pcm_open_capture_channel() local [all …]
|
D | emumixer.c | 1268 if (change && mix->epcm) { in snd_emu10k1_send_routing_put() 1269 if (mix->epcm->voices[0] && mix->epcm->voices[1]) { in snd_emu10k1_send_routing_put() 1270 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1272 update_emu10k1_fxrt(emu, mix->epcm->voices[1]->number, in snd_emu10k1_send_routing_put() 1274 } else if (mix->epcm->voices[0]) { in snd_emu10k1_send_routing_put() 1275 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1339 if (change && mix->epcm) { in snd_emu10k1_send_volume_put() 1340 if (mix->epcm->voices[0] && mix->epcm->voices[1]) { in snd_emu10k1_send_volume_put() 1341 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_volume_put() 1343 update_emu10k1_send_volume(emu, mix->epcm->voices[1]->number, in snd_emu10k1_send_volume_put() [all …]
|
D | voice.c | 125 pvoice->epcm = NULL; in snd_emu10k1_voice_alloc() 148 pvoice->epcm = NULL; in snd_emu10k1_voice_free()
|
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()
|
/linux-6.1.9/sound/pci/ca0106/ |
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; in snd_ca0106_pcm_close_playback() local 604 chip->playback_channels[epcm->channel_id].use = 0; in snd_ca0106_pcm_close_playback() [all …]
|
D | ca0106.h | 639 struct snd_ca0106_pcm *epcm; member
|
/linux-6.1.9/include/sound/ |
D | emu10k1.h | 1497 struct snd_emu10k1_pcm *epcm; member 1535 struct snd_emu10k1_pcm *epcm; member
|