Searched refs:epcm (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.10/sound/pci/emu10k1/ |
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 = runtime->private_data; in snd_emu10k1_efx_playback_pointer() local 85 if (!epcm->running) in snd_emu10k1_efx_playback_pointer() 87 ptr = snd_emu10k1_ptr_read(emu, CCCA, epcm->voices[0]->number) & 0x00ffffff; in snd_emu10k1_efx_playback_pointer() [all …]
|
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->substream); in snd_emu10k1x_pcm_interrupt() 371 struct emu10k1x_pcm *epcm; in snd_emu10k1x_playback_open() local 381 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL); in snd_emu10k1x_playback_open() [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() 212 struct snd_emu10k1_pcm *epcm; in snd_p16v_pcm_open_capture_channel() local [all …]
|
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->voices[1]) { in snd_emu10k1_send_volume_put() 1340 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_volume_put() 1342 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-v5.10/sound/pci/ca0106/ |
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; in snd_ca0106_pcm_close_playback() local 603 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-v5.10/include/sound/ |
D | emu10k1.h | 1497 struct snd_emu10k1_pcm *epcm; member 1535 struct snd_emu10k1_pcm *epcm; member
|