Searched refs:epcm (Results 1 – 9 of 9) sorted by relevance
/linux-4.1.27/sound/pci/emu10k1/ |
D | emupcm.c | 40 struct snd_emu10k1_pcm *epcm; in snd_emu10k1_pcm_interrupt() local 42 if ((epcm = voice->epcm) == NULL) in snd_emu10k1_pcm_interrupt() 44 if (epcm->substream == NULL) in snd_emu10k1_pcm_interrupt() 49 epcm->substream->runtime->hw->pointer(emu, epcm->substream), in snd_emu10k1_pcm_interrupt() 50 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1_pcm_interrupt() 51 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1_pcm_interrupt() 53 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1_pcm_interrupt() 96 struct snd_emu10k1_pcm *epcm = runtime->private_data; in snd_emu10k1_efx_playback_pointer() local 99 if (!epcm->running) in snd_emu10k1_efx_playback_pointer() 101 ptr = snd_emu10k1_ptr_read(emu, CCCA, epcm->voices[0]->number) & 0x00ffffff; in snd_emu10k1_efx_playback_pointer() [all …]
|
D | emu10k1x.c | 203 struct emu10k1x_pcm *epcm; member 365 struct emu10k1x_pcm *epcm; in snd_emu10k1x_pcm_interrupt() local 367 if ((epcm = voice->epcm) == NULL) in snd_emu10k1x_pcm_interrupt() 369 if (epcm->substream == NULL) in snd_emu10k1x_pcm_interrupt() 374 epcm->substream->ops->pointer(epcm->substream), in snd_emu10k1x_pcm_interrupt() 375 snd_pcm_lib_period_bytes(epcm->substream), in snd_emu10k1x_pcm_interrupt() 376 snd_pcm_lib_buffer_bytes(epcm->substream)); in snd_emu10k1x_pcm_interrupt() 378 snd_pcm_period_elapsed(epcm->substream); in snd_emu10k1x_pcm_interrupt() 385 struct emu10k1x_pcm *epcm; in snd_emu10k1x_playback_open() local 395 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL); in snd_emu10k1x_playback_open() [all …]
|
D | p16v.c | 168 struct snd_emu10k1_pcm *epcm = runtime->private_data; in snd_p16v_pcm_free_substream() local 170 kfree(epcm); in snd_p16v_pcm_free_substream() 178 struct snd_emu10k1_pcm *epcm; in snd_p16v_pcm_open_playback_channel() local 182 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL); in snd_p16v_pcm_open_playback_channel() 185 if (epcm == NULL) in snd_p16v_pcm_open_playback_channel() 187 epcm->emu = emu; in snd_p16v_pcm_open_playback_channel() 188 epcm->substream = substream; in snd_p16v_pcm_open_playback_channel() 193 runtime->private_data = epcm; in snd_p16v_pcm_open_playback_channel() 210 channel->epcm = epcm; in snd_p16v_pcm_open_playback_channel() 226 struct snd_emu10k1_pcm *epcm; in snd_p16v_pcm_open_capture_channel() local [all …]
|
D | emumixer.c | 1281 if (change && mix->epcm) { in snd_emu10k1_send_routing_put() 1282 if (mix->epcm->voices[0] && mix->epcm->voices[1]) { in snd_emu10k1_send_routing_put() 1283 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1285 update_emu10k1_fxrt(emu, mix->epcm->voices[1]->number, in snd_emu10k1_send_routing_put() 1287 } else if (mix->epcm->voices[0]) { in snd_emu10k1_send_routing_put() 1288 update_emu10k1_fxrt(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_routing_put() 1352 if (change && mix->epcm) { in snd_emu10k1_send_volume_put() 1353 if (mix->epcm->voices[0] && mix->epcm->voices[1]) { in snd_emu10k1_send_volume_put() 1354 update_emu10k1_send_volume(emu, mix->epcm->voices[0]->number, in snd_emu10k1_send_volume_put() 1356 update_emu10k1_send_volume(emu, mix->epcm->voices[1]->number, in snd_emu10k1_send_volume_put() [all …]
|
D | voice.c | 139 pvoice->epcm = NULL; in snd_emu10k1_voice_alloc() 162 pvoice->epcm = NULL; in snd_emu10k1_voice_free()
|
D | irq.c | 165 snd_pcm_period_elapsed(pvoice->epcm->substream); in snd_emu10k1_interrupt() 177 snd_pcm_period_elapsed(cvoice->epcm->substream); in snd_emu10k1_interrupt()
|
/linux-4.1.27/sound/pci/ca0106/ |
D | ca0106_main.c | 565 struct snd_ca0106_pcm *epcm; in snd_ca0106_pcm_open_playback_channel() local 569 epcm = kzalloc(sizeof(*epcm), GFP_KERNEL); in snd_ca0106_pcm_open_playback_channel() 571 if (epcm == NULL) in snd_ca0106_pcm_open_playback_channel() 573 epcm->emu = chip; in snd_ca0106_pcm_open_playback_channel() 574 epcm->substream = substream; in snd_ca0106_pcm_open_playback_channel() 575 epcm->channel_id=channel_id; in snd_ca0106_pcm_open_playback_channel() 577 runtime->private_data = epcm; in snd_ca0106_pcm_open_playback_channel() 591 channel->epcm = epcm; in snd_ca0106_pcm_open_playback_channel() 615 struct snd_ca0106_pcm *epcm = runtime->private_data; in snd_ca0106_pcm_close_playback() local 616 chip->playback_channels[epcm->channel_id].use = 0; in snd_ca0106_pcm_close_playback() [all …]
|
D | ca0106.h | 654 struct snd_ca0106_pcm *epcm; member
|
/linux-4.1.27/include/sound/ |
D | emu10k1.h | 1512 struct snd_emu10k1_pcm *epcm; member 1550 struct snd_emu10k1_pcm *epcm; member
|